otsdaq_prepmodernization  v2_05_02_indev
fadc_mem_xmdf.tcl
1 # The package naming convention is <core_name>_xmdf
2 package provide fadc_mem_xmdf 1.0
3 
4 # This includes some utilities that support common XMDF operations
5 package require utilities_xmdf
6 
7 # Define a namespace for this package. The name of the name space
8 # is <core_name>_xmdf
9 namespace eval ::fadc_mem_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.
16 proc ::fadc_mem_xmdf::xmdfInit { instance } {
17 # Variable containing name of library into which module is compiled
18 # Recommendation: <module_name>
19 # Required
20 utilities_xmdf::xmdfSetData $instance Module Attributes Name fadc_mem
21 }
22 # ::fadc_mem_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
26 proc ::fadc_mem_xmdf::xmdfApplyParams { instance } {
27 
28 set 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 available to the simulation and synthesis tool
34 utilities_xmdf::xmdfSetData $instance FileSet $fcount type logical_library
35 utilities_xmdf::xmdfSetData $instance FileSet $fcount logical_library unisim
36 incr fcount
37 
38 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blk_mem_gen_ds512.pdf
39 utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
40 incr fcount
41 
42 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blk_mem_gen_v6_2_readme.txt
43 utilities_xmdf::xmdfSetData $instance FileSet $fcount type text
44 incr fcount
45 
46 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem.ngc
47 utilities_xmdf::xmdfSetData $instance FileSet $fcount type ngc
48 incr fcount
49 
50 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem.vhd
51 utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl
52 incr fcount
53 
54 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem.vho
55 utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl_template
56 incr fcount
57 
58 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem.xco
59 utilities_xmdf::xmdfSetData $instance FileSet $fcount type coregen_ip
60 incr fcount
61 
62 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/example_design/bmg_wrapper.vhd
63 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
64 incr fcount
65 
66 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/example_design/fadc_mem_top.ucf
67 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
68 incr fcount
69 
70 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/example_design/fadc_mem_top.vhd
71 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
72 incr fcount
73 
74 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/example_design/fadc_mem_top.xdc
75 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
76 incr fcount
77 
78 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/implement/implement.sh
79 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
80 incr fcount
81 
82 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/implement/planAhead_rdn.bat
83 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
84 incr fcount
85 
86 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/implement/planAhead_rdn.sh
87 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
88 incr fcount
89 
90 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/implement/planAhead_rdn.tcl
91 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
92 incr fcount
93 
94 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/implement/xst.prj
95 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
96 incr fcount
97 
98 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_ste/implement/xst.scr
99 utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
100 incr fcount
101 
102 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path fadc_mem_xmdf.tcl
103 utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
104 incr fcount
105 
106 utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path summary.log
107 utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
108 incr fcount
109 
110 utilities_xmdf::xmdfSetData $instance FileSet $fcount associated_module fadc_mem
111 incr fcount
112 
113 }
114 
115 # ::gen_comp_name_xmdf::xmdfApplyParams