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