Parameterizable Macros for Intel® FPGAs User Guide

ID 772350
Date 7/08/2024
Public
Document Table of Contents

5.1.3. Synchronous Reset Synchronizer VHDL Instantiation Template

Synchronous Reset Synchronizer VHDL Instantiation Template

-- Documentation :
-- https://www.intel.com/content/www/us/en/docs/programmable/772350/
-- Macro Location :
-- $QUARTUS_ROOTDIR/eda/sim_lib/altera_lnsim_components.vhd
-- Add the library and use clauses before the design unit declaration
library altera_lnsim; 
use altera_lnsim.altera_lnsim_components.all; 
-- Instantiating IPM_CDC_SYNC_RST
	<instance_name> : IPM_CDC_SYNC_RST
	generic map (
			RST_TYPE =>                               "ACTIVE_HIGH",
			NUM_STAGES =>                              3
			)
	port map ( 
	 clk =>         _connected_to_clk_,      -- input, width = 1
	 srst_in =>     _connected_to_srst_in_,  -- input, width = 1
     srst_out =>    _connected_to_srst_out_  -- output, width = 1
			);