Hi,
I am trying to write a conditional concurrent port map without success. Here it is.
What´s is wrong?
Regards
Jaraqui
I am trying to write a conditional concurrent port map without success. Here it is.
Code:
map_gen: for i in 0 to N-1 generate
map_0: entity work.my_tff(arch) port map('1', '1', clk, s_q_out(0), s_en_out(0)) when i=0 else
map_g: entity work.my_tff(arch) port map(s_q_out(i-1), s_en_out(i-1), clk, s_q_out(i), s_en_out(i));
end generate;
Regards
Jaraqui