1 |
24 |
nussgipfel |
# The package naming convention is <core_name>_xmdf
|
2 |
|
|
package provide coregenerator_fifo_receive_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 ::coregenerator_fifo_receive_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 ::coregenerator_fifo_receive_xmdf::xmdfInit { instance } {
|
17 |
|
|
# Variable containg name of library into which module is compiled
|
18 |
|
|
# Recommendation: <module_name>
|
19 |
|
|
# Required
|
20 |
|
|
utilities_xmdf::xmdfSetData $instance Module Attributes Name coregenerator_fifo_receive
|
21 |
|
|
}
|
22 |
|
|
# ::coregenerator_fifo_receive_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 ::coregenerator_fifo_receive_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 magically
|
34 |
|
|
# available to the simulation and synthesis tool
|
35 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type logical_library
|
36 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount logical_library unisim
|
37 |
|
|
incr fcount
|
38 |
|
|
|
39 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.asy
|
40 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type asy
|
41 |
|
|
incr fcount
|
42 |
|
|
|
43 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.ndf
|
44 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
|
45 |
|
|
incr fcount
|
46 |
|
|
|
47 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.ngc
|
48 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type ngc
|
49 |
|
|
incr fcount
|
50 |
|
|
|
51 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.sym
|
52 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type symbol
|
53 |
|
|
incr fcount
|
54 |
|
|
|
55 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.v
|
56 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type verilog
|
57 |
|
|
incr fcount
|
58 |
|
|
|
59 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.veo
|
60 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type verilog_template
|
61 |
|
|
incr fcount
|
62 |
|
|
|
63 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.vhd
|
64 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl
|
65 |
|
|
incr fcount
|
66 |
|
|
|
67 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.vho
|
68 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl_template
|
69 |
|
|
incr fcount
|
70 |
|
|
|
71 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive.xco
|
72 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type coregen_ip
|
73 |
|
|
incr fcount
|
74 |
|
|
|
75 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive_padded.ngc
|
76 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type ngc
|
77 |
|
|
incr fcount
|
78 |
|
|
|
79 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path coregenerator_fifo_receive_xmdf.tcl
|
80 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
|
81 |
|
|
incr fcount
|
82 |
|
|
|
83 |
|
|
utilities_xmdf::xmdfSetData $instance FileSet $fcount associated_module coregenerator_fifo_receive
|
84 |
|
|
incr fcount
|
85 |
|
|
|
86 |
|
|
}
|
87 |
|
|
|
88 |
|
|
# ::gen_comp_name_xmdf::xmdfApplyParams
|