OpenCores
URL https://opencores.org/ocsvn/vtach/vtach/trunk

Subversion Repositories vtach

[/] [vtach/] [trunk/] [_ngo/] [cs_ila_pro_0/] [ila_pro_0_xmdf.tcl] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 wd5gnr
# The package naming convention is <core_name>_xmdf
2
package provide ila_pro_0_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 ::ila_pro_0_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 ::ila_pro_0_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 ila_pro_0
21
}
22
# ::ila_pro_0_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 ::ila_pro_0_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 ila_pro_0.cdc
39
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
40
incr fcount
41
 
42
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path ila_pro_0.ngc
43
utilities_xmdf::xmdfSetData $instance FileSet $fcount type ngc
44
incr fcount
45
 
46
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path ila_pro_0.vhd
47
utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl
48
incr fcount
49
 
50
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path ila_pro_0.vho
51
utilities_xmdf::xmdfSetData $instance FileSet $fcount type vhdl_template
52
incr fcount
53
 
54
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path ila_pro_0.xco
55
utilities_xmdf::xmdfSetData $instance FileSet $fcount type coregen_ip
56
incr fcount
57
 
58
utilities_xmdf::xmdfSetData $instance FileSet $fcount relative_path ila_pro_0_xmdf.tcl
59
utilities_xmdf::xmdfSetData $instance FileSet $fcount type AnyView
60
incr fcount
61
 
62
utilities_xmdf::xmdfSetData $instance FileSet $fcount associated_module ila_pro_0
63
incr fcount
64
 
65
}
66
 
67
# ::gen_comp_name_xmdf::xmdfApplyParams

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.