N
none
Guest
I have 2 arrays declared in my code :
type Array6Deep96Bit is array (6 downto 1) of std_logic_vector (95
downto 0) ;
type Array16Deep96Bit is array (16 downto 1) of std_logic_vector (95
downto 0) ;
In an instantiation of a block of code, I'd like to port the first 6
array words into the block:
port map (
BackplaneSerialDataIn => DataFromPackToMux(6 downto 1),
where BackplaneSerialDataIn is of type Array6Deep96Bit and
DataFromPackToMux is of type Array16Deep96Bit.
I'm using Aldec Active-HDL and it gives me an error stating "Actual
parameter type in port map does not match the port formal type
"BackplaneSerialDataIn"
I've tried different permutations of the instantiation such as
explicitly referencing the array index, but I either get the previous
error message or on that says "No actual specified for local port
"BackplaneSerialDataIn"
Any ideas on how to write this without having to expand out the array to
it's individual elements?
Thanks
Ron
type Array6Deep96Bit is array (6 downto 1) of std_logic_vector (95
downto 0) ;
type Array16Deep96Bit is array (16 downto 1) of std_logic_vector (95
downto 0) ;
In an instantiation of a block of code, I'd like to port the first 6
array words into the block:
port map (
BackplaneSerialDataIn => DataFromPackToMux(6 downto 1),
where BackplaneSerialDataIn is of type Array6Deep96Bit and
DataFromPackToMux is of type Array16Deep96Bit.
I'm using Aldec Active-HDL and it gives me an error stating "Actual
parameter type in port map does not match the port formal type
"BackplaneSerialDataIn"
I've tried different permutations of the instantiation such as
explicitly referencing the array index, but I either get the previous
error message or on that says "No actual specified for local port
"BackplaneSerialDataIn"
Any ideas on how to write this without having to expand out the array to
it's individual elements?
Thanks
Ron