1 |
2 |
jackfrye11 |
# TCL File Generated by Component Editor 19.1
|
2 |
|
|
# Sat Jun 06 22:05:16 EDT 2020
|
3 |
|
|
# DO NOT MODIFY
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
#
|
7 |
|
|
# oc_axi_lite_bfm "oc_axi_lite_bfm" v1.0
|
8 |
|
|
# Jack Frye 2020.06.06.22:05:16
|
9 |
|
|
# Bus Functional Model AXI4-Lite for Platform Designer
|
10 |
|
|
#
|
11 |
|
|
|
12 |
|
|
#
|
13 |
|
|
# request TCL package from ACDS 16.1
|
14 |
|
|
#
|
15 |
|
|
package require -exact qsys 16.1
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
#
|
19 |
|
|
# module oc_axi_lite_bfm
|
20 |
|
|
#
|
21 |
|
|
set_module_property DESCRIPTION "Bus Functional Model AXI4-Lite for Platform Designer"
|
22 |
|
|
set_module_property NAME oc_axi_lite_bfm
|
23 |
|
|
set_module_property VERSION 1.0
|
24 |
|
|
set_module_property INTERNAL false
|
25 |
|
|
set_module_property OPAQUE_ADDRESS_MAP true
|
26 |
|
|
set_module_property GROUP "Open Cores"
|
27 |
|
|
set_module_property AUTHOR "Jack Frye"
|
28 |
|
|
set_module_property DISPLAY_NAME oc_axi_lite_bfm
|
29 |
|
|
set_module_property INSTANTIATE_IN_SYSTEM_MODULE true
|
30 |
|
|
set_module_property EDITABLE true
|
31 |
|
|
set_module_property REPORT_TO_TALKBACK false
|
32 |
|
|
set_module_property ALLOW_GREYBOX_GENERATION false
|
33 |
|
|
set_module_property REPORT_HIERARCHY false
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
#
|
37 |
|
|
# file sets
|
38 |
|
|
#
|
39 |
|
|
add_fileset QUARTUS_SYNTH QUARTUS_SYNTH "" ""
|
40 |
|
|
set_fileset_property QUARTUS_SYNTH TOP_LEVEL new_component
|
41 |
|
|
set_fileset_property QUARTUS_SYNTH ENABLE_RELATIVE_INCLUDE_PATHS false
|
42 |
|
|
set_fileset_property QUARTUS_SYNTH ENABLE_FILE_OVERWRITE_MODE false
|
43 |
|
|
add_fileset_file new_component.v VERILOG PATH new_component.v TOP_LEVEL_FILE
|
44 |
|
|
|
45 |
|
|
add_fileset SIM_VERILOG SIM_VERILOG "" ""
|
46 |
|
|
set_fileset_property SIM_VERILOG TOP_LEVEL new_component
|
47 |
|
|
set_fileset_property SIM_VERILOG ENABLE_RELATIVE_INCLUDE_PATHS false
|
48 |
|
|
set_fileset_property SIM_VERILOG ENABLE_FILE_OVERWRITE_MODE false
|
49 |
|
|
add_fileset_file new_component.v VERILOG PATH new_component.v
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
#
|
53 |
|
|
# parameters
|
54 |
|
|
#
|
55 |
|
|
add_parameter IDLE INTEGER 0
|
56 |
|
|
set_parameter_property IDLE DEFAULT_VALUE 0
|
57 |
|
|
set_parameter_property IDLE DISPLAY_NAME IDLE
|
58 |
|
|
set_parameter_property IDLE TYPE INTEGER
|
59 |
|
|
set_parameter_property IDLE UNITS None
|
60 |
|
|
set_parameter_property IDLE HDL_PARAMETER true
|
61 |
|
|
add_parameter READ INTEGER 1
|
62 |
|
|
set_parameter_property READ DEFAULT_VALUE 1
|
63 |
|
|
set_parameter_property READ DISPLAY_NAME READ
|
64 |
|
|
set_parameter_property READ TYPE INTEGER
|
65 |
|
|
set_parameter_property READ UNITS None
|
66 |
|
|
set_parameter_property READ HDL_PARAMETER true
|
67 |
|
|
add_parameter WRITE INTEGER 2
|
68 |
|
|
set_parameter_property WRITE DEFAULT_VALUE 2
|
69 |
|
|
set_parameter_property WRITE DISPLAY_NAME WRITE
|
70 |
|
|
set_parameter_property WRITE TYPE INTEGER
|
71 |
|
|
set_parameter_property WRITE UNITS None
|
72 |
|
|
set_parameter_property WRITE HDL_PARAMETER true
|
73 |
|
|
add_parameter N_AW_W INTEGER 0
|
74 |
|
|
set_parameter_property N_AW_W DEFAULT_VALUE 0
|
75 |
|
|
set_parameter_property N_AW_W DISPLAY_NAME N_AW_W
|
76 |
|
|
set_parameter_property N_AW_W TYPE INTEGER
|
77 |
|
|
set_parameter_property N_AW_W UNITS None
|
78 |
|
|
set_parameter_property N_AW_W HDL_PARAMETER true
|
79 |
|
|
add_parameter AW_NW INTEGER 1
|
80 |
|
|
set_parameter_property AW_NW DEFAULT_VALUE 1
|
81 |
|
|
set_parameter_property AW_NW DISPLAY_NAME AW_NW
|
82 |
|
|
set_parameter_property AW_NW TYPE INTEGER
|
83 |
|
|
set_parameter_property AW_NW UNITS None
|
84 |
|
|
set_parameter_property AW_NW HDL_PARAMETER true
|
85 |
|
|
add_parameter NAW_W INTEGER 2
|
86 |
|
|
set_parameter_property NAW_W DEFAULT_VALUE 2
|
87 |
|
|
set_parameter_property NAW_W DISPLAY_NAME NAW_W
|
88 |
|
|
set_parameter_property NAW_W TYPE INTEGER
|
89 |
|
|
set_parameter_property NAW_W UNITS None
|
90 |
|
|
set_parameter_property NAW_W HDL_PARAMETER true
|
91 |
|
|
add_parameter B_WAIT INTEGER 3
|
92 |
|
|
set_parameter_property B_WAIT DEFAULT_VALUE 3
|
93 |
|
|
set_parameter_property B_WAIT DISPLAY_NAME B_WAIT
|
94 |
|
|
set_parameter_property B_WAIT TYPE INTEGER
|
95 |
|
|
set_parameter_property B_WAIT UNITS None
|
96 |
|
|
set_parameter_property B_WAIT HDL_PARAMETER true
|
97 |
|
|
add_parameter R_AR INTEGER 0
|
98 |
|
|
set_parameter_property R_AR DEFAULT_VALUE 0
|
99 |
|
|
set_parameter_property R_AR DISPLAY_NAME R_AR
|
100 |
|
|
set_parameter_property R_AR TYPE INTEGER
|
101 |
|
|
set_parameter_property R_AR UNITS None
|
102 |
|
|
set_parameter_property R_AR HDL_PARAMETER true
|
103 |
|
|
add_parameter R_R INTEGER 1
|
104 |
|
|
set_parameter_property R_R DEFAULT_VALUE 1
|
105 |
|
|
set_parameter_property R_R DISPLAY_NAME R_R
|
106 |
|
|
set_parameter_property R_R TYPE INTEGER
|
107 |
|
|
set_parameter_property R_R UNITS None
|
108 |
|
|
set_parameter_property R_R HDL_PARAMETER true
|
109 |
|
|
add_parameter R_RSP INTEGER 2
|
110 |
|
|
set_parameter_property R_RSP DEFAULT_VALUE 2
|
111 |
|
|
set_parameter_property R_RSP DISPLAY_NAME R_RSP
|
112 |
|
|
set_parameter_property R_RSP TYPE INTEGER
|
113 |
|
|
set_parameter_property R_RSP UNITS None
|
114 |
|
|
set_parameter_property R_RSP HDL_PARAMETER true
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
#
|
118 |
|
|
# display items
|
119 |
|
|
#
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
#
|
123 |
|
|
# connection point clock
|
124 |
|
|
#
|
125 |
|
|
add_interface clock clock end
|
126 |
|
|
set_interface_property clock clockRate 0
|
127 |
|
|
set_interface_property clock ENABLED true
|
128 |
|
|
set_interface_property clock EXPORT_OF ""
|
129 |
|
|
set_interface_property clock PORT_NAME_MAP ""
|
130 |
|
|
set_interface_property clock CMSIS_SVD_VARIABLES ""
|
131 |
|
|
set_interface_property clock SVD_ADDRESS_GROUP ""
|
132 |
|
|
|
133 |
|
|
add_interface_port clock clock_clk clk Input 1
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
#
|
137 |
|
|
# connection point axm_m0
|
138 |
|
|
#
|
139 |
|
|
add_interface axm_m0 axi4 start
|
140 |
|
|
set_interface_property axm_m0 associatedClock clock
|
141 |
|
|
set_interface_property axm_m0 associatedReset reset_1
|
142 |
|
|
set_interface_property axm_m0 readIssuingCapability 1
|
143 |
|
|
set_interface_property axm_m0 writeIssuingCapability 1
|
144 |
|
|
set_interface_property axm_m0 combinedIssuingCapability 1
|
145 |
|
|
set_interface_property axm_m0 ENABLED true
|
146 |
|
|
set_interface_property axm_m0 EXPORT_OF ""
|
147 |
|
|
set_interface_property axm_m0 PORT_NAME_MAP ""
|
148 |
|
|
set_interface_property axm_m0 CMSIS_SVD_VARIABLES ""
|
149 |
|
|
set_interface_property axm_m0 SVD_ADDRESS_GROUP ""
|
150 |
|
|
|
151 |
|
|
add_interface_port axm_m0 axm_m0_awaddr awaddr Output 32
|
152 |
|
|
add_interface_port axm_m0 axm_m0_awprot awprot Output 3
|
153 |
|
|
add_interface_port axm_m0 axm_m0_awvalid awvalid Output 1
|
154 |
|
|
add_interface_port axm_m0 axm_m0_awready awready Input 1
|
155 |
|
|
add_interface_port axm_m0 axm_m0_wdata wdata Output 32
|
156 |
|
|
add_interface_port axm_m0 axm_m0_wlast wlast Output 1
|
157 |
|
|
add_interface_port axm_m0 axm_m0_wvalid wvalid Output 1
|
158 |
|
|
add_interface_port axm_m0 axm_m0_wready wready Input 1
|
159 |
|
|
add_interface_port axm_m0 axm_m0_bvalid bvalid Input 1
|
160 |
|
|
add_interface_port axm_m0 axm_m0_bready bready Output 1
|
161 |
|
|
add_interface_port axm_m0 axm_m0_araddr araddr Output 32
|
162 |
|
|
add_interface_port axm_m0 axm_m0_arprot arprot Output 3
|
163 |
|
|
add_interface_port axm_m0 axm_m0_arvalid arvalid Output 1
|
164 |
|
|
add_interface_port axm_m0 axm_m0_arready arready Input 1
|
165 |
|
|
add_interface_port axm_m0 axm_m0_rdata rdata Input 32
|
166 |
|
|
add_interface_port axm_m0 axm_m0_rvalid rvalid Input 1
|
167 |
|
|
add_interface_port axm_m0 axm_m0_rready rready Output 1
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
#
|
171 |
|
|
# connection point driver
|
172 |
|
|
#
|
173 |
|
|
add_interface driver conduit end
|
174 |
|
|
set_interface_property driver associatedClock clock
|
175 |
|
|
set_interface_property driver associatedReset ""
|
176 |
|
|
set_interface_property driver ENABLED true
|
177 |
|
|
set_interface_property driver EXPORT_OF ""
|
178 |
|
|
set_interface_property driver PORT_NAME_MAP ""
|
179 |
|
|
set_interface_property driver CMSIS_SVD_VARIABLES ""
|
180 |
|
|
set_interface_property driver SVD_ADDRESS_GROUP ""
|
181 |
|
|
|
182 |
|
|
add_interface_port driver addr new_signal Input 32
|
183 |
|
|
add_interface_port driver r_data new_signal_1 Output 32
|
184 |
|
|
add_interface_port driver transaction_type new_signal_2 Input 1
|
185 |
|
|
add_interface_port driver w_data new_signal_3 Input 32
|
186 |
|
|
add_interface_port driver done new_signal_4 Output 1
|
187 |
|
|
add_interface_port driver start new_signal_5 Input 1
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
#
|
191 |
|
|
# connection point reset_1
|
192 |
|
|
#
|
193 |
|
|
add_interface reset_1 reset end
|
194 |
|
|
set_interface_property reset_1 associatedClock clock
|
195 |
|
|
set_interface_property reset_1 synchronousEdges DEASSERT
|
196 |
|
|
set_interface_property reset_1 ENABLED true
|
197 |
|
|
set_interface_property reset_1 EXPORT_OF ""
|
198 |
|
|
set_interface_property reset_1 PORT_NAME_MAP ""
|
199 |
|
|
set_interface_property reset_1 CMSIS_SVD_VARIABLES ""
|
200 |
|
|
set_interface_property reset_1 SVD_ADDRESS_GROUP ""
|
201 |
|
|
|
202 |
|
|
add_interface_port reset_1 reset_reset reset Input 1
|
203 |
|
|
|