source: rc_os_nios2/trunk/DE0_Nano_QSYS_DEMO/canc/can_top_hw.tcl@ 295

Last change on this file since 295 was 128, checked in by ertl-honda, 9 years ago

追加.

File size: 7.0 KB
Line 
1# TCL File Generated by Component Editor 11.0sp1
2# Tue Jun 17 13:13:43 JST 2014
3# DO NOT MODIFY
4
5
6# +-----------------------------------
7# |
8# | can_top "can_top" v2.6
9# | null 2014.06.17.13:13:43
10# |
11# |
12# | F:/Sync/DE2_115_NIOS_DEVICE_LED_MATSU_restored_ACAN/DE2_115_NIOS_DEVICE_LED_MATSU_restored/canc/hdl/can_top.v
13# |
14# | ./hdl/can_acf.v syn, sim
15# | ./hdl/can_bsp.v syn, sim
16# | ./hdl/can_btl.v syn, sim
17# | ./hdl/can_crc.v syn, sim
18# | ./hdl/can_defines.v syn, sim
19# | ./hdl/can_fifo.v syn, sim
20# | ./hdl/can_ibo.v syn, sim
21# | ./hdl/can_register.v syn, sim
22# | ./hdl/can_register_asyn.v syn, sim
23# | ./hdl/can_register_asyn_syn.v syn, sim
24# | ./hdl/can_register_syn.v syn, sim
25# | ./hdl/can_registers.v syn, sim
26# | ./hdl/can_rxmboxacf.v syn, sim
27# | ./hdl/can_top.v syn, sim
28# |
29# +-----------------------------------
30
31# +-----------------------------------
32# | request TCL package from ACDS 11.0
33# |
34package require -exact sopc 11.0
35# |
36# +-----------------------------------
37
38# +-----------------------------------
39# | module can_top
40# |
41set_module_property NAME can_top
42set_module_property VERSION 2.6
43set_module_property INTERNAL false
44set_module_property OPAQUE_ADDRESS_MAP true
45set_module_property GROUP Other
46set_module_property DISPLAY_NAME can_top
47set_module_property TOP_LEVEL_HDL_FILE hdl/can_top.v
48set_module_property TOP_LEVEL_HDL_MODULE can_top
49set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
50set_module_property EDITABLE true
51set_module_property ANALYZE_HDL TRUE
52set_module_property STATIC_TOP_LEVEL_MODULE_NAME can_top
53set_module_property FIX_110_VIP_PATH false
54# |
55# +-----------------------------------
56
57# +-----------------------------------
58# | files
59# |
60add_file hdl/can_acf.v {SYNTHESIS SIMULATION}
61add_file hdl/can_bsp.v {SYNTHESIS SIMULATION}
62add_file hdl/can_btl.v {SYNTHESIS SIMULATION}
63add_file hdl/can_crc.v {SYNTHESIS SIMULATION}
64add_file hdl/can_defines.v {SYNTHESIS SIMULATION}
65add_file hdl/can_fifo.v {SYNTHESIS SIMULATION}
66add_file hdl/can_ibo.v {SYNTHESIS SIMULATION}
67add_file hdl/can_register.v {SYNTHESIS SIMULATION}
68add_file hdl/can_register_asyn.v {SYNTHESIS SIMULATION}
69add_file hdl/can_register_asyn_syn.v {SYNTHESIS SIMULATION}
70add_file hdl/can_register_syn.v {SYNTHESIS SIMULATION}
71add_file hdl/can_registers.v {SYNTHESIS SIMULATION}
72add_file hdl/can_rxmboxacf.v {SYNTHESIS SIMULATION}
73add_file hdl/can_top.v {SYNTHESIS SIMULATION}
74# |
75# +-----------------------------------
76
77# +-----------------------------------
78# | parameters
79# |
80add_parameter Tp INTEGER 1
81set_parameter_property Tp DEFAULT_VALUE 1
82set_parameter_property Tp DISPLAY_NAME Tp
83set_parameter_property Tp TYPE INTEGER
84set_parameter_property Tp UNITS None
85set_parameter_property Tp ALLOWED_RANGES -2147483648:2147483647
86set_parameter_property Tp AFFECTS_GENERATION false
87set_parameter_property Tp HDL_PARAMETER true
88add_parameter TXMBOX_DEPTH INTEGER 4 ""
89set_parameter_property TXMBOX_DEPTH DEFAULT_VALUE 4
90set_parameter_property TXMBOX_DEPTH DISPLAY_NAME TXMBOX_DEPTH
91set_parameter_property TXMBOX_DEPTH TYPE INTEGER
92set_parameter_property TXMBOX_DEPTH UNITS None
93set_parameter_property TXMBOX_DEPTH ALLOWED_RANGES -2147483648:2147483647
94set_parameter_property TXMBOX_DEPTH DESCRIPTION ""
95set_parameter_property TXMBOX_DEPTH AFFECTS_GENERATION false
96set_parameter_property TXMBOX_DEPTH HDL_PARAMETER true
97add_parameter RXMBOX_DEPTH INTEGER 5 ""
98set_parameter_property RXMBOX_DEPTH DEFAULT_VALUE 5
99set_parameter_property RXMBOX_DEPTH DISPLAY_NAME RXMBOX_DEPTH
100set_parameter_property RXMBOX_DEPTH TYPE INTEGER
101set_parameter_property RXMBOX_DEPTH UNITS None
102set_parameter_property RXMBOX_DEPTH ALLOWED_RANGES -2147483648:2147483647
103set_parameter_property RXMBOX_DEPTH DESCRIPTION ""
104set_parameter_property RXMBOX_DEPTH AFFECTS_GENERATION false
105set_parameter_property RXMBOX_DEPTH HDL_PARAMETER true
106# |
107# +-----------------------------------
108
109# +-----------------------------------
110# | display items
111# |
112# |
113# +-----------------------------------
114
115# +-----------------------------------
116# | connection point clock
117# |
118add_interface clock clock end
119set_interface_property clock clockRate 0
120
121set_interface_property clock ENABLED true
122
123add_interface_port clock clk_i clk Input 1
124# |
125# +-----------------------------------
126
127# +-----------------------------------
128# | connection point clock_reset
129# |
130add_interface clock_reset reset end
131set_interface_property clock_reset associatedClock clock
132set_interface_property clock_reset synchronousEdges DEASSERT
133
134set_interface_property clock_reset ENABLED true
135
136add_interface_port clock_reset av_rst_i reset Input 1
137# |
138# +-----------------------------------
139
140# +-----------------------------------
141# | connection point avalon_slave_0
142# |
143add_interface avalon_slave_0 avalon end
144set_interface_property avalon_slave_0 addressAlignment DYNAMIC
145set_interface_property avalon_slave_0 addressUnits WORDS
146set_interface_property avalon_slave_0 associatedClock clock
147set_interface_property avalon_slave_0 associatedReset clock_reset
148set_interface_property avalon_slave_0 burstOnBurstBoundariesOnly false
149set_interface_property avalon_slave_0 explicitAddressSpan 0
150set_interface_property avalon_slave_0 holdTime 0
151set_interface_property avalon_slave_0 isMemoryDevice false
152set_interface_property avalon_slave_0 isNonVolatileStorage false
153set_interface_property avalon_slave_0 linewrapBursts false
154set_interface_property avalon_slave_0 maximumPendingReadTransactions 0
155set_interface_property avalon_slave_0 printableDevice false
156set_interface_property avalon_slave_0 readLatency 0
157set_interface_property avalon_slave_0 readWaitTime 1
158set_interface_property avalon_slave_0 setupTime 0
159set_interface_property avalon_slave_0 timingUnits Cycles
160set_interface_property avalon_slave_0 writeWaitTime 0
161
162set_interface_property avalon_slave_0 ENABLED true
163
164add_interface_port avalon_slave_0 av_wr_i write Input 1
165add_interface_port avalon_slave_0 av_dat_i writedata Input 32
166add_interface_port avalon_slave_0 av_dat_o readdata Output 32
167add_interface_port avalon_slave_0 av_cs_i chipselect Input 1
168add_interface_port avalon_slave_0 av_adr_i address Input 8
169# |
170# +-----------------------------------
171
172# +-----------------------------------
173# | connection point conduit_end
174# |
175add_interface conduit_end conduit end
176
177set_interface_property conduit_end ENABLED true
178
179add_interface_port conduit_end rx_i export Input 1
180add_interface_port conduit_end tx_o export Output 1
181add_interface_port conduit_end bus_off_on export Output 1
182add_interface_port conduit_end clkout_o export Output 1
183# |
184# +-----------------------------------
185
186# +-----------------------------------
187# | connection point interrupt_sender
188# |
189add_interface interrupt_sender interrupt end
190set_interface_property interrupt_sender associatedAddressablePoint avalon_slave_0
191set_interface_property interrupt_sender associatedClock clock
192set_interface_property interrupt_sender associatedReset clock_reset
193
194set_interface_property interrupt_sender ENABLED true
195
196add_interface_port interrupt_sender irq_on irq_n Output 1
197# |
198# +-----------------------------------
Note: See TracBrowser for help on using the repository browser.