1 |
178 |
jguarin200 |
# TCL File Generated by Component Editor 11.0
|
2 |
232 |
jguarin200 |
# Thu Aug 30 11:19:35 COT 2012
|
3 |
178 |
jguarin200 |
# DO NOT MODIFY
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
# +-----------------------------------
|
7 |
|
|
# |
|
8 |
218 |
jguarin200 |
# | raytrac "raytrac" v1.0
|
9 |
232 |
jguarin200 |
# | null 2012.08.30.11:19:35
|
10 |
178 |
jguarin200 |
# |
|
11 |
|
|
# |
|
12 |
232 |
jguarin200 |
# | J:/code/hworkspace/raytrac/fp_sgdma/raytrac.vhd
|
13 |
178 |
jguarin200 |
# |
|
14 |
218 |
jguarin200 |
# | ./raytrac.vhd syn
|
15 |
221 |
jguarin200 |
# | ./arithpack.vhd syn
|
16 |
178 |
jguarin200 |
# |
|
17 |
|
|
# +-----------------------------------
|
18 |
|
|
|
19 |
|
|
# +-----------------------------------
|
20 |
|
|
# | request TCL package from ACDS 11.0
|
21 |
|
|
# |
|
22 |
|
|
package require -exact sopc 11.0
|
23 |
|
|
# |
|
24 |
|
|
# +-----------------------------------
|
25 |
|
|
|
26 |
|
|
# +-----------------------------------
|
27 |
218 |
jguarin200 |
# | module raytrac
|
28 |
178 |
jguarin200 |
# |
|
29 |
218 |
jguarin200 |
set_module_property NAME raytrac
|
30 |
178 |
jguarin200 |
set_module_property VERSION 1.0
|
31 |
|
|
set_module_property INTERNAL false
|
32 |
|
|
set_module_property OPAQUE_ADDRESS_MAP true
|
33 |
218 |
jguarin200 |
set_module_property DISPLAY_NAME raytrac
|
34 |
178 |
jguarin200 |
set_module_property TOP_LEVEL_HDL_FILE raytrac.vhd
|
35 |
|
|
set_module_property TOP_LEVEL_HDL_MODULE raytrac
|
36 |
|
|
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
|
37 |
|
|
set_module_property EDITABLE true
|
38 |
|
|
set_module_property ANALYZE_HDL TRUE
|
39 |
|
|
set_module_property STATIC_TOP_LEVEL_MODULE_NAME ""
|
40 |
|
|
set_module_property FIX_110_VIP_PATH false
|
41 |
|
|
# |
|
42 |
|
|
# +-----------------------------------
|
43 |
|
|
|
44 |
|
|
# +-----------------------------------
|
45 |
|
|
# | files
|
46 |
|
|
# |
|
47 |
218 |
jguarin200 |
add_file raytrac.vhd SYNTHESIS
|
48 |
221 |
jguarin200 |
add_file arithpack.vhd SYNTHESIS
|
49 |
178 |
jguarin200 |
# |
|
50 |
|
|
# +-----------------------------------
|
51 |
|
|
|
52 |
|
|
# +-----------------------------------
|
53 |
|
|
# | parameters
|
54 |
|
|
# |
|
55 |
218 |
jguarin200 |
add_parameter wd INTEGER 32
|
56 |
|
|
set_parameter_property wd DEFAULT_VALUE 32
|
57 |
|
|
set_parameter_property wd DISPLAY_NAME wd
|
58 |
|
|
set_parameter_property wd TYPE INTEGER
|
59 |
|
|
set_parameter_property wd UNITS None
|
60 |
|
|
set_parameter_property wd AFFECTS_GENERATION false
|
61 |
|
|
set_parameter_property wd HDL_PARAMETER true
|
62 |
|
|
add_parameter fd INTEGER 8
|
63 |
|
|
set_parameter_property fd DEFAULT_VALUE 8
|
64 |
|
|
set_parameter_property fd DISPLAY_NAME fd
|
65 |
|
|
set_parameter_property fd TYPE INTEGER
|
66 |
|
|
set_parameter_property fd UNITS None
|
67 |
|
|
set_parameter_property fd AFFECTS_GENERATION false
|
68 |
|
|
set_parameter_property fd HDL_PARAMETER true
|
69 |
232 |
jguarin200 |
add_parameter mb INTEGER 4
|
70 |
|
|
set_parameter_property mb DEFAULT_VALUE 4
|
71 |
218 |
jguarin200 |
set_parameter_property mb DISPLAY_NAME mb
|
72 |
|
|
set_parameter_property mb TYPE INTEGER
|
73 |
|
|
set_parameter_property mb UNITS None
|
74 |
|
|
set_parameter_property mb AFFECTS_GENERATION false
|
75 |
|
|
set_parameter_property mb HDL_PARAMETER true
|
76 |
178 |
jguarin200 |
# |
|
77 |
|
|
# +-----------------------------------
|
78 |
|
|
|
79 |
|
|
# +-----------------------------------
|
80 |
|
|
# | display items
|
81 |
|
|
# |
|
82 |
|
|
# |
|
83 |
|
|
# +-----------------------------------
|
84 |
|
|
|
85 |
|
|
# +-----------------------------------
|
86 |
232 |
jguarin200 |
# | connection point clock
|
87 |
178 |
jguarin200 |
# |
|
88 |
232 |
jguarin200 |
add_interface clock clock end
|
89 |
|
|
set_interface_property clock clockRate 0
|
90 |
178 |
jguarin200 |
|
91 |
232 |
jguarin200 |
set_interface_property clock ENABLED true
|
92 |
178 |
jguarin200 |
|
93 |
232 |
jguarin200 |
add_interface_port clock clk clk Input 1
|
94 |
178 |
jguarin200 |
# |
|
95 |
|
|
# +-----------------------------------
|
96 |
|
|
|
97 |
|
|
# +-----------------------------------
|
98 |
218 |
jguarin200 |
# | connection point rtSlave
|
99 |
178 |
jguarin200 |
# |
|
100 |
218 |
jguarin200 |
add_interface rtSlave avalon end
|
101 |
|
|
set_interface_property rtSlave addressAlignment DYNAMIC
|
102 |
|
|
set_interface_property rtSlave addressUnits WORDS
|
103 |
232 |
jguarin200 |
set_interface_property rtSlave associatedClock clock
|
104 |
|
|
set_interface_property rtSlave associatedReset reset_sink
|
105 |
218 |
jguarin200 |
set_interface_property rtSlave burstOnBurstBoundariesOnly false
|
106 |
|
|
set_interface_property rtSlave explicitAddressSpan 0
|
107 |
|
|
set_interface_property rtSlave holdTime 0
|
108 |
|
|
set_interface_property rtSlave isMemoryDevice false
|
109 |
|
|
set_interface_property rtSlave isNonVolatileStorage false
|
110 |
|
|
set_interface_property rtSlave linewrapBursts false
|
111 |
|
|
set_interface_property rtSlave maximumPendingReadTransactions 0
|
112 |
|
|
set_interface_property rtSlave printableDevice false
|
113 |
|
|
set_interface_property rtSlave readLatency 2
|
114 |
|
|
set_interface_property rtSlave readWaitStates 0
|
115 |
|
|
set_interface_property rtSlave readWaitTime 0
|
116 |
|
|
set_interface_property rtSlave setupTime 0
|
117 |
|
|
set_interface_property rtSlave timingUnits Cycles
|
118 |
|
|
set_interface_property rtSlave writeWaitTime 0
|
119 |
178 |
jguarin200 |
|
120 |
218 |
jguarin200 |
set_interface_property rtSlave ENABLED true
|
121 |
178 |
jguarin200 |
|
122 |
218 |
jguarin200 |
add_interface_port rtSlave slave_address address Input 4
|
123 |
|
|
add_interface_port rtSlave slave_read read Input 1
|
124 |
|
|
add_interface_port rtSlave slave_write write Input 1
|
125 |
|
|
add_interface_port rtSlave slave_readdata readdata Output 32
|
126 |
|
|
add_interface_port rtSlave slave_writedata writedata Input 32
|
127 |
178 |
jguarin200 |
# |
|
128 |
|
|
# +-----------------------------------
|
129 |
|
|
|
130 |
|
|
# +-----------------------------------
|
131 |
218 |
jguarin200 |
# | connection point rtMaster
|
132 |
178 |
jguarin200 |
# |
|
133 |
218 |
jguarin200 |
add_interface rtMaster avalon start
|
134 |
|
|
set_interface_property rtMaster addressUnits SYMBOLS
|
135 |
232 |
jguarin200 |
set_interface_property rtMaster associatedClock clock
|
136 |
|
|
set_interface_property rtMaster associatedReset reset_sink
|
137 |
218 |
jguarin200 |
set_interface_property rtMaster burstOnBurstBoundariesOnly false
|
138 |
|
|
set_interface_property rtMaster doStreamReads false
|
139 |
|
|
set_interface_property rtMaster doStreamWrites false
|
140 |
|
|
set_interface_property rtMaster linewrapBursts false
|
141 |
|
|
set_interface_property rtMaster readLatency 0
|
142 |
178 |
jguarin200 |
|
143 |
218 |
jguarin200 |
set_interface_property rtMaster ENABLED true
|
144 |
178 |
jguarin200 |
|
145 |
232 |
jguarin200 |
add_interface_port rtMaster master_address address Output 32
|
146 |
|
|
add_interface_port rtMaster master_waitrequest waitrequest Input 1
|
147 |
218 |
jguarin200 |
add_interface_port rtMaster master_burstcount burstcount Output 5
|
148 |
|
|
add_interface_port rtMaster master_read read Output 1
|
149 |
|
|
add_interface_port rtMaster master_readdata readdata Input 32
|
150 |
|
|
add_interface_port rtMaster master_readdatavalid readdatavalid Input 1
|
151 |
|
|
add_interface_port rtMaster master_write write Output 1
|
152 |
|
|
add_interface_port rtMaster master_writedata writedata Output 32
|
153 |
178 |
jguarin200 |
# |
|
154 |
|
|
# +-----------------------------------
|
155 |
218 |
jguarin200 |
|
156 |
|
|
# +-----------------------------------
|
157 |
|
|
# | connection point interrupt_sender
|
158 |
|
|
# |
|
159 |
|
|
add_interface interrupt_sender interrupt end
|
160 |
|
|
set_interface_property interrupt_sender associatedAddressablePoint rtSlave
|
161 |
232 |
jguarin200 |
set_interface_property interrupt_sender associatedClock clock
|
162 |
|
|
set_interface_property interrupt_sender associatedReset reset_sink
|
163 |
218 |
jguarin200 |
|
164 |
|
|
set_interface_property interrupt_sender ENABLED true
|
165 |
|
|
|
166 |
|
|
add_interface_port interrupt_sender irq irq Output 1
|
167 |
|
|
# |
|
168 |
|
|
# +-----------------------------------
|
169 |
232 |
jguarin200 |
|
170 |
|
|
# +-----------------------------------
|
171 |
|
|
# | connection point reset_sink
|
172 |
|
|
# |
|
173 |
|
|
add_interface reset_sink reset end
|
174 |
|
|
set_interface_property reset_sink associatedClock clock
|
175 |
|
|
set_interface_property reset_sink synchronousEdges BOTH
|
176 |
|
|
|
177 |
|
|
set_interface_property reset_sink ENABLED true
|
178 |
|
|
|
179 |
|
|
add_interface_port reset_sink rst reset_n Input 1
|
180 |
|
|
# |
|
181 |
|
|
# +-----------------------------------
|