B
bxbxb3
Guest
Hi,
I have a doubt whether the following coding style is a good one or not.
process(clock)
begin
if(clock'event and clock='1') then
case state is
when START_RD=>
when NEXT1=>
when FINAL=>
o_Frame_SaComapact1_Rt <= i_myMacAddress;
end case;
end if;
end process;
Two of the case statements have nothing to do in that state. Will this
infer a latch? Is it better to use a "if" statement instead?
Thanks in advance.
I have a doubt whether the following coding style is a good one or not.
process(clock)
begin
if(clock'event and clock='1') then
case state is
when START_RD=>
when NEXT1=>
when FINAL=>
o_Frame_SaComapact1_Rt <= i_myMacAddress;
end case;
end if;
end process;
Two of the case statements have nothing to do in that state. Will this
infer a latch? Is it better to use a "if" statement instead?
Thanks in advance.