C
Chabrie
Guest
Hello togehter,
in the toplevel design, there is an signal "type array of bytes". The
Signal Declarations is described below:
Type ArrayOfBytes is Array (31 downto 0) of std_logic_vector(7 downto 0);
signal test : ArrayOfBytes ;
Now I want to use the signal "test" in a subprogram.
Is there a possibility to add the array of the the toplevel to the port
describtion of the entity declaration of the subprogram?
Something like that:
entity subrogram is
port ( test: in Array (31 downto 0) of std_logic_vectro (7
downto 0);
end entity subprogram;
Best regards
Carsten
in the toplevel design, there is an signal "type array of bytes". The
Signal Declarations is described below:
Type ArrayOfBytes is Array (31 downto 0) of std_logic_vector(7 downto 0);
signal test : ArrayOfBytes ;
Now I want to use the signal "test" in a subprogram.
Is there a possibility to add the array of the the toplevel to the port
describtion of the entity declaration of the subprogram?
Something like that:
entity subrogram is
port ( test: in Array (31 downto 0) of std_logic_vectro (7
downto 0);
end entity subprogram;
Best regards
Carsten