hithesh123
Full Member level 6
Let's say you have a simple case statement -
This will be infered as a Mux when synthesised.
But what if I do this case statement under the rising edge of a clock.
If (rising_edge) then
Case ...
..
What would the infered logic be?
Code:
case SEL is
when "00" => output1 <= "0010";
when "01" => output1 <= "0011";
when "10" => output1 <= "0101";
when "11" => output1 <= "0110";
when others => output1 <= "0111";
end case;
This will be infered as a Mux when synthesised.
But what if I do this case statement under the rising edge of a clock.
If (rising_edge) then
Case ...
..
What would the infered logic be?