source: FPGA/FTU/ram/FTU_dual_port_ram_xmdf.tcl@ 7825

Last change on this file since 7825 was 273, checked in by qweitzel, 14 years ago
new structure for FTU firmware, not yet finished
File size: 3.2 KB
Line 
1# The package naming convention is <core_name>_xmdf
2package provide FTU_dual_port_ram_xmdf 1.0
3
4# This includes some utilities that support common XMDF operations
5package require utilities_xmdf
6
7# Define a namespace for this package. The name of the name space
8# is <core_name>_xmdf
9namespace eval ::FTU_dual_port_ram_xmdf {
10# Use this to define any statics
11}
12
13# Function called by client to rebuild the params and port arrays
14# Optional when the use context does not require the param or ports
15# arrays to be available.
16proc ::FTU_dual_port_ram_xmdf::xmdfInit { instance } {
17# Variable containg name of library into which module is compiled
18# Recommendation: <module_name>
19# Required
20utilities_xmdf::xmdfSetData $instance Module Attributes Name FTU_dual_port_ram
21}
22# ::FTU_dual_port_ram_xmdf::xmdfInit
23
24# Function called by client to fill in all the xmdf* data variables
25# based on the current settings of the parameters
26proc ::FTU_dual_port_ram_xmdf::xmdfApplyParams { instance } {
27
28set fcount 0
29# Array containing libraries that are assumed to exist
30# Examples include unisim and xilinxcorelib
31# Optional
32# In this example, we assume that the unisim library will
33# be magically
34# available to the simulation and synthesis tool
35utilities_xmdf::xmdfSetData $instance FileSet $fcount type logical_library
36utilities_xmdf::xmdfSetData $instance FileSet $fcount logical_library unisim
37incr fcount
38
39utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.asy
40utilities_xmdf::xmdfSetData $instance FileSet $fcount type asy
41incr fcount
42
43utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.ngc
44utilities_xmdf::xmdfSetData $instance FileSet $fcount type ngc
45incr fcount
46
47utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.sym
48utilities_xmdf::xmdfSetData $instance FileSet $fcount type symbol
49incr fcount
50
51utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.v
52utilities_xmdf::xmdfSetData $instance FileSet $fcount type verilog
53incr fcount
54
55utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.veo
56utilities_xmdf::xmdfSetData $instance FileSet $fcount type verilog_template
57incr fcount
58
59utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.vhd
60utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl
61incr fcount
62
63utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.vho
64utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl_template
65incr fcount
66
67utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram.xco
68utilities_xmdf::xmdfSetData $instance FileSet $fcount type coregen_ip
69incr fcount
70
71utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path FTU_dual_port_ram_xmdf.tcl
72utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
73incr fcount
74
75utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blk_mem_gen_ds512.pdf
76utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
77incr fcount
78
79utilities_xmdf::xmdfSetData $instance FileSet $fcount associated_module FTU_dual_port_ram
80incr fcount
81
82}
83
84# ::gen_comp_name_xmdf::xmdfApplyParams
Note: See TracBrowser for help on using the repository browser.