| 1 |
# TCL File Generated by Component Editor 16.0 |
| 2 |
# Fri May 14 23:15:32 PDT 2021 |
| 3 |
# DO NOT MODIFY |
| 4 |
|
| 5 |
|
| 6 |
# |
| 7 |
# wishbone_master "bladeRF NiOS Wishbone Master" v1.0 |
| 8 |
# Robert Ghilduta 2021.05.14.23:15:32 |
| 9 |
# NiOS Wishbone Master |
| 10 |
# |
| 11 |
|
| 12 |
# |
| 13 |
# request TCL package from ACDS 16.0 |
| 14 |
# |
| 15 |
package require -exact qsys 16.0 |
| 16 |
|
| 17 |
|
| 18 |
# |
| 19 |
# module wishbone_master |
| 20 |
# |
| 21 |
set_module_property DESCRIPTION "NiOS Wishbone Master" |
| 22 |
set_module_property NAME wishbone_master |
| 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 Peripherals |
| 27 |
set_module_property AUTHOR "Robert Ghilduta" |
| 28 |
set_module_property DISPLAY_NAME "bladeRF NiOS Wishbone Master" |
| 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 wishbone_master |
| 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 wishbone_master.qip OTHER PATH ./wishbone_master.qip |
| 44 |
|
| 45 |
|
| 46 |
# |
| 47 |
# parameters |
| 48 |
# |
| 49 |
add_parameter ADDR_BITS INTEGER 32 "" |
| 50 |
set_parameter_property ADDR_BITS DEFAULT_VALUE 32 |
| 51 |
set_parameter_property ADDR_BITS DISPLAY_NAME ADDR_BITS |
| 52 |
set_parameter_property ADDR_BITS TYPE INTEGER |
| 53 |
set_parameter_property ADDR_BITS UNITS None |
| 54 |
set_parameter_property ADDR_BITS ALLOWED_RANGES -2147483648:2147483647 |
| 55 |
set_parameter_property ADDR_BITS DESCRIPTION "" |
| 56 |
set_parameter_property ADDR_BITS HDL_PARAMETER true |
| 57 |
|
| 58 |
|
| 59 |
add_parameter DATA_BITS INTEGER 32 "" |
| 60 |
set_parameter_property DATA_BITS DEFAULT_VALUE 32 |
| 61 |
set_parameter_property DATA_BITS DISPLAY_NAME DATA_BITS |
| 62 |
set_parameter_property DATA_BITS TYPE INTEGER |
| 63 |
set_parameter_property DATA_BITS UNITS None |
| 64 |
set_parameter_property DATA_BITS ALLOWED_RANGES -2147483648:2147483647 |
| 65 |
set_parameter_property DATA_BITS DESCRIPTION "" |
| 66 |
set_parameter_property DATA_BITS HDL_PARAMETER true |
| 67 |
# |
| 68 |
# display items |
| 69 |
# |
| 70 |
|
| 71 |
|
| 72 |
# |
| 73 |
# connection point avalon_slave_0 |
| 74 |
# |
| 75 |
add_interface avalon_slave_0 avalon end |
| 76 |
set_interface_property avalon_slave_0 addressUnits WORDS |
| 77 |
set_interface_property avalon_slave_0 associatedClock clock_sink |
| 78 |
set_interface_property avalon_slave_0 associatedReset reset |
| 79 |
set_interface_property avalon_slave_0 bitsPerSymbol 8 |
| 80 |
set_interface_property avalon_slave_0 burstOnBurstBoundariesOnly false |
| 81 |
set_interface_property avalon_slave_0 burstcountUnits WORDS |
| 82 |
set_interface_property avalon_slave_0 explicitAddressSpan 0 |
| 83 |
set_interface_property avalon_slave_0 holdTime 0 |
| 84 |
set_interface_property avalon_slave_0 linewrapBursts false |
| 85 |
set_interface_property avalon_slave_0 maximumPendingReadTransactions 1 |
| 86 |
set_interface_property avalon_slave_0 maximumPendingWriteTransactions 0 |
| 87 |
set_interface_property avalon_slave_0 readLatency 0 |
| 88 |
set_interface_property avalon_slave_0 readWaitTime 1 |
| 89 |
set_interface_property avalon_slave_0 setupTime 0 |
| 90 |
set_interface_property avalon_slave_0 timingUnits Cycles |
| 91 |
set_interface_property avalon_slave_0 writeWaitTime 0 |
| 92 |
set_interface_property avalon_slave_0 ENABLED true |
| 93 |
set_interface_property avalon_slave_0 EXPORT_OF "" |
| 94 |
set_interface_property avalon_slave_0 PORT_NAME_MAP "" |
| 95 |
set_interface_property avalon_slave_0 CMSIS_SVD_VARIABLES "" |
| 96 |
set_interface_property avalon_slave_0 SVD_ADDRESS_GROUP "" |
| 97 |
|
| 98 |
add_interface_port avalon_slave_0 addr address Input 24 |
| 99 |
add_interface_port avalon_slave_0 din writedata Input 32 |
| 100 |
add_interface_port avalon_slave_0 dout readdata Output 32 |
| 101 |
add_interface_port avalon_slave_0 write write Input 1 |
| 102 |
add_interface_port avalon_slave_0 read read Input 1 |
| 103 |
add_interface_port avalon_slave_0 waitreq waitrequest Output 1 |
| 104 |
add_interface_port avalon_slave_0 readack readdatavalid Output 1 |
| 105 |
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isFlash 0 |
| 106 |
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isMemoryDevice 0 |
| 107 |
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isNonVolatileStorage 0 |
| 108 |
set_interface_assignment avalon_slave_0 embeddedsw.configuration.isPrintableDevice 0 |
| 109 |
|
| 110 |
|
| 111 |
# |
| 112 |
# connection point reset |
| 113 |
# |
| 114 |
add_interface reset reset end |
| 115 |
set_interface_property reset associatedClock clock_sink |
| 116 |
set_interface_property reset synchronousEdges DEASSERT |
| 117 |
set_interface_property reset ENABLED true |
| 118 |
set_interface_property reset EXPORT_OF "" |
| 119 |
set_interface_property reset PORT_NAME_MAP "" |
| 120 |
set_interface_property reset CMSIS_SVD_VARIABLES "" |
| 121 |
set_interface_property reset SVD_ADDRESS_GROUP "" |
| 122 |
|
| 123 |
add_interface_port reset reset reset Input 1 |
| 124 |
|
| 125 |
|
| 126 |
# |
| 127 |
# connection point conduit_end |
| 128 |
# |
| 129 |
add_interface conduit_end conduit end |
| 130 |
set_interface_property conduit_end associatedClock clock_sink |
| 131 |
set_interface_property conduit_end associatedReset reset |
| 132 |
set_interface_property conduit_end ENABLED true |
| 133 |
set_interface_property conduit_end EXPORT_OF "" |
| 134 |
set_interface_property conduit_end PORT_NAME_MAP "" |
| 135 |
set_interface_property conduit_end CMSIS_SVD_VARIABLES "" |
| 136 |
set_interface_property conduit_end SVD_ADDRESS_GROUP "" |
| 137 |
|
| 138 |
add_interface_port conduit_end wb_clk_i wb_clk_i Input 1 |
| 139 |
add_interface_port conduit_end wb_rst_i wb_rst_i Input 1 |
| 140 |
add_interface_port conduit_end wb_adr_o wb_adr_o Output ADDR_BITS |
| 141 |
add_interface_port conduit_end wb_dat_o wb_dat_o Output DATA_BITS |
| 142 |
add_interface_port conduit_end wb_dat_i wb_dat_i Input DATA_BITS |
| 143 |
add_interface_port conduit_end wb_we_o wb_we_o Output 1 |
| 144 |
add_interface_port conduit_end wb_sel_o wb_sel_o Output 1 |
| 145 |
add_interface_port conduit_end wb_stb_o wb_stb_o Output 1 |
| 146 |
add_interface_port conduit_end wb_ack_i wb_ack_i Input 1 |
| 147 |
add_interface_port conduit_end wb_cyc_o wb_cyc_o Output 1 |
| 148 |
|
| 149 |
|
| 150 |
# |
| 151 |
# connection point interrupt_sender |
| 152 |
# |
| 153 |
add_interface interrupt_sender interrupt end |
| 154 |
set_interface_property interrupt_sender associatedAddressablePoint "" |
| 155 |
set_interface_property interrupt_sender associatedClock clock_sink |
| 156 |
set_interface_property interrupt_sender associatedReset reset |
| 157 |
set_interface_property interrupt_sender bridgedReceiverOffset "" |
| 158 |
set_interface_property interrupt_sender bridgesToReceiver "" |
| 159 |
set_interface_property interrupt_sender ENABLED true |
| 160 |
set_interface_property interrupt_sender EXPORT_OF "" |
| 161 |
set_interface_property interrupt_sender PORT_NAME_MAP "" |
| 162 |
set_interface_property interrupt_sender CMSIS_SVD_VARIABLES "" |
| 163 |
set_interface_property interrupt_sender SVD_ADDRESS_GROUP "" |
| 164 |
|
| 165 |
add_interface_port interrupt_sender intr irq Output 1 |
| 166 |
|
| 167 |
|
| 168 |
# |
| 169 |
# connection point clock_sink |
| 170 |
# |
| 171 |
add_interface clock_sink clock end |
| 172 |
set_interface_property clock_sink clockRate 0 |
| 173 |
set_interface_property clock_sink ENABLED true |
| 174 |
set_interface_property clock_sink EXPORT_OF "" |
| 175 |
set_interface_property clock_sink PORT_NAME_MAP "" |
| 176 |
set_interface_property clock_sink CMSIS_SVD_VARIABLES "" |
| 177 |
set_interface_property clock_sink SVD_ADDRESS_GROUP "" |
| 178 |
|
| 179 |
add_interface_port clock_sink clock clk Input 1 |