Describing a Clock Enable After the Wait Statement Example (VHDL) - Describing a Clock Enable After the Wait Statement Example (VHDL) - 2022.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2022-11-16
Version
2022.2 English

You can describe the clock enable separately, as follows:

process begin

wait until rising_edge(clk);

if clken = '1' then

q <= d;

end if;

end process;