2
0

v2.qsf 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. # -*- tcl -*-
  2. set_global_assignment -name TOP_LEVEL_ENTITY v2
  3. set_global_assignment -name SOURCE_FILE output/v2.jic.cof
  4. set_global_assignment -name SYSTEMVERILOG_FILE v2.sv
  5. set_global_assignment -name SOURCE_TCL_SCRIPT_FILE v2_common.qsf
  6. set_global_assignment -name SOURCE_FILE v2.pins
  7. set_global_assignment -name VERILOG_FILE ip/pll2_16.v
  8. set_global_assignment -name QIP_FILE ip/pll2_16.qip
  9. set_global_assignment -name VERILOG_INCLUDE_FILE v2.vh
  10. set_global_assignment -name SOURCE_TCL_SCRIPT_FILE max80.qsf
  11. set_global_assignment -name FAMILY "Cyclone IV E"
  12. set_global_assignment -name DEVICE EP4CE15F17C8
  13. set_global_assignment -name ORIGINAL_QUARTUS_VERSION 21.1.0
  14. set_global_assignment -name PROJECT_CREATION_TIME_DATE "16:21:14 DECEMBER 22, 2021"
  15. set_global_assignment -name LAST_QUARTUS_VERSION "21.1.0 Lite Edition"
  16. set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output
  17. set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
  18. set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
  19. set_global_assignment -name DEVICE_FILTER_PACKAGE EQFP
  20. set_global_assignment -name DEVICE_FILTER_PIN_COUNT 144
  21. set_global_assignment -name DEVICE_FILTER_SPEED_GRADE 8
  22. set_global_assignment -name ERROR_CHECK_FREQUENCY_DIVISOR 256
  23. set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_timing
  24. set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_symbol
  25. set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_signal_integrity
  26. set_global_assignment -name EDA_GENERATE_FUNCTIONAL_NETLIST OFF -section_id eda_board_design_boundary_scan
  27. set_global_assignment -name DEVICE_MIGRATION_LIST EP4CE15F17C8
  28. set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
  29. set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
  30. set_global_assignment -name VCCA_USER_VOLTAGE 2.5V
  31. set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "NO HEAT SINK WITH STILL AIR"
  32. set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
  33. set_global_assignment -name POWER_DEFAULT_INPUT_IO_TOGGLE_RATE "12.5 %"
  34. set_global_assignment -name VHDL_INPUT_VERSION VHDL_2008
  35. set_global_assignment -name VHDL_SHOW_LMF_MAPPING_MESSAGES OFF
  36. set_global_assignment -name VERILOG_INPUT_VERSION SYSTEMVERILOG_2005
  37. set_global_assignment -name VERILOG_SHOW_LMF_MAPPING_MESSAGES OFF
  38. set_global_assignment -name REMOVE_REDUNDANT_LOGIC_CELLS ON
  39. set_global_assignment -name HDL_MESSAGE_LEVEL LEVEL3
  40. set_global_assignment -name SYNTH_PROTECT_SDC_CONSTRAINT ON
  41. set_global_assignment -name SYNTH_MESSAGE_LEVEL HIGH
  42. set_global_assignment -name OPTIMIZE_IOC_REGISTER_PLACEMENT_FOR_TIMING "PACK ALL IO REGISTERS"
  43. set_global_assignment -name MUX_RESTRUCTURE AUTO
  44. set_global_assignment -name WEAK_PULL_UP_RESISTOR ON
  45. set_global_assignment -name ENABLE_OCT_DONE OFF
  46. set_global_assignment -name ENABLE_CONFIGURATION_PINS OFF
  47. set_global_assignment -name ENABLE_BOOT_SEL_PIN OFF
  48. set_global_assignment -name USE_CONFIGURATION_DEVICE ON
  49. set_global_assignment -name INTERNAL_FLASH_UPDATE_MODE "SINGLE COMP IMAGE"
  50. set_global_assignment -name STRATIXIII_UPDATE_MODE REMOTE
  51. set_global_assignment -name CRC_ERROR_OPEN_DRAIN OFF
  52. set_global_assignment -name GENERATE_JBC_FILE ON
  53. set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL"
  54. set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -rise
  55. set_global_assignment -name OUTPUT_IO_TIMING_NEAR_END_VMEAS "HALF VCCIO" -fall
  56. set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -rise
  57. set_global_assignment -name OUTPUT_IO_TIMING_FAR_END_VMEAS "HALF SIGNAL SWING" -fall
  58. set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to sr_clk
  59. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to clock_*
  60. set_global_assignment -name IOBANK_VCCIO 3.3V -section_id 6
  61. set_global_assignment -name IOBANK_VCCIO 2.5V -section_id 5
  62. set_instance_assignment -name IO_STANDARD LVDS -to hdmi_d[2]
  63. set_instance_assignment -name IO_STANDARD LVDS -to hdmi_d[1]
  64. set_instance_assignment -name IO_STANDARD LVDS -to hdmi_d[0]
  65. set_instance_assignment -name IO_STANDARD LVDS -to hdmi_clk
  66. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to hdmi_clk
  67. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to hdmi_d[2]
  68. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to hdmi_d[1]
  69. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to hdmi_d[0]
  70. set_global_assignment -name IOBANK_VCCIO 3.3V -section_id 2
  71. set_global_assignment -name IOBANK_VCCIO 3.3V -section_id 1
  72. set_global_assignment -name IOBANK_VCCIO 3.3V -section_id 8
  73. set_global_assignment -name IOBANK_VCCIO 3.3V -section_id 7
  74. set_global_assignment -name IOBANK_VCCIO 3.3V -section_id 4
  75. set_global_assignment -name IOBANK_VCCIO 3.3V -section_id 3
  76. set_global_assignment -name CYCLONEII_RESERVE_NCEO_AFTER_CONFIGURATION "USE AS REGULAR IO"
  77. set_global_assignment -name RESERVE_DATA0_AFTER_CONFIGURATION "USE AS REGULAR IO"
  78. set_global_assignment -name RESERVE_DATA1_AFTER_CONFIGURATION "USE AS REGULAR IO"
  79. set_global_assignment -name RESERVE_FLASH_NCE_AFTER_CONFIGURATION "USE AS REGULAR IO"
  80. set_global_assignment -name RESERVE_DCLK_AFTER_CONFIGURATION "USE AS REGULAR IO"
  81. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to flash_clk
  82. set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to flash_cs_n
  83. set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to board_id
  84. set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to led[1]
  85. set_global_assignment -name CYCLONEIII_CONFIGURATION_DEVICE EPCQ128A
  86. set_global_assignment -name FORCE_CONFIGURATION_VCCIO ON
  87. set_global_assignment -name CONFIGURATION_VCCIO_LEVEL 3.3V
  88. set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED WITH WEAK PULL-UP"
  89. set_global_assignment -name PRE_FLOW_SCRIPT_FILE "quartus_sh:scripts/preflow.tcl"
  90. set_global_assignment -name POST_MODULE_SCRIPT_FILE "quartus_sh:scripts/postmodule.tcl"
  91. set_global_assignment -name OPTIMIZATION_MODE "AGGRESSIVE PERFORMANCE"
  92. set_global_assignment -name AUTO_RAM_TO_LCELL_CONVERSION ON
  93. set_global_assignment -name SYNTH_GATED_CLOCK_CONVERSION ON
  94. set_global_assignment -name PRE_MAPPING_RESYNTHESIS ON
  95. set_global_assignment -name ROUTER_CLOCKING_TOPOLOGY_ANALYSIS ON
  96. set_global_assignment -name QII_AUTO_PACKED_REGISTERS "SPARSE AUTO"
  97. set_global_assignment -name SAVE_DISK_SPACE OFF
  98. set_global_assignment -name TIMING_ANALYZER_MULTICORNER_ANALYSIS ON
  99. set_global_assignment -name SMART_RECOMPILE ON
  100. set_global_assignment -name EDA_TEST_BENCH_NAME testclk -section_id eda_simulation
  101. set_global_assignment -name EDA_DESIGN_INSTANCE_NAME max80 -section_id testclk
  102. set_global_assignment -name EDA_TEST_BENCH_RUN_SIM_FOR "1 ms" -section_id testclk
  103. set_global_assignment -name EDA_TEST_BENCH_MODULE_NAME testclk -section_id testclk
  104. set_global_assignment -name EDA_TEST_BENCH_FILE simulation/testclk.sv -section_id testclk
  105. set_global_assignment -name EDA_NATIVELINK_PORTABLE_FILE_PATHS ON -section_id eda_simulation
  106. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to rtc_32khz
  107. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to exth_hc
  108. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to exth_hh
  109. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to altera_reserved_tdo
  110. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to altera_reserved_tck
  111. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to altera_reserved_tdi
  112. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to altera_reserved_tms
  113. set_global_assignment -name OCP_HW_EVAL DISABLE
  114. set_global_assignment -name TIMING_ANALYZER_DO_REPORT_TIMING ON
  115. set_global_assignment -name READ_OR_WRITE_IN_BYTE_ADDRESS ON
  116. set_global_assignment -name POWER_REPORT_POWER_DISSIPATION ON
  117. set_global_assignment -name POWER_USE_DEVICE_CHARACTERISTICS MAXIMUM
  118. set_global_assignment -name POWER_USE_TA_VALUE 35
  119. set_location_assignment PLL_3 -to "max80:max80|pll3:pll3|altpll:altpll_component|pll3_altpll:auto_generated|pll1"
  120. set_location_assignment PLL_4 -to "max80:max80|pll4:pll4|altpll:altpll_component|pll4_altpll:auto_generated|pll1"
  121. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[15]
  122. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[14]
  123. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[13]
  124. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[12]
  125. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[11]
  126. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[10]
  127. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[9]
  128. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[8]
  129. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[7]
  130. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[6]
  131. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[5]
  132. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[4]
  133. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[3]
  134. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[2]
  135. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[1]
  136. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to sr_dq[0]
  137. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to rngio[0]
  138. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to rngio[1]
  139. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to rngio[2]
  140. set_global_assignment -name VERILOG_FILE usb/usb_desc.v
  141. set_global_assignment -name SYSTEMVERILOG_FILE usb/usb_serial/src_v/usb_cdc_core.sv
  142. set_global_assignment -name SYSTEMVERILOG_FILE usb/usb_serial/src_v/usbf_device_core.sv
  143. set_global_assignment -name SYSTEMVERILOG_FILE rng.sv
  144. set_global_assignment -name QIP_FILE ip/int_osc/synthesis/int_osc.qip
  145. set_global_assignment -name VERILOG_FILE ip/pll4.v
  146. set_global_assignment -name VERILOG_FILE ip/pll3.v
  147. set_global_assignment -name VERILOG_FILE usb/usb_fs_phy/src_v/usb_fs_phy.v
  148. set_global_assignment -name VERILOG_FILE usb/usb_serial/src_v/usbf_sie_tx.v
  149. set_global_assignment -name VERILOG_FILE usb/usb_serial/src_v/usbf_sie_rx.v
  150. set_global_assignment -name VERILOG_FILE usb/usb_serial/src_v/usbf_defs.v
  151. set_global_assignment -name VERILOG_FILE usb/usb_serial/src_v/usbf_crc16.v
  152. set_global_assignment -name SYSTEMVERILOG_FILE usb/usb.sv
  153. set_global_assignment -name VERILOG_FILE ip/statusram.v
  154. set_global_assignment -name VERILOG_INCLUDE_FILE iodevs.vh
  155. set_global_assignment -name SYSTEMVERILOG_FILE serial.sv
  156. set_global_assignment -name SYSTEMVERILOG_FILE sdcard.sv
  157. set_global_assignment -name SYSTEMVERILOG_FILE sysclock.sv
  158. set_global_assignment -name SYSTEMVERILOG_FILE i2c.sv
  159. set_global_assignment -name SYSTEMVERILOG_FILE abcbus.sv
  160. set_global_assignment -name VERILOG_FILE ip/abcmapram.v
  161. set_global_assignment -name SYSTEMVERILOG_FILE fast_mem.sv
  162. set_global_assignment -name MIF_FILE mif/sram.mif
  163. set_global_assignment -name VERILOG_FILE picorv32.v
  164. set_global_assignment -name SYSTEMVERILOG_FILE functions.sv
  165. set_global_assignment -name SYSTEMVERILOG_FILE spi_master.sv
  166. set_global_assignment -name SYSTEMVERILOG_FILE sdram.sv
  167. set_global_assignment -name SYSTEMVERILOG_FILE spirom.sv
  168. set_global_assignment -name SYSTEMVERILOG_FILE clkbuf.sv
  169. set_global_assignment -name VERILOG_FILE ip/ddio_out.v
  170. set_global_assignment -name TCL_SCRIPT_FILE scripts/post_quartus_asm.tcl
  171. set_global_assignment -name TCL_SCRIPT_FILE scripts/postmodule.tcl
  172. set_global_assignment -name VERILOG_FILE ip/hdmitx.v
  173. set_global_assignment -name SYSTEMVERILOG_FILE transpose.sv
  174. set_global_assignment -name SYSTEMVERILOG_FILE synchro.sv
  175. set_global_assignment -name SYSTEMVERILOG_FILE tmdsenc.sv
  176. set_global_assignment -name SYSTEMVERILOG_FILE video.sv
  177. set_global_assignment -name SDC_FILE max80.sdc
  178. set_global_assignment -name SYSTEMVERILOG_FILE max80.sv
  179. set_global_assignment -name SOURCE_TCL_SCRIPT_FILE scripts/pins.tcl
  180. set_global_assignment -name VERILOG_FILE ip/fifo.v
  181. set_global_assignment -name VERILOG_FILE ip/ddufifo.v
  182. set_global_assignment -name VERILOG_FILE ip/cdc_txfifo.v
  183. set_global_assignment -name VERILOG_FILE ip/cdc_rxfifo.v
  184. set_global_assignment -name QIP_FILE ip/cdc_txfifo.qip
  185. set_global_assignment -name QIP_FILE ip/cdc_rxfifo.qip
  186. set_global_assignment -name SYSTEMVERILOG_FILE vjtag_max80.sv
  187. set_global_assignment -name VERILOG_FILE ip/vjtag/synthesis/vjtag.v
  188. set_global_assignment -name QIP_FILE ip/vjtag/synthesis/vjtag.qip
  189. set_global_assignment -name SYSTEMVERILOG_FILE fpgarst.sv
  190. set_global_assignment -name VERILOG_FILE ip/altera_remote_update_core.v
  191. set_instance_assignment -name IO_STANDARD "BUS LVDS" -to usb_rx
  192. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to usb_rx
  193. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to usb_dp
  194. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to usb_dn
  195. set_instance_assignment -name WEAK_PULL_UP_RESISTOR OFF -to usb_pu
  196. set_instance_assignment -name TERMINATION OFF -to usb_rx
  197. set_instance_assignment -name IO_STANDARD "2.5 V" -to sd_cd_n
  198. set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to sd_cd_n
  199. # Quartus insists on this line...
  200. set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
  201. set_global_assignment -name EDA_SIMULATION_TOOL "Questa Intel FPGA (SystemVerilog)"
  202. set_global_assignment -name EDA_MAP_ILLEGAL_CHARACTERS ON -section_id eda_simulation
  203. set_global_assignment -name EDA_TIME_SCALE "1 ps" -section_id eda_simulation
  204. set_global_assignment -name EDA_OUTPUT_DATA_FORMAT "SYSTEMVERILOG HDL" -section_id eda_simulation
  205. set_global_assignment -name EDA_WRITE_NODES_FOR_POWER_ESTIMATION ALL_NODES -section_id eda_simulation
  206. set_global_assignment -name EDA_TEST_BENCH_ENABLE_STATUS TEST_BENCH_MODE -section_id eda_simulation
  207. set_global_assignment -name EDA_NATIVELINK_SIMULATION_TEST_BENCH testclk -section_id eda_simulation
  208. set_global_assignment -name EDA_TEST_BENCH_DESIGN_INSTANCE_NAME max80 -section_id eda_simulation
  209. set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top