- #Setup.tcl
- # Setup pin setting
- set_global_assignment -name RESERVE_ALL_UNUSED_PINS "As input tri-stated"
- set_global_assignment -name ENABLE_INIT_DONE_OUTPUT OFF
- set_location_assignment PIN_23 -to clk1
- set_location_assignment PIN_24 -to clk2
- set_location_assignment PIN_132 -to clk3
- set_location_assignment PIN_131 -to clk4
- set_location_assignment PIN_129 -to user_PB[1]
- set_location_assignment PIN_130 -to user_PB[0]
- set_location_assignment PIN_28 -to user_PB[3]
- set_location_assignment PIN_27 -to user_PB[2]
- #Bank1
- set_location_assignment PIN_3 -to pld_CLEAR_n
- set_location_assignment PIN_4 -to VS1_IO15
- set_location_assignment PIN_5 -to VS1_IO16
- set_location_assignment PIN_6 -to VS1_IO17
- set_location_assignment PIN_8 -to VS1_IO18
- set_location_assignment PIN_10 -to VS1_IO19
- set_location_assignment PIN_11 -to VS1_IO20
- set_location_assignment PIN_12 -to VS1_IO21
- set_location_assignment PIN_13 -to VS1_IO22
- set_location_assignment PIN_14 -to VS1_IO23
- set_location_assignment PIN_15 -to VS1_IO24
- set_location_assignment PIN_30 -to sdram_D[0]
- set_location_assignment PIN_31 -to sdram_D[1]
- set_location_assignment PIN_33 -to sdram_D[2]
- set_location_assignment PIN_34 -to sdram_D[3]
- set_location_assignment PIN_35 -to sdram_D[4]
- set_location_assignment PIN_37 -to sdram_D[15]
- set_location_assignment PIN_39 -to sdram_D[14]
- set_location_assignment PIN_40 -to sdram_D[13]
- set_location_assignment PIN_41 -to sdram_D[12]
- set_location_assignment PIN_43 -to sdram_D[11]
- set_location_assignment PIN_44 -to sdram_D[10]
- set_location_assignment PIN_45 -to sdram_D[9]
- set_location_assignment PIN_46 -to sdram_D[8]
- set_location_assignment PIN_47 -to sdram_DQM[1]
- set_location_assignment PIN_48 -to sdram_CLK
- #Bank2
- set_location_assignment PIN_160 -to LED[1]
- set_location_assignment PIN_161 -to LED[0]
- set_location_assignment PIN_162 -to IrDA_TX
- set_location_assignment PIN_163 -to Buzzer
- set_location_assignment PIN_164 -to HC_CP
- set_location_assignment PIN_165 -to HC_SI
- set_location_assignment PIN_168 -to LCM_D[7]
- set_location_assignment PIN_169 -to LCM_D[6]
- set_location_assignment PIN_170 -to LCM_D[5]
- set_location_assignment PIN_171 -to LCM_D[4]
- set_location_assignment PIN_173 -to LCM_D[3]
- set_location_assignment PIN_175 -to LCM_D[2]
- set_location_assignment PIN_176 -to LCM_D[1]
- set_location_assignment PIN_179 -to LCM_D[0]
- set_location_assignment PIN_180 -to LCM_RS
- set_location_assignment PIN_181 -to LCM_EN
- set_location_assignment PIN_182 -to LCM_RW
- set_location_assignment PIN_185 -to VGA_B
- set_location_assignment PIN_187 -to VGA_G
- set_location_assignment PIN_188 -to VGA_R
- set_location_assignment PIN_189 -to VGA_HS
- set_location_assignment PIN_191 -to VGA_VS
- set_location_assignment PIN_192 -to PS2_TATA
- set_location_assignment PIN_193 -to PS2_CLK
- set_location_assignment PIN_195 -to I2C_sda
- set_location_assignment PIN_197 -to I2C_clk
- set_location_assignment PIN_198 -to VS1_IO6
- set_location_assignment PIN_199 -to VS1_IO7
- set_location_assignment PIN_200 -to VS1_IO8
- set_location_assignment PIN_201 -to VS1_IO9
- set_location_assignment PIN_203 -to VS1_IO10
- set_location_assignment PIN_205 -to VS1_IO11
- set_location_assignment PIN_206 -to VS1_IO12
- set_location_assignment PIN_207 -to VS1_IO13
- set_location_assignment PIN_208 -to VS1_IO14
- #Bank3
- set_location_assignment PIN_105 -to FA[13]
- set_location_assignment PIN_106 -to FA[12]
- set_location_assignment PIN_107 -to Flash_CSn
- set_location_assignment PIN_108 -to FA[11]
- set_location_assignment PIN_110 -to FA[10]
- set_location_assignment PIN_112 -to FA[9]
- set_location_assignment PIN_113 -to FA[8]
- set_location_assignment PIN_114 -to FA[7]
- set_location_assignment PIN_115 -to FA[6]
- set_location_assignment PIN_116 -to FA[5]
- set_location_assignment PIN_117 -to FA[4]
- set_location_assignment PIN_118 -to FA[3]
- set_location_assignment PIN_127 -to Flash_WEn
- set_location_assignment PIN_128 -to Flash_OEn
- set_location_assignment PIN_133 -to FD[7]
- set_location_assignment PIN_134 -to FD[6]
- set_location_assignment PIN_135 -to FD[5]
- set_location_assignment PIN_137 -to FD[4]
- set_location_assignment PIN_138 -to FD[3]
- set_location_assignment PIN_139 -to FD[2]
- set_location_assignment PIN_141 -to FD[1]
- set_location_assignment PIN_142 -to FD[0]
- set_location_assignment PIN_143 -to FA[0]
- set_location_assignment PIN_144 -to FA[2]
- set_location_assignment PIN_145 -to FA[1]
- set_location_assignment PIN_146 -to LED[7]
- set_location_assignment PIN_147 -to LED[6]
- set_location_assignment PIN_149 -to LED[5]
- set_location_assignment PIN_150 -to LED[4]
- set_location_assignment PIN_151 -to LED[3]
- set_location_assignment PIN_152 -to LED[2]
- #Bank4
- set_location_assignment PIN_56 -to sdram_CKE
- set_location_assignment PIN_57 -to sdram_A[12]
- set_location_assignment PIN_58 -to sdram_A[11]
- set_location_assignment PIN_59 -to sdram_A[9]
- set_location_assignment PIN_60 -to sdram_A[8]
- set_location_assignment PIN_61 -to sdram_A[7]
- set_location_assignment PIN_63 -to sdram_A[6]
- set_location_assignment PIN_64 -to sdram_A[5]
- set_location_assignment PIN_67 -to sdram_A[4]
- set_location_assignment PIN_68 -to sdram_D[5]
- set_location_assignment PIN_69 -to sdram_D[6]
- set_location_assignment PIN_70 -to sdram_D[7]
- set_location_assignment PIN_72 -to sdram_DQM[0]
- set_location_assignment PIN_74 -to sdram_WEn
- set_location_assignment PIN_75 -to sdram_CASn
- set_location_assignment PIN_76 -to sdram_RASn
- set_location_assignment PIN_77 -to sdram_CSn
- set_location_assignment PIN_80 -to sdram_BA[0]
- set_location_assignment PIN_81 -to sdram_BA[1]
- set_location_assignment PIN_82 -to sdram_A[10]
- set_location_assignment PIN_84 -to sdram_A[0]
- set_location_assignment PIN_86 -to sdram_A[1]
- set_location_assignment PIN_87 -to sdram_A[2]
- set_location_assignment PIN_88 -to sdram_A[3]
- set_location_assignment PIN_89 -to IrDA_Rx
- set_location_assignment PIN_90 -to Uart_T
- set_location_assignment PIN_92 -to Uart_R
- set_location_assignment PIN_94 -to FA[22]
- set_location_assignment PIN_95 -to FA[21]
- set_location_assignment PIN_96 -to FA[20]
- set_location_assignment PIN_97 -to FA[19]
- set_location_assignment PIN_99 -to FA[18]
- set_location_assignment PIN_101 -to FA[17]
- set_location_assignment PIN_102 -to FA[16]
- set_location_assignment PIN_103 -to FA[15]
- set_location_assignment PIN_104 -to FA[14]