📄 setup_cyclone_1c20.tcl
字号:
# Load Quartus II Tcl Project package
package require ::quartus::project
set_global_assignment -name FAMILY Cyclone
set_global_assignment -name DEVICE EP1C20F400C7
set_global_assignment -name RESERVE_ALL_UNUSED_PINS "AS INPUT TRI-STATED"
set_location_assignment PIN_D13 -to CF_ATASEL_N
set_location_assignment PIN_U19 -to CF_CS_N
set_location_assignment PIN_M13 -to CF_POWER
set_location_assignment PIN_B13 -to CF_PRESENT_N
set_location_assignment PIN_J13 -to CTS\[1\]
set_location_assignment PIN_M16 -to DCD\[1\]
set_location_assignment PIN_M20 -to DSR\[1\]
set_location_assignment PIN_M15 -to DTR\[1\]
set_location_assignment PIN_V7 -to Display_7_Segment\[0\]
set_location_assignment PIN_T6 -to Display_7_Segment\[10\]
set_location_assignment PIN_W5 -to Display_7_Segment\[11\]
set_location_assignment PIN_V5 -to Display_7_Segment\[12\]
set_location_assignment PIN_U5 -to Display_7_Segment\[13\]
set_location_assignment PIN_T5 -to Display_7_Segment\[14\]
set_location_assignment PIN_Y6 -to Display_7_Segment\[15\]
set_location_assignment PIN_T8 -to Display_7_Segment\[1\]
set_location_assignment PIN_R7 -to Display_7_Segment\[2\]
set_location_assignment PIN_Y7 -to Display_7_Segment\[3\]
set_location_assignment PIN_W7 -to Display_7_Segment\[4\]
set_location_assignment PIN_V6 -to Display_7_Segment\[5\]
set_location_assignment PIN_U6 -to Display_7_Segment\[6\]
set_location_assignment PIN_U7 -to Display_7_Segment\[7\]
set_location_assignment PIN_W6 -to Display_7_Segment\[8\]
set_location_assignment PIN_T7 -to Display_7_Segment\[9\]
set_location_assignment PIN_A14 -to ENET_ADS_N
set_location_assignment PIN_B15 -to ENET_AEN
set_location_assignment PIN_C16 -to ENET_BE_N\[0\]
set_location_assignment PIN_B16 -to ENET_BE_N\[1\]
set_location_assignment PIN_D16 -to ENET_BE_N\[2\]
set_location_assignment PIN_E16 -to ENET_BE_N\[3\]
set_location_assignment PIN_B17 -to ENET_CYCLE_N
set_location_assignment PIN_C15 -to ENET_DATACS_N
set_location_assignment PIN_D15 -to ENET_INTRQ\[0\]
set_location_assignment PIN_F14 -to ENET_IOCHRDY
set_location_assignment PIN_A15 -to ENET_IOR_N
set_location_assignment PIN_E15 -to ENET_IOW_N
set_location_assignment PIN_C17 -to ENET_LCLK
set_location_assignment PIN_D3 -to ENET_LDEV_N
set_location_assignment PIN_B18 -to ENET_RDYRTN_N
set_location_assignment PIN_M8 -to ENET_SRDY_N
set_location_assignment PIN_A17 -to ENET_W_R_N
set_location_assignment PIN_A12 -to FLASH_CS_N
set_location_assignment PIN_B12 -to FLASH_OE_N
set_location_assignment PIN_D12 -to FLASH_RW_N
set_location_assignment PIN_C12 -to FLASH_RY_BY_N
set_location_assignment PIN_B4 -to FSE_A\[0\]
set_location_assignment PIN_E4 -to FSE_A\[10\]
set_location_assignment PIN_E5 -to FSE_A\[11\]
set_location_assignment PIN_F3 -to FSE_A\[12\]
set_location_assignment PIN_E3 -to FSE_A\[13\]
set_location_assignment PIN_E2 -to FSE_A\[14\]
set_location_assignment PIN_F4 -to FSE_A\[15\]
set_location_assignment PIN_F5 -to FSE_A\[16\]
set_location_assignment PIN_F2 -to FSE_A\[17\]
set_location_assignment PIN_F1 -to FSE_A\[18\]
set_location_assignment PIN_F6 -to FSE_A\[19\]
set_location_assignment PIN_A4 -to FSE_A\[1\]
set_location_assignment PIN_G5 -to FSE_A\[20\]
set_location_assignment PIN_G1 -to FSE_A\[21\]
set_location_assignment PIN_G2 -to FSE_A\[22\]
set_location_assignment PIN_D5 -to FSE_A\[2\]
set_location_assignment PIN_D6 -to FSE_A\[3\]
set_location_assignment PIN_C5 -to FSE_A\[4\]
set_location_assignment PIN_B5 -to FSE_A\[5\]
set_location_assignment PIN_C2 -to FSE_A\[6\]
set_location_assignment PIN_D2 -to FSE_A\[7\]
set_location_assignment PIN_D4 -to FSE_A\[8\]
set_location_assignment PIN_D1 -to FSE_A\[9\]
set_location_assignment PIN_C6 -to FSE_D\[0\]
set_location_assignment PIN_F8 -to FSE_D\[10\]
set_location_assignment PIN_E8 -to FSE_D\[11\]
set_location_assignment PIN_B8 -to FSE_D\[12\]
set_location_assignment PIN_A8 -to FSE_D\[13\]
set_location_assignment PIN_D8 -to FSE_D\[14\]
set_location_assignment PIN_C8 -to FSE_D\[15\]
set_location_assignment PIN_B9 -to FSE_D\[16\]
set_location_assignment PIN_A9 -to FSE_D\[17\]
set_location_assignment PIN_D9 -to FSE_D\[18\]
set_location_assignment PIN_C9 -to FSE_D\[19\]
set_location_assignment PIN_E6 -to FSE_D\[1\]
set_location_assignment PIN_E9 -to FSE_D\[20\]
set_location_assignment PIN_E10 -to FSE_D\[21\]
set_location_assignment PIN_B10 -to FSE_D\[22\]
set_location_assignment PIN_A10 -to FSE_D\[23\]
set_location_assignment PIN_F10 -to FSE_D\[24\]
set_location_assignment PIN_C10 -to FSE_D\[25\]
set_location_assignment PIN_D10 -to FSE_D\[26\]
set_location_assignment PIN_C11 -to FSE_D\[27\]
set_location_assignment PIN_D11 -to FSE_D\[28\]
set_location_assignment PIN_B11 -to FSE_D\[29\]
set_location_assignment PIN_B6 -to FSE_D\[2\]
set_location_assignment PIN_A11 -to FSE_D\[30\]
set_location_assignment PIN_E11 -to FSE_D\[31\]
set_location_assignment PIN_A6 -to FSE_D\[3\]
set_location_assignment PIN_F7 -to FSE_D\[4\]
set_location_assignment PIN_E7 -to FSE_D\[5\]
set_location_assignment PIN_B7 -to FSE_D\[6\]
set_location_assignment PIN_A7 -to FSE_D\[7\]
set_location_assignment PIN_D7 -to FSE_D\[8\]
set_location_assignment PIN_C7 -to FSE_D\[9\]
set_location_assignment PIN_C3 -to INIT_DONE
set_location_assignment PIN_H14 -to LCD\[0\]
set_location_assignment PIN_J14 -to LCD\[1\]
set_location_assignment PIN_J17 -to LCD\[2\]
set_location_assignment PIN_J18 -to LCD\[3\]
set_location_assignment PIN_K15 -to LCD\[4\]
set_location_assignment PIN_W18 -to LCD\[5\]
set_location_assignment PIN_V18 -to LCD\[6\]
set_location_assignment PIN_V19 -to LCD\[7\]
set_location_assignment PIN_J19 -to LCD_RW
set_location_assignment PIN_J15 -to LCD_RS
set_location_assignment PIN_J20 -to LCD_E
set_location_assignment PIN_E14 -to LEDG\[0\]
set_location_assignment PIN_E13 -to LEDG\[1\]
set_location_assignment PIN_C14 -to LEDG\[2\]
set_location_assignment PIN_D14 -to LEDG\[3\]
set_location_assignment PIN_E12 -to LEDG\[4\]
set_location_assignment PIN_F12 -to LEDG\[5\]
set_location_assignment PIN_B3 -to LEDG\[6\]
set_location_assignment PIN_B14 -to LEDG\[7\]
set_location_assignment PIN_M17 -to TR_CLK
set_location_assignment PIN_P16 -to TR_DEBUGACK
set_location_assignment PIN_M18 -to TR_DEBUGREQ
set_location_assignment PIN_P17 -to TR_TRIGOUT
set_location_assignment PIN_U17 -to TR_DATA\[0\]
set_location_assignment PIN_T18 -to TR_DATA\[1\]
set_location_assignment PIN_T19 -to TR_DATA\[2\]
set_location_assignment PIN_T17 -to TR_DATA\[3\]
set_location_assignment PIN_R16 -to TR_DATA\[4\]
set_location_assignment PIN_R19 -to TR_DATA\[5\]
set_location_assignment PIN_R20 -to TR_DATA\[6\]
set_location_assignment PIN_R17 -to TR_DATA\[7\]
set_location_assignment PIN_R18 -to TR_DATA\[8\]
set_location_assignment PIN_R15 -to TR_DATA\[9\]
set_location_assignment PIN_P14 -to TR_DATA\[10\]
set_location_assignment PIN_P18 -to TR_DATA\[11\]
set_location_assignment PIN_P15 -to TR_DATA\[12\]
set_location_assignment PIN_P19 -to TR_DATA\[13\]
set_location_assignment PIN_P20 -to TR_DATA\[14\]
set_location_assignment PIN_N14 -to TR_DATA\[15\]
set_location_assignment PIN_N18 -to TR_DATA\[16\]
set_location_assignment PIN_N17 -to TR_DATA\[17\]
set_location_assignment PIN_L4 -to PLD_ASDO
set_location_assignment PIN_L5 -to PLD_CE_N
set_location_assignment PIN_C4 -to PLD_CLEAR_N
set_location_assignment PIN_L14 -to PLD_CLKFB
set_location_assignment PIN_L8 -to PLD_CLKOUT
set_location_assignment PIN_K5 -to PLD_CLOCKINPUT\[1\]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -