1 |
178 |
jguarin200 |
# TCL File Generated by Component Editor 11.0
|
2 |
179 |
jguarin200 |
# Sat May 26 10:44:07 COT 2012
|
3 |
178 |
jguarin200 |
# DO NOT MODIFY
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
# +-----------------------------------
|
7 |
|
|
# |
|
8 |
|
|
# | raytrac "raytrac" v1.0
|
9 |
179 |
jguarin200 |
# | null 2012.05.26.10:44:07
|
10 |
178 |
jguarin200 |
# |
|
11 |
|
|
# |
|
12 |
|
|
# | //IMACJULIAN/imac/Code/Indigo/fp/fp/raytrac.vhd
|
13 |
|
|
# |
|
14 |
179 |
jguarin200 |
# | ./arithblock.vhd syn
|
15 |
|
|
# | ./arithpack.vhd syn
|
16 |
|
|
# | ./customCounter.vhd syn
|
17 |
|
|
# | ./dpc.vhd syn
|
18 |
|
|
# | ./fadd32.vhd syn
|
19 |
|
|
# | ./fmul32.vhd syn
|
20 |
|
|
# | ./im.vhd syn
|
21 |
|
|
# | ./invr32.vhd syn
|
22 |
|
|
# | ./memblock.vhd syn
|
23 |
|
|
# | ./meminvr.mif syn
|
24 |
|
|
# | ./memsqrt.mif syn
|
25 |
|
|
# | ./mulblock.vhd syn
|
26 |
178 |
jguarin200 |
# | ./raytrac.vhd syn
|
27 |
179 |
jguarin200 |
# | ./raytrac_hw.tcl
|
28 |
|
|
# | ./sm.vhd syn, sim
|
29 |
|
|
# | ./sqrt32.vhd syn, sim
|
30 |
178 |
jguarin200 |
# |
|
31 |
|
|
# +-----------------------------------
|
32 |
|
|
|
33 |
|
|
# +-----------------------------------
|
34 |
|
|
# | request TCL package from ACDS 11.0
|
35 |
|
|
# |
|
36 |
|
|
package require -exact sopc 11.0
|
37 |
|
|
# |
|
38 |
|
|
# +-----------------------------------
|
39 |
|
|
|
40 |
|
|
# +-----------------------------------
|
41 |
|
|
# | module raytrac
|
42 |
|
|
# |
|
43 |
|
|
set_module_property NAME raytrac
|
44 |
|
|
set_module_property VERSION 1.0
|
45 |
|
|
set_module_property INTERNAL false
|
46 |
|
|
set_module_property OPAQUE_ADDRESS_MAP true
|
47 |
|
|
set_module_property DISPLAY_NAME raytrac
|
48 |
|
|
set_module_property TOP_LEVEL_HDL_FILE raytrac.vhd
|
49 |
|
|
set_module_property TOP_LEVEL_HDL_MODULE raytrac
|
50 |
|
|
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
|
51 |
|
|
set_module_property EDITABLE true
|
52 |
|
|
set_module_property ANALYZE_HDL TRUE
|
53 |
|
|
set_module_property STATIC_TOP_LEVEL_MODULE_NAME ""
|
54 |
|
|
set_module_property FIX_110_VIP_PATH false
|
55 |
|
|
# |
|
56 |
|
|
# +-----------------------------------
|
57 |
|
|
|
58 |
|
|
# +-----------------------------------
|
59 |
|
|
# | files
|
60 |
|
|
# |
|
61 |
179 |
jguarin200 |
add_file arithblock.vhd SYNTHESIS
|
62 |
|
|
add_file arithpack.vhd SYNTHESIS
|
63 |
|
|
add_file customCounter.vhd SYNTHESIS
|
64 |
|
|
add_file dpc.vhd SYNTHESIS
|
65 |
|
|
add_file fadd32.vhd SYNTHESIS
|
66 |
|
|
add_file fmul32.vhd SYNTHESIS
|
67 |
|
|
add_file im.vhd SYNTHESIS
|
68 |
|
|
add_file invr32.vhd SYNTHESIS
|
69 |
|
|
add_file memblock.vhd SYNTHESIS
|
70 |
|
|
add_file meminvr.mif SYNTHESIS
|
71 |
|
|
add_file memsqrt.mif SYNTHESIS
|
72 |
|
|
add_file mulblock.vhd SYNTHESIS
|
73 |
178 |
jguarin200 |
add_file raytrac.vhd SYNTHESIS
|
74 |
179 |
jguarin200 |
add_file raytrac_hw.tcl ""
|
75 |
|
|
add_file sm.vhd {SYNTHESIS SIMULATION}
|
76 |
|
|
add_file sqrt32.vhd {SYNTHESIS SIMULATION}
|
77 |
178 |
jguarin200 |
# |
|
78 |
|
|
# +-----------------------------------
|
79 |
|
|
|
80 |
|
|
# +-----------------------------------
|
81 |
|
|
# | parameters
|
82 |
|
|
# |
|
83 |
|
|
# |
|
84 |
|
|
# +-----------------------------------
|
85 |
|
|
|
86 |
|
|
# +-----------------------------------
|
87 |
|
|
# | display items
|
88 |
|
|
# |
|
89 |
|
|
# |
|
90 |
|
|
# +-----------------------------------
|
91 |
|
|
|
92 |
|
|
# +-----------------------------------
|
93 |
|
|
# | connection point clock
|
94 |
|
|
# |
|
95 |
|
|
add_interface clock clock end
|
96 |
179 |
jguarin200 |
set_interface_property clock clockRate 50000000
|
97 |
178 |
jguarin200 |
|
98 |
|
|
set_interface_property clock ENABLED true
|
99 |
|
|
|
100 |
|
|
add_interface_port clock clk clk Input 1
|
101 |
|
|
# |
|
102 |
|
|
# +-----------------------------------
|
103 |
|
|
|
104 |
|
|
# +-----------------------------------
|
105 |
|
|
# | connection point avalon_slave_0
|
106 |
|
|
# |
|
107 |
|
|
add_interface avalon_slave_0 avalon end
|
108 |
|
|
set_interface_property avalon_slave_0 addressAlignment DYNAMIC
|
109 |
|
|
set_interface_property avalon_slave_0 addressUnits WORDS
|
110 |
|
|
set_interface_property avalon_slave_0 associatedClock clock
|
111 |
179 |
jguarin200 |
set_interface_property avalon_slave_0 associatedReset reset_sink
|
112 |
178 |
jguarin200 |
set_interface_property avalon_slave_0 burstOnBurstBoundariesOnly false
|
113 |
|
|
set_interface_property avalon_slave_0 explicitAddressSpan 0
|
114 |
|
|
set_interface_property avalon_slave_0 holdTime 0
|
115 |
|
|
set_interface_property avalon_slave_0 isMemoryDevice false
|
116 |
|
|
set_interface_property avalon_slave_0 isNonVolatileStorage false
|
117 |
|
|
set_interface_property avalon_slave_0 linewrapBursts false
|
118 |
|
|
set_interface_property avalon_slave_0 maximumPendingReadTransactions 0
|
119 |
|
|
set_interface_property avalon_slave_0 printableDevice false
|
120 |
|
|
set_interface_property avalon_slave_0 readLatency 0
|
121 |
|
|
set_interface_property avalon_slave_0 readWaitTime 1
|
122 |
|
|
set_interface_property avalon_slave_0 setupTime 0
|
123 |
|
|
set_interface_property avalon_slave_0 timingUnits Cycles
|
124 |
|
|
set_interface_property avalon_slave_0 writeWaitTime 0
|
125 |
|
|
|
126 |
|
|
set_interface_property avalon_slave_0 ENABLED true
|
127 |
|
|
|
128 |
|
|
add_interface_port avalon_slave_0 wr write Input 1
|
129 |
179 |
jguarin200 |
add_interface_port avalon_slave_0 add address Input 13
|
130 |
178 |
jguarin200 |
add_interface_port avalon_slave_0 q readdata Output 32
|
131 |
|
|
add_interface_port avalon_slave_0 rd read Input 1
|
132 |
179 |
jguarin200 |
add_interface_port avalon_slave_0 d writedata Input 32
|
133 |
178 |
jguarin200 |
# |
|
134 |
|
|
# +-----------------------------------
|
135 |
|
|
|
136 |
|
|
# +-----------------------------------
|
137 |
|
|
# | connection point reset_sink
|
138 |
|
|
# |
|
139 |
|
|
add_interface reset_sink reset end
|
140 |
|
|
set_interface_property reset_sink associatedClock clock
|
141 |
|
|
set_interface_property reset_sink synchronousEdges DEASSERT
|
142 |
|
|
|
143 |
|
|
set_interface_property reset_sink ENABLED true
|
144 |
|
|
|
145 |
|
|
add_interface_port reset_sink rst reset Input 1
|
146 |
|
|
# |
|
147 |
|
|
# +-----------------------------------
|
148 |
|
|
|
149 |
|
|
# +-----------------------------------
|
150 |
179 |
jguarin200 |
# | connection point is06
|
151 |
178 |
jguarin200 |
# |
|
152 |
179 |
jguarin200 |
add_interface is06 interrupt end
|
153 |
|
|
set_interface_property is06 associatedAddressablePoint avalon_slave_0
|
154 |
|
|
set_interface_property is06 associatedClock clock
|
155 |
|
|
set_interface_property is06 associatedReset reset_sink
|
156 |
178 |
jguarin200 |
|
157 |
179 |
jguarin200 |
set_interface_property is06 ENABLED true
|
158 |
178 |
jguarin200 |
|
159 |
179 |
jguarin200 |
add_interface_port is06 int06 irq Output 1
|
160 |
178 |
jguarin200 |
# |
|
161 |
|
|
# +-----------------------------------
|
162 |
179 |
jguarin200 |
|
163 |
|
|
# +-----------------------------------
|
164 |
|
|
# | connection point is04
|
165 |
|
|
# |
|
166 |
|
|
add_interface is04 interrupt end
|
167 |
|
|
set_interface_property is04 associatedAddressablePoint avalon_slave_0
|
168 |
|
|
set_interface_property is04 associatedClock clock
|
169 |
|
|
set_interface_property is04 associatedReset reset_sink
|
170 |
|
|
|
171 |
|
|
set_interface_property is04 ENABLED true
|
172 |
|
|
|
173 |
|
|
add_interface_port is04 int04 irq Output 1
|
174 |
|
|
# |
|
175 |
|
|
# +-----------------------------------
|
176 |
|
|
|
177 |
|
|
# +-----------------------------------
|
178 |
|
|
# | connection point is03
|
179 |
|
|
# |
|
180 |
|
|
add_interface is03 interrupt end
|
181 |
|
|
set_interface_property is03 associatedAddressablePoint avalon_slave_0
|
182 |
|
|
set_interface_property is03 associatedClock clock
|
183 |
|
|
set_interface_property is03 associatedReset reset_sink
|
184 |
|
|
|
185 |
|
|
set_interface_property is03 ENABLED true
|
186 |
|
|
|
187 |
|
|
add_interface_port is03 int03 irq Output 1
|
188 |
|
|
# |
|
189 |
|
|
# +-----------------------------------
|
190 |
|
|
|
191 |
|
|
# +-----------------------------------
|
192 |
|
|
# | connection point is02
|
193 |
|
|
# |
|
194 |
|
|
add_interface is02 interrupt end
|
195 |
|
|
set_interface_property is02 associatedAddressablePoint avalon_slave_0
|
196 |
|
|
set_interface_property is02 associatedClock clock
|
197 |
|
|
set_interface_property is02 associatedReset reset_sink
|
198 |
|
|
|
199 |
|
|
set_interface_property is02 ENABLED true
|
200 |
|
|
|
201 |
|
|
add_interface_port is02 int02 irq Output 1
|
202 |
|
|
# |
|
203 |
|
|
# +-----------------------------------
|
204 |
|
|
|
205 |
|
|
# +-----------------------------------
|
206 |
|
|
# | connection point is01
|
207 |
|
|
# |
|
208 |
|
|
add_interface is01 interrupt end
|
209 |
|
|
set_interface_property is01 associatedAddressablePoint avalon_slave_0
|
210 |
|
|
set_interface_property is01 associatedClock clock
|
211 |
|
|
set_interface_property is01 associatedReset reset_sink
|
212 |
|
|
|
213 |
|
|
set_interface_property is01 ENABLED true
|
214 |
|
|
|
215 |
|
|
add_interface_port is01 int01 irq Output 1
|
216 |
|
|
# |
|
217 |
|
|
# +-----------------------------------
|
218 |
|
|
|
219 |
|
|
# +-----------------------------------
|
220 |
|
|
# | connection point is00
|
221 |
|
|
# |
|
222 |
|
|
add_interface is00 interrupt end
|
223 |
|
|
set_interface_property is00 associatedAddressablePoint avalon_slave_0
|
224 |
|
|
set_interface_property is00 associatedClock clock
|
225 |
|
|
set_interface_property is00 associatedReset reset_sink
|
226 |
|
|
|
227 |
|
|
set_interface_property is00 ENABLED true
|
228 |
|
|
|
229 |
|
|
add_interface_port is00 int00 irq Output 1
|
230 |
|
|
# |
|
231 |
|
|
# +-----------------------------------
|
232 |
|
|
|
233 |
|
|
# +-----------------------------------
|
234 |
|
|
# | connection point is07
|
235 |
|
|
# |
|
236 |
|
|
add_interface is07 interrupt end
|
237 |
|
|
set_interface_property is07 associatedAddressablePoint avalon_slave_0
|
238 |
|
|
set_interface_property is07 associatedClock clock
|
239 |
|
|
set_interface_property is07 associatedReset reset_sink
|
240 |
|
|
|
241 |
|
|
set_interface_property is07 ENABLED true
|
242 |
|
|
|
243 |
|
|
add_interface_port is07 int07 irq Output 1
|
244 |
|
|
# |
|
245 |
|
|
# +-----------------------------------
|
246 |
|
|
|
247 |
|
|
# +-----------------------------------
|
248 |
|
|
# | connection point is05
|
249 |
|
|
# |
|
250 |
|
|
add_interface is05 interrupt end
|
251 |
|
|
set_interface_property is05 associatedAddressablePoint avalon_slave_0
|
252 |
|
|
set_interface_property is05 associatedClock clock
|
253 |
|
|
set_interface_property is05 associatedReset reset_sink
|
254 |
|
|
|
255 |
|
|
set_interface_property is05 ENABLED true
|
256 |
|
|
|
257 |
|
|
add_interface_port is05 int05 irq Output 1
|
258 |
|
|
# |
|
259 |
|
|
# +-----------------------------------
|