VHDL Component Declaration
The following VHDL component declaration is located in the VHDL Design File (.vhd) Definition ALTERA_PRIMITIVES_COMPONENTS.VHDin the<Intel® Quartus® Prime installation directory>\libraries\vhdl\altera directory.
COMPONENT LATCH PORT (d : IN STD_LOGIC; ena : IN STD_LOGIC; q : OUT STD_LOGIC); END COMPONENT;