1 |
221 |
olivier.gi |
# TCL File Generated by Component Editor 13.1
|
2 |
|
|
# Thu May 08 16:25:08 CST 2014
|
3 |
|
|
# DO NOT MODIFY
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
#
|
7 |
|
|
# adc_ltc2308 "adc_ltc2308" v1.1
|
8 |
|
|
# Richard 2014.05.08.16:25:08
|
9 |
|
|
# for DE2-SoC (no level shift version)
|
10 |
|
|
#
|
11 |
|
|
|
12 |
|
|
#
|
13 |
|
|
# request TCL package from ACDS 13.1
|
14 |
|
|
#
|
15 |
|
|
package require -exact qsys 13.1
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
#
|
19 |
|
|
# module adc_ltc2308
|
20 |
|
|
#
|
21 |
|
|
set_module_property DESCRIPTION "for DE2-SoC (no level shift version)"
|
22 |
|
|
set_module_property NAME adc_ltc2308
|
23 |
|
|
set_module_property VERSION 1.1
|
24 |
|
|
set_module_property INTERNAL false
|
25 |
|
|
set_module_property OPAQUE_ADDRESS_MAP true
|
26 |
|
|
set_module_property GROUP "Terasic Qsys Component"
|
27 |
|
|
set_module_property AUTHOR Richard
|
28 |
|
|
set_module_property DISPLAY_NAME adc_ltc2308
|
29 |
|
|
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
|
30 |
|
|
set_module_property EDITABLE true
|
31 |
|
|
set_module_property ANALYZE_HDL AUTO
|
32 |
|
|
set_module_property REPORT_TO_TALKBACK false
|
33 |
|
|
set_module_property ALLOW_GREYBOX_GENERATION false
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
#
|
37 |
|
|
# file sets
|
38 |
|
|
#
|
39 |
|
|
add_fileset QUARTUS_SYNTH QUARTUS_SYNTH "" ""
|
40 |
|
|
set_fileset_property QUARTUS_SYNTH TOP_LEVEL adc_ltc2308_fifo
|
41 |
|
|
set_fileset_property QUARTUS_SYNTH ENABLE_RELATIVE_INCLUDE_PATHS false
|
42 |
|
|
add_fileset_file adc_ltc2308_fifo.v VERILOG PATH adc_ltc2308_fifo.v TOP_LEVEL_FILE
|
43 |
|
|
add_fileset_file adc_ltc2308.v VERILOG PATH adc_ltc2308.v
|
44 |
|
|
add_fileset_file adc_data_fifo.v VERILOG PATH adc_data_fifo.v
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
#
|
48 |
|
|
# parameters
|
49 |
|
|
#
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
#
|
53 |
|
|
# display items
|
54 |
|
|
#
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
#
|
58 |
|
|
# connection point slave
|
59 |
|
|
#
|
60 |
|
|
add_interface slave avalon end
|
61 |
|
|
set_interface_property slave addressAlignment NATIVE
|
62 |
|
|
set_interface_property slave addressUnits WORDS
|
63 |
|
|
set_interface_property slave associatedClock clock_sink
|
64 |
|
|
set_interface_property slave associatedReset reset_sink
|
65 |
|
|
set_interface_property slave bitsPerSymbol 8
|
66 |
|
|
set_interface_property slave burstOnBurstBoundariesOnly false
|
67 |
|
|
set_interface_property slave burstcountUnits WORDS
|
68 |
|
|
set_interface_property slave explicitAddressSpan 0
|
69 |
|
|
set_interface_property slave holdTime 0
|
70 |
|
|
set_interface_property slave linewrapBursts false
|
71 |
|
|
set_interface_property slave maximumPendingReadTransactions 0
|
72 |
|
|
set_interface_property slave readLatency 0
|
73 |
|
|
set_interface_property slave readWaitTime 1
|
74 |
|
|
set_interface_property slave setupTime 0
|
75 |
|
|
set_interface_property slave timingUnits Cycles
|
76 |
|
|
set_interface_property slave writeWaitTime 0
|
77 |
|
|
set_interface_property slave ENABLED true
|
78 |
|
|
set_interface_property slave EXPORT_OF ""
|
79 |
|
|
set_interface_property slave PORT_NAME_MAP ""
|
80 |
|
|
set_interface_property slave CMSIS_SVD_VARIABLES ""
|
81 |
|
|
set_interface_property slave SVD_ADDRESS_GROUP ""
|
82 |
|
|
|
83 |
|
|
add_interface_port slave slave_chipselect_n chipselect_n Input 1
|
84 |
|
|
add_interface_port slave slave_read_n read_n Input 1
|
85 |
|
|
add_interface_port slave slave_readdata readdata Output 16
|
86 |
|
|
add_interface_port slave slave_addr address Input 1
|
87 |
|
|
add_interface_port slave slave_wrtie_n write_n Input 1
|
88 |
|
|
add_interface_port slave slave_wriredata writedata Input 16
|
89 |
|
|
set_interface_assignment slave embeddedsw.configuration.isFlash 0
|
90 |
|
|
set_interface_assignment slave embeddedsw.configuration.isMemoryDevice 0
|
91 |
|
|
set_interface_assignment slave embeddedsw.configuration.isNonVolatileStorage 0
|
92 |
|
|
set_interface_assignment slave embeddedsw.configuration.isPrintableDevice 0
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
#
|
96 |
|
|
# connection point conduit_end
|
97 |
|
|
#
|
98 |
|
|
add_interface conduit_end conduit end
|
99 |
|
|
set_interface_property conduit_end associatedClock ""
|
100 |
|
|
set_interface_property conduit_end associatedReset ""
|
101 |
|
|
set_interface_property conduit_end ENABLED true
|
102 |
|
|
set_interface_property conduit_end EXPORT_OF ""
|
103 |
|
|
set_interface_property conduit_end PORT_NAME_MAP ""
|
104 |
|
|
set_interface_property conduit_end CMSIS_SVD_VARIABLES ""
|
105 |
|
|
set_interface_property conduit_end SVD_ADDRESS_GROUP ""
|
106 |
|
|
|
107 |
|
|
add_interface_port conduit_end ADC_CONVST export Output 1
|
108 |
|
|
add_interface_port conduit_end ADC_SCK export Output 1
|
109 |
|
|
add_interface_port conduit_end ADC_SDI export Output 1
|
110 |
|
|
add_interface_port conduit_end ADC_SDO export Input 1
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
#
|
114 |
|
|
# connection point reset_sink
|
115 |
|
|
#
|
116 |
|
|
add_interface reset_sink reset end
|
117 |
|
|
set_interface_property reset_sink associatedClock clock_sink
|
118 |
|
|
set_interface_property reset_sink synchronousEdges DEASSERT
|
119 |
|
|
set_interface_property reset_sink ENABLED true
|
120 |
|
|
set_interface_property reset_sink EXPORT_OF ""
|
121 |
|
|
set_interface_property reset_sink PORT_NAME_MAP ""
|
122 |
|
|
set_interface_property reset_sink CMSIS_SVD_VARIABLES ""
|
123 |
|
|
set_interface_property reset_sink SVD_ADDRESS_GROUP ""
|
124 |
|
|
|
125 |
|
|
add_interface_port reset_sink slave_reset_n reset_n Input 1
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
#
|
129 |
|
|
# connection point clock_sink
|
130 |
|
|
#
|
131 |
|
|
add_interface clock_sink clock end
|
132 |
|
|
set_interface_property clock_sink clockRate 0
|
133 |
|
|
set_interface_property clock_sink ENABLED true
|
134 |
|
|
set_interface_property clock_sink EXPORT_OF ""
|
135 |
|
|
set_interface_property clock_sink PORT_NAME_MAP ""
|
136 |
|
|
set_interface_property clock_sink CMSIS_SVD_VARIABLES ""
|
137 |
|
|
set_interface_property clock_sink SVD_ADDRESS_GROUP ""
|
138 |
|
|
|
139 |
|
|
add_interface_port clock_sink slave_clk clk Input 1
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
#
|
143 |
|
|
# connection point clock_sink_adc
|
144 |
|
|
#
|
145 |
|
|
add_interface clock_sink_adc clock end
|
146 |
|
|
set_interface_property clock_sink_adc clockRate 0
|
147 |
|
|
set_interface_property clock_sink_adc ENABLED true
|
148 |
|
|
set_interface_property clock_sink_adc EXPORT_OF ""
|
149 |
|
|
set_interface_property clock_sink_adc PORT_NAME_MAP ""
|
150 |
|
|
set_interface_property clock_sink_adc CMSIS_SVD_VARIABLES ""
|
151 |
|
|
set_interface_property clock_sink_adc SVD_ADDRESS_GROUP ""
|
152 |
|
|
|
153 |
|
|
add_interface_port clock_sink_adc adc_clk clk Input 1
|
154 |
|
|
|