Ngised
Newbie level 6
I have a matrix with rows and columns of XOR, n x m. In the first output I want to assign the output with a signal to the first row.
How I am going to do that?
How I am going to do that?
Code:
type matrix is array(0 to n-1) of std_logic_vector(m - 1 downto 0);
signal out_vec : matrix;
begin
for i in 0 to n-1 generate
XI:xor_gate
port map ( x => op_x(i),
y => op_y(i),
output => out_vec(0) -- it doesn't work
);
end generate;
end architecture ;
Last edited: