EDA_hg81
Advanced Member level 2
I have two circuit expression of signal mux : the first one is a combination circuit and the second one is a sequential circuit.
Which expression is more effective?
Can the sequential circuit miss the transition period of signals?
Thanks.
Which expression is more effective?
Can the sequential circuit miss the transition period of signals?
Code:
invertvsync <= not(sysvsync) when inversevs = '1' else sysvsync;
Code:
process ( refclk )
begin
if (rising_edge(refclk)) then
if (inversevs = ‘1’ ) then
invertvsync <= not(sysvsync);
else
invertvsync <= sysvsync;
end if;
end if;
end process;
Thanks.