Forum Discussion
Tricky
Occasional Contributor
7 years agoWhile it is not officially supported (I cant find it in any coding guidelines) it has been supported by many tools for many years.
In VHDL, one liners like this actually infer a process sensitive to all signals on the RHS. So
q <= d when rising_edge(clk);
is functionally identical to
process(clk, d) -- D not needed, but it is needed for full equivolence to one liner.
begin
if rising_edge(clk) then
q <= d;
end if;
end process;