1 |
14 |
mjlyons |
# The package naming convention is <core_name>_xmdf
|
2 |
|
|
package provide spiloopmem_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 ::spiloopmem_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 ::spiloopmem_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 spiloopmem
|
21 |
|
|
}
|
22 |
|
|
# ::spiloopmem_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 ::spiloopmem_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 spiloopmem.asy
|
47 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type asy
|
48 |
|
|
incr fcount
|
49 |
|
|
|
50 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem.ngc
|
51 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type ngc
|
52 |
|
|
incr fcount
|
53 |
|
|
|
54 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem.v
|
55 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type verilog
|
56 |
|
|
incr fcount
|
57 |
|
|
|
58 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem.veo
|
59 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type verilog_template
|
60 |
|
|
incr fcount
|
61 |
|
|
|
62 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem.xco
|
63 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type coregen_ip
|
64 |
|
|
incr fcount
|
65 |
|
|
|
66 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem_ste/example_design/bmg_wrapper.vhd
|
67 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
68 |
|
|
incr fcount
|
69 |
|
|
|
70 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem_ste/example_design/spiloopmem_top.ucf
|
71 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
72 |
|
|
incr fcount
|
73 |
|
|
|
74 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem_ste/example_design/spiloopmem_top.vhd
|
75 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
76 |
|
|
incr fcount
|
77 |
|
|
|
78 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem_ste/example_design/spiloopmem_top.xdc
|
79 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
80 |
|
|
incr fcount
|
81 |
|
|
|
82 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem_ste/implement/implement.sh
|
83 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type Ignore
|
84 |
|
|
incr fcount
|
85 |
|
|
|
86 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path spiloopmem_ste/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 spiloopmem_ste/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 spiloopmem_ste/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 spiloopmem_ste/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 spiloopmem_ste/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 spiloopmem_xmdf.tcl
|
107 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
|
108 |
|
|
incr fcount
|
109 |
|
|
|
110 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path summary.log
|
111 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
|
112 |
|
|
incr fcount
|
113 |
|
|
|
114 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount associated_module spiloopmem
|
115 |
|
|
incr fcount
|
116 |
|
|
|
117 |
|
|
}
|
118 |
|
|
|
119 |
|
|
# ::gen_comp_name_xmdf::xmdfApplyParams
|