1 |
5 |
gajos |
# The package naming convention is <core_name>_xmdf
|
2 |
|
|
package provide blockMemory_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 ::blockMemory_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 ::blockMemory_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 blockMemory
|
21 |
|
|
}
|
22 |
|
|
# ::blockMemory_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 ::blockMemory_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 blockMemory/blk_mem_gen_v7_1_readme.txt
|
39 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
40 |
|
|
incr fcount
|
41 |
|
|
|
42 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/doc/blk_mem_gen_ds512.pdf
|
43 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
44 |
|
|
incr fcount
|
45 |
|
|
|
46 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/doc/blk_mem_gen_v7_1_vinfo.html
|
47 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
48 |
|
|
incr fcount
|
49 |
|
|
|
50 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/example_design/blockMemory_exdes.ucf
|
51 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
52 |
|
|
incr fcount
|
53 |
|
|
|
54 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/example_design/blockMemory_exdes.vhd
|
55 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
56 |
|
|
incr fcount
|
57 |
|
|
|
58 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/example_design/blockMemory_exdes.xdc
|
59 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
60 |
|
|
incr fcount
|
61 |
|
|
|
62 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/example_design/blockMemory_prod.vhd
|
63 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
64 |
|
|
incr fcount
|
65 |
|
|
|
66 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/implement.bat
|
67 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
68 |
|
|
incr fcount
|
69 |
|
|
|
70 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/implement.sh
|
71 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
72 |
|
|
incr fcount
|
73 |
|
|
|
74 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/planAhead_ise.bat
|
75 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
76 |
|
|
incr fcount
|
77 |
|
|
|
78 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/planAhead_ise.sh
|
79 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
80 |
|
|
incr fcount
|
81 |
|
|
|
82 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/planAhead_ise.tcl
|
83 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
84 |
|
|
incr fcount
|
85 |
|
|
|
86 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/planAhead_rdn.bat
|
87 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
88 |
|
|
incr fcount
|
89 |
|
|
|
90 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/planAhead_rdn.sh
|
91 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
92 |
|
|
incr fcount
|
93 |
|
|
|
94 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/planAhead_rdn.tcl
|
95 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
96 |
|
|
incr fcount
|
97 |
|
|
|
98 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/xst.prj
|
99 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
100 |
|
|
incr fcount
|
101 |
|
|
|
102 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/implement/xst.scr
|
103 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
104 |
|
|
incr fcount
|
105 |
|
|
|
106 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/addr_gen.vhd
|
107 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
108 |
|
|
incr fcount
|
109 |
|
|
|
110 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/blockMemory_synth.vhd
|
111 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
112 |
|
|
incr fcount
|
113 |
|
|
|
114 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/blockMemory_tb.vhd
|
115 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
116 |
|
|
incr fcount
|
117 |
|
|
|
118 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/bmg_stim_gen.vhd
|
119 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
120 |
|
|
incr fcount
|
121 |
|
|
|
122 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/bmg_tb_pkg.vhd
|
123 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
124 |
|
|
incr fcount
|
125 |
|
|
|
126 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/checker.vhd
|
127 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
128 |
|
|
incr fcount
|
129 |
|
|
|
130 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/data_gen.vhd
|
131 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
132 |
|
|
incr fcount
|
133 |
|
|
|
134 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/simcmds.tcl
|
135 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
136 |
|
|
incr fcount
|
137 |
|
|
|
138 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/simulate_isim.bat
|
139 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
140 |
|
|
incr fcount
|
141 |
|
|
|
142 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/simulate_mti.bat
|
143 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
144 |
|
|
incr fcount
|
145 |
|
|
|
146 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/simulate_mti.do
|
147 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
148 |
|
|
incr fcount
|
149 |
|
|
|
150 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/simulate_mti.sh
|
151 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
152 |
|
|
incr fcount
|
153 |
|
|
|
154 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/simulate_ncsim.sh
|
155 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
156 |
|
|
incr fcount
|
157 |
|
|
|
158 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/simulate_vcs.sh
|
159 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
160 |
|
|
incr fcount
|
161 |
|
|
|
162 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/ucli_commands.key
|
163 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
164 |
|
|
incr fcount
|
165 |
|
|
|
166 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/vcs_session.tcl
|
167 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
168 |
|
|
incr fcount
|
169 |
|
|
|
170 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/wave_mti.do
|
171 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
172 |
|
|
incr fcount
|
173 |
|
|
|
174 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/functional/wave_ncsim.sv
|
175 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
176 |
|
|
incr fcount
|
177 |
|
|
|
178 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/random.vhd
|
179 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
180 |
|
|
incr fcount
|
181 |
|
|
|
182 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/simcmds.tcl
|
183 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
184 |
|
|
incr fcount
|
185 |
|
|
|
186 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/simulate_isim.bat
|
187 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
188 |
|
|
incr fcount
|
189 |
|
|
|
190 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/simulate_mti.bat
|
191 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
192 |
|
|
incr fcount
|
193 |
|
|
|
194 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/simulate_mti.do
|
195 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
196 |
|
|
incr fcount
|
197 |
|
|
|
198 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/simulate_mti.sh
|
199 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
200 |
|
|
incr fcount
|
201 |
|
|
|
202 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/simulate_ncsim.sh
|
203 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
204 |
|
|
incr fcount
|
205 |
|
|
|
206 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/simulate_vcs.sh
|
207 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
208 |
|
|
incr fcount
|
209 |
|
|
|
210 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/ucli_commands.key
|
211 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
212 |
|
|
incr fcount
|
213 |
|
|
|
214 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/vcs_session.tcl
|
215 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
216 |
|
|
incr fcount
|
217 |
|
|
|
218 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/wave_mti.do
|
219 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
220 |
|
|
incr fcount
|
221 |
|
|
|
222 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory/simulation/timing/wave_ncsim.sv
|
223 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
224 |
|
|
incr fcount
|
225 |
|
|
|
226 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory.asy
|
227 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type asy
|
228 |
|
|
incr fcount
|
229 |
|
|
|
230 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory.ngc
|
231 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type ngc
|
232 |
|
|
incr fcount
|
233 |
|
|
|
234 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory.sym
|
235 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type symbol
|
236 |
|
|
incr fcount
|
237 |
|
|
|
238 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory.vhd
|
239 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl
|
240 |
|
|
incr fcount
|
241 |
|
|
|
242 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory.vho
|
243 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl_template
|
244 |
|
|
incr fcount
|
245 |
|
|
|
246 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory.xco
|
247 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type coregen_ip
|
248 |
|
|
incr fcount
|
249 |
|
|
|
250 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path blockMemory_xmdf.tcl
|
251 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
|
252 |
|
|
incr fcount
|
253 |
|
|
|
254 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path summary.log
|
255 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
|
256 |
|
|
incr fcount
|
257 |
|
|
|
258 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount associated_module blockMemory
|
259 |
|
|
incr fcount
|
260 |
|
|
|
261 |
|
|
}
|
262 |
|
|
|
263 |
|
|
# ::gen_comp_name_xmdf::xmdfApplyParams
|