Altera_Forum
Honored Contributor
12 years agoend of a loop
hi my friends,
this is my code: i want to change the value of "loop_ends" at the end of loopS.but at the end, it never becomes '1' . what should i do ? L1:for s in 0 to NSTAGES-1 generate
L2:for t in 0 to 2**s-1 generate
begin
DUT: entity work.mux
port map (
clk => clk,
data => n(input_index_end downto input_index_start),
input => n(output_index),
output => m(output_index)
);
end generate;
loop_ends<='1' when s=NSTAGES-1 else '0';
end generate;