UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 17024

3.2 EDK - How do I instantiate UniSim primitives in XPS?

Description

Keywords: UniSim, MHS, MPD, primitive, XPS, EDK

Urgency: Standard

General Description:
How do I instantiate UniSim primitives in XPS?

Solution

1

You can create a sub-module MHS with a top-level HDL that instantiates the UniSim components.



2

In a top-level MHS file that instantiates the UniSim components directly in MHS (you will need to create the MPD definition for each of the UniSim primitives), as shown in the following examples:

# Example MHS File
PORT clk_p = clk_p, DIR=IN
PORT clk_n = clk_n, DIR=IN

BEGIN my_ibufgds
PORT I = clk_p
PORT IB = clk_n
PORT O = clk_ibufgout
END

BEGIN my_ibufg
PORT I = clk_ibufgout
PORT O = CLK_int
END


# Example MPD (my_ibufgds)
BEGIN my_ibufgds, IPTYPE=IP, IMP_NETLIST=TRUE
PORT I = "", DIR=IN, IOB_STATE=BUF
PORT IB = "", DIR=IN, IOB_STATE=BUF
PORT O = "", DIR=OUT
END

# Example MPD (my_bufg)
BEGIN my_bufg, IPTYPE=IP, IMP_NETLIST=TRUE
PORT I = "", DIR=IN
PORT O = "", DIR=OUT
END

You must also create an HDL file instantiating the UniSim component.
AR# 17024
Date Created 04/07/2003
Last Updated 04/28/2006
Status Archive
Type General Article