-
Notifications
You must be signed in to change notification settings - Fork 4
/
steering_hw.tcl
145 lines (114 loc) · 4.05 KB
/
steering_hw.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# TCL File Generated by Component Editor 12.1sp1
# Sun Jul 24 14:02:21 CST 2016
# DO NOT MODIFY
#
# steering_driver "steering_driver" v1.0
# Zhizhou Li 2016.07.24.14:02:21
# steering driver
#
#
# request TCL package from ACDS 12.1
#
package require -exact qsys 12.1
#
# module steering_driver
#
set_module_property DESCRIPTION "steering driver"
set_module_property NAME steering_driver
set_module_property VERSION 1.0
set_module_property INTERNAL false
set_module_property OPAQUE_ADDRESS_MAP true
set_module_property GROUP Lophilo
set_module_property AUTHOR "Zhizhou Li"
set_module_property DISPLAY_NAME steering_driver
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
set_module_property EDITABLE true
set_module_property ANALYZE_HDL AUTO
set_module_property REPORT_TO_TALKBACK false
set_module_property ALLOW_GREYBOX_GENERATION false
#
# file sets
#
add_fileset QUARTUS_SYNTH QUARTUS_SYNTH "" ""
set_fileset_property QUARTUS_SYNTH TOP_LEVEL steering_driver
set_fileset_property QUARTUS_SYNTH ENABLE_RELATIVE_INCLUDE_PATHS false
add_fileset_file steering_driver.v VERILOG PATH qsys_root/steering_driver.v
add_fileset SIM_VERILOG SIM_VERILOG "" ""
set_fileset_property SIM_VERILOG TOP_LEVEL steering_driver
set_fileset_property SIM_VERILOG ENABLE_RELATIVE_INCLUDE_PATHS false
add_fileset_file steering_driver.v VERILOG PATH qsys_root/steering_driver.v
#
# parameters
#
#
# display items
#
#
# connection point mrst
#
add_interface mrst reset end
set_interface_property mrst associatedClock mclk
set_interface_property mrst synchronousEdges DEASSERT
set_interface_property mrst ENABLED true
add_interface_port mrst rsi_MRST_reset reset Input 1
#
# connection point mclk
#
add_interface mclk clock end
set_interface_property mclk clockRate 0
set_interface_property mclk ENABLED true
add_interface_port mclk csi_MCLK_clk clk Input 1
#
# connection point ctrl
#
add_interface ctrl avalon end
set_interface_property ctrl addressUnits WORDS
set_interface_property ctrl associatedClock mclk
set_interface_property ctrl associatedReset mrst
set_interface_property ctrl bitsPerSymbol 8
set_interface_property ctrl burstOnBurstBoundariesOnly false
set_interface_property ctrl burstcountUnits WORDS
set_interface_property ctrl explicitAddressSpan 0
set_interface_property ctrl holdTime 0
set_interface_property ctrl linewrapBursts false
set_interface_property ctrl maximumPendingReadTransactions 0
set_interface_property ctrl readLatency 0
set_interface_property ctrl readWaitTime 1
set_interface_property ctrl setupTime 0
set_interface_property ctrl timingUnits Cycles
set_interface_property ctrl writeWaitTime 0
set_interface_property ctrl ENABLED true
add_interface_port ctrl avs_ctrl_writedata writedata Input 32
add_interface_port ctrl avs_ctrl_readdata readdata Output 32
add_interface_port ctrl avs_ctrl_byteenable byteenable Input 4
add_interface_port ctrl avs_ctrl_address address Input 3
add_interface_port ctrl avs_ctrl_write write Input 1
add_interface_port ctrl avs_ctrl_read read Input 1
add_interface_port ctrl avs_ctrl_waitrequest waitrequest Output 1
set_interface_assignment ctrl embeddedsw.configuration.isFlash 0
set_interface_assignment ctrl embeddedsw.configuration.isMemoryDevice 0
set_interface_assignment ctrl embeddedsw.configuration.isNonVolatileStorage 0
set_interface_assignment ctrl embeddedsw.configuration.isPrintableDevice 0
#
# connection point pwmrst
#
add_interface pwmrst reset end
set_interface_property pwmrst associatedClock mclk
set_interface_property pwmrst synchronousEdges DEASSERT
set_interface_property pwmrst ENABLED true
add_interface_port pwmrst rsi_PWMRST_reset reset Input 1
#
# connection point pwmclk
#
add_interface pwmclk clock end
set_interface_property pwmclk clockRate 0
set_interface_property pwmclk ENABLED true
add_interface_port pwmclk csi_PWMCLK_clk clk Input 1
#
# connection point steering
#
add_interface steering conduit end
set_interface_property steering associatedClock mclk
set_interface_property steering associatedReset ""
set_interface_property steering ENABLED true
add_interface_port steering streeing export Output 1