F
FabM
Hello,
I want to do a variable array size port configurable with generic
value. The goal is to have a generic variables port output.
I try this but it doesn't work, Xilinx ISE require type declaration at
the end of entity.
Entity rams_line is
generic
(
p_size : natural := 10; -- size (in bits) of pixel values
matrix_size : natural := 3; -- size of convolution matrix
);
type ltab is array(1 to matrix_size) of std_logic_vector(p_size-1
downto 0);
port
(
-- output/read
line_tab : out ltab
);
end entity;
If you have an idea ?
FabM
I want to do a variable array size port configurable with generic
value. The goal is to have a generic variables port output.
I try this but it doesn't work, Xilinx ISE require type declaration at
the end of entity.
Entity rams_line is
generic
(
p_size : natural := 10; -- size (in bits) of pixel values
matrix_size : natural := 3; -- size of convolution matrix
);
type ltab is array(1 to matrix_size) of std_logic_vector(p_size-1
downto 0);
port
(
-- output/read
line_tab : out ltab
);
end entity;
If you have an idea ?
FabM