-
Notifications
You must be signed in to change notification settings - Fork 2
/
sfp_port_hw.tcl
177 lines (147 loc) · 5.31 KB
/
sfp_port_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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# TCL File Generated by Component Editor 19.1
# Sun Oct 06 14:02:46 CEST 2019
# DO NOT MODIFY
#
# sfp_port "SFP Port" v1.0
# bluecmd 2019.10.06.14:02:46
#
#
#
# request TCL package from ACDS 16.1
#
package require -exact qsys 16.1
#
# module sfp_port
#
set_module_property DESCRIPTION ""
set_module_property NAME sfp_port
set_module_property VERSION 1.0
set_module_property INTERNAL false
set_module_property OPAQUE_ADDRESS_MAP true
set_module_property AUTHOR bluecmd
set_module_property DISPLAY_NAME "SFP Port"
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
set_module_property EDITABLE true
set_module_property REPORT_TO_TALKBACK false
set_module_property ALLOW_GREYBOX_GENERATION false
set_module_property REPORT_HIERARCHY false
#
# file sets
#
add_fileset QUARTUS_SYNTH QUARTUS_SYNTH "" ""
set_fileset_property QUARTUS_SYNTH TOP_LEVEL sfp_port
set_fileset_property QUARTUS_SYNTH ENABLE_RELATIVE_INCLUDE_PATHS false
set_fileset_property QUARTUS_SYNTH ENABLE_FILE_OVERWRITE_MODE true
add_fileset_file sfp_port.sv SYSTEM_VERILOG PATH sfp_port.sv TOP_LEVEL_FILE
#
# parameters
#
#
# display items
#
#
# connection point clk
#
add_interface clk clock end
set_interface_property clk clockRate 0
set_interface_property clk ENABLED true
set_interface_property clk EXPORT_OF ""
set_interface_property clk PORT_NAME_MAP ""
set_interface_property clk CMSIS_SVD_VARIABLES ""
set_interface_property clk SVD_ADDRESS_GROUP ""
add_interface_port clk clk clk Input 1
#
# connection point reset
#
add_interface reset reset end
set_interface_property reset associatedClock clk
set_interface_property reset synchronousEdges DEASSERT
set_interface_property reset ENABLED true
set_interface_property reset EXPORT_OF ""
set_interface_property reset PORT_NAME_MAP ""
set_interface_property reset CMSIS_SVD_VARIABLES ""
set_interface_property reset SVD_ADDRESS_GROUP ""
add_interface_port reset reset reset Input 1
#
# connection point sfp
#
add_interface sfp conduit end
set_interface_property sfp associatedClock clk
set_interface_property sfp associatedReset ""
set_interface_property sfp ENABLED true
set_interface_property sfp EXPORT_OF ""
set_interface_property sfp PORT_NAME_MAP ""
set_interface_property sfp CMSIS_SVD_VARIABLES ""
set_interface_property sfp SVD_ADDRESS_GROUP ""
add_interface_port sfp los los Input 1
add_interface_port sfp mod0_prsnt_n prsnt_n Input 1
add_interface_port sfp tx_disable txdis Output 1
add_interface_port sfp mod1_scl scl Bidir 1
add_interface_port sfp mod2_sda sda Bidir 1
add_interface_port sfp ratesel ratesel Output 2
add_interface_port sfp tx_fault txfail Input 1
#
# connection point mm
#
add_interface mm avalon end
set_interface_property mm addressUnits WORDS
set_interface_property mm associatedClock clk
set_interface_property mm associatedReset reset
set_interface_property mm bitsPerSymbol 8
set_interface_property mm burstOnBurstBoundariesOnly false
set_interface_property mm burstcountUnits WORDS
set_interface_property mm explicitAddressSpan 0
set_interface_property mm holdTime 0
set_interface_property mm linewrapBursts false
set_interface_property mm maximumPendingReadTransactions 0
set_interface_property mm maximumPendingWriteTransactions 0
set_interface_property mm readLatency 0
set_interface_property mm readWaitStates 0
set_interface_property mm readWaitTime 0
set_interface_property mm setupTime 0
set_interface_property mm timingUnits Cycles
set_interface_property mm writeWaitTime 0
set_interface_property mm ENABLED true
set_interface_property mm EXPORT_OF ""
set_interface_property mm PORT_NAME_MAP ""
set_interface_property mm CMSIS_SVD_VARIABLES ""
set_interface_property mm SVD_ADDRESS_GROUP ""
add_interface_port mm mm_address address Input 4
add_interface_port mm mm_read read Input 1
add_interface_port mm mm_readdata readdata Output 8
add_interface_port mm mm_write write Input 1
add_interface_port mm mm_writedata writedata Input 8
add_interface_port mm mm_response response Output 2
set_interface_assignment mm embeddedsw.configuration.isFlash 0
set_interface_assignment mm embeddedsw.configuration.isMemoryDevice 0
set_interface_assignment mm embeddedsw.configuration.isNonVolatileStorage 0
set_interface_assignment mm embeddedsw.configuration.isPrintableDevice 0
#
# connection point i2c
#
add_interface i2c conduit end
set_interface_property i2c associatedClock ""
set_interface_property i2c associatedReset ""
set_interface_property i2c ENABLED true
set_interface_property i2c EXPORT_OF ""
set_interface_property i2c PORT_NAME_MAP ""
set_interface_property i2c CMSIS_SVD_VARIABLES ""
set_interface_property i2c SVD_ADDRESS_GROUP ""
add_interface_port i2c sda_in sda_in Output 1
add_interface_port i2c sda_oe sda_oe Input 1
add_interface_port i2c scl_in scl_in Output 1
add_interface_port i2c scl_oe scl_oe Input 1
#
# connection point i2c_reset
#
add_interface i2c_reset reset start
set_interface_property i2c_reset associatedClock clk
set_interface_property i2c_reset associatedDirectReset ""
set_interface_property i2c_reset associatedResetSinks ""
set_interface_property i2c_reset synchronousEdges DEASSERT
set_interface_property i2c_reset ENABLED true
set_interface_property i2c_reset EXPORT_OF ""
set_interface_property i2c_reset PORT_NAME_MAP ""
set_interface_property i2c_reset CMSIS_SVD_VARIABLES ""
set_interface_property i2c_reset SVD_ADDRESS_GROUP ""
add_interface_port i2c_reset i2c_reset reset Output 1