# Pinouts for DE1 # FPGA DEVICE EP2C20F484C7 # Pin & Location Assignments # ========================== ######### VERY IMPORTANT NOTE ######### # When you use the output lights and input switches # with a subscripted name such as LEDR[2] # you CANNOT skip or have any gaps in the subscripts # that you use. For example, you cannot use just # LEDR[0] and LEDR[2] without also using LEDR[1]. # Otherwise the lights will not turn on #Clocks set_location_assignment PIN_L1 -to CLOCK_50 set_location_assignment PIN_D12 -to CLOCK_27 set_location_assignment PIN_E12 -to CLOCK_27B set_location_assignment PIN_A12 -to CLOCK_24 set_location_assignment PIN_B12 -to CLOCK_24B set_location_assignment PIN_M21 -to EXT_CLOCK #push-button keys set_location_assignment PIN_R22 -to KEY[0] set_location_assignment PIN_R21 -to KEY[1] set_location_assignment PIN_T22 -to KEY[2] set_location_assignment PIN_T21 -to KEY[3] #input switches set_location_assignment PIN_L22 -to SW[0] set_location_assignment PIN_L21 -to SW[1] set_location_assignment PIN_M22 -to SW[2] set_location_assignment PIN_V12 -to SW[3] set_location_assignment PIN_W12 -to SW[4] set_location_assignment PIN_U12 -to SW[5] set_location_assignment PIN_U11 -to SW[6] set_location_assignment PIN_M2 -to SW[7] set_location_assignment PIN_M1 -to SW[8] set_location_assignment PIN_L2 -to SW[9] #Green LEDs set_location_assignment PIN_U22 -to LEDG[0] set_location_assignment PIN_U21 -to LEDG[1] set_location_assignment PIN_V22 -to LEDG[2] set_location_assignment PIN_V21 -to LEDG[3] set_location_assignment PIN_W22 -to LEDG[4] set_location_assignment PIN_W21 -to LEDG[5] set_location_assignment PIN_Y22 -to LEDG[6] set_location_assignment PIN_Y21 -to LEDG[7] #Red LEDs set_location_assignment PIN_R20 -to LEDR[0] set_location_assignment PIN_R19 -to LEDR[1] set_location_assignment PIN_U19 -to LEDR[2] set_location_assignment PIN_Y19 -to LEDR[3] set_location_assignment PIN_T18 -to LEDR[4] set_location_assignment PIN_V19 -to LEDR[5] set_location_assignment PIN_Y18 -to LEDR[6] set_location_assignment PIN_U18 -to LEDR[7] set_location_assignment PIN_R18 -to LEDR[8] set_location_assignment PIN_R17 -to LEDR[9] #Seven-segment display set_location_assignment PIN_J2 -to HEX0[0] set_location_assignment PIN_J1 -to HEX0[1] set_location_assignment PIN_H2 -to HEX0[2] set_location_assignment PIN_H1 -to HEX0[3] set_location_assignment PIN_F2 -to HEX0[4] set_location_assignment PIN_F1 -to HEX0[5] set_location_assignment PIN_E2 -to HEX0[6] set_location_assignment PIN_E1 -to HEX1[0] set_location_assignment PIN_H6 -to HEX1[1] set_location_assignment PIN_H5 -to HEX1[2] set_location_assignment PIN_H4 -to HEX1[3] set_location_assignment PIN_G3 -to HEX1[4] set_location_assignment PIN_D2 -to HEX1[5] set_location_assignment PIN_D1 -to HEX1[6] set_location_assignment PIN_G5 -to HEX2[0] set_location_assignment PIN_G6 -to HEX2[1] set_location_assignment PIN_C2 -to HEX2[2] set_location_assignment PIN_C1 -to HEX2[3] set_location_assignment PIN_E3 -to HEX2[4] set_location_assignment PIN_E4 -to HEX2[5] set_location_assignment PIN_D3 -to HEX2[6] set_location_assignment PIN_F4 -to HEX3[0] set_location_assignment PIN_D5 -to HEX3[1] set_location_assignment PIN_D6 -to HEX3[2] set_location_assignment PIN_J4 -to HEX3[3] set_location_assignment PIN_L8 -to HEX3[4] set_location_assignment PIN_F3 -to HEX3[5] set_location_assignment PIN_D4 -to HEX3[6] #SRAM set_location_assignment PIN_AA3 -to SRAM_ADDR[0] set_location_assignment PIN_AB3 -to SRAM_ADDR[1] set_location_assignment PIN_AA4 -to SRAM_ADDR[2] set_location_assignment PIN_AB4 -to SRAM_ADDR[3] set_location_assignment PIN_AA5 -to SRAM_ADDR[4] set_location_assignment PIN_AB10 -to SRAM_ADDR[5] set_location_assignment PIN_AA11 -to SRAM_ADDR[6] set_location_assignment PIN_AB11 -to SRAM_ADDR[7] set_location_assignment PIN_V11 -to SRAM_ADDR[8] set_location_assignment PIN_W11 -to SRAM_ADDR[9] set_location_assignment PIN_R11 -to SRAM_ADDR[10] set_location_assignment PIN_T11 -to SRAM_ADDR[11] set_location_assignment PIN_Y10 -to SRAM_ADDR[12] set_location_assignment PIN_U10 -to SRAM_ADDR[13] set_location_assignment PIN_R10 -to SRAM_ADDR[14] set_location_assignment PIN_T7 -to SRAM_ADDR[15] set_location_assignment PIN_Y6 -to SRAM_ADDR[16] set_location_assignment PIN_Y5 -to SRAM_ADDR[17] set_location_assignment PIN_AA6 -to SRAM_DQ[0] set_location_assignment PIN_AB6 -to SRAM_DQ[1] set_location_assignment PIN_AA7 -to SRAM_DQ[2] set_location_assignment PIN_AB7 -to SRAM_DQ[3] set_location_assignment PIN_AA8 -to SRAM_DQ[4] set_location_assignment PIN_AB8 -to SRAM_DQ[5] set_location_assignment PIN_AA9 -to SRAM_DQ[6] set_location_assignment PIN_AB9 -to SRAM_DQ[7] set_location_assignment PIN_Y9 -to SRAM_DQ[8] set_location_assignment PIN_W9 -to SRAM_DQ[9] set_location_assignment PIN_V9 -to SRAM_DQ[10] set_location_assignment PIN_U9 -to SRAM_DQ[11] set_location_assignment PIN_R9 -to SRAM_DQ[12] set_location_assignment PIN_W8 -to SRAM_DQ[13] set_location_assignment PIN_V8 -to SRAM_DQ[14] set_location_assignment PIN_U8 -to SRAM_DQ[15] set_location_assignment PIN_AA10 -to SRAM_WE_N set_location_assignment PIN_T8 -to SRAM_OE_N set_location_assignment PIN_W7 -to SRAM_UB_N set_location_assignment PIN_Y7 -to SRAM_LB_N set_location_assignment PIN_AB5 -to SRAM_CE_N #DRAM set_location_assignment PIN_W4 -to DRAM_ADDR[0] set_location_assignment PIN_W5 -to DRAM_ADDR[1] set_location_assignment PIN_Y3 -to DRAM_ADDR[2] set_location_assignment PIN_Y4 -to DRAM_ADDR[3] set_location_assignment PIN_R6 -to DRAM_ADDR[4] set_location_assignment PIN_R5 -to DRAM_ADDR[5] set_location_assignment PIN_P6 -to DRAM_ADDR[6] set_location_assignment PIN_P5 -to DRAM_ADDR[7] set_location_assignment PIN_P3 -to DRAM_ADDR[8] set_location_assignment PIN_N4 -to DRAM_ADDR[9] set_location_assignment PIN_W3 -to DRAM_ADDR[10] set_location_assignment PIN_N6 -to DRAM_ADDR[11] set_location_assignment PIN_U3 -to DRAM_BA[0] set_location_assignment PIN_V4 -to DRAM_BA[1] set_location_assignment PIN_T3 -to DRAM_CAS_N set_location_assignment PIN_N3 -to DRAM_CKE set_location_assignment PIN_U4 -to DRAM_CLK set_location_assignment PIN_T6 -to DRAM_CS_N set_location_assignment PIN_U1 -to DRAM_DQ[0] set_location_assignment PIN_U2 -to DRAM_DQ[1] set_location_assignment PIN_V1 -to DRAM_DQ[2] set_location_assignment PIN_V2 -to DRAM_DQ[3] set_location_assignment PIN_W1 -to DRAM_DQ[4] set_location_assignment PIN_W2 -to DRAM_DQ[5] set_location_assignment PIN_Y1 -to DRAM_DQ[6] set_location_assignment PIN_Y2 -to DRAM_DQ[7] set_location_assignment PIN_N1 -to DRAM_DQ[8] set_location_assignment PIN_N2 -to DRAM_DQ[9] set_location_assignment PIN_P1 -to DRAM_DQ[10] set_location_assignment PIN_P2 -to DRAM_DQ[11] set_location_assignment PIN_R1 -to DRAM_DQ[12] set_location_assignment PIN_R2 -to DRAM_DQ[13] set_location_assignment PIN_T1 -to DRAM_DQ[14] set_location_assignment PIN_T2 -to DRAM_DQ[15] set_location_assignment PIN_R7 -to DRAM_DQM[0] set_location_assignment PIN_M5 -to DRAM_DQM[1] set_location_assignment PIN_T5 -to DRAM_RAS_N set_location_assignment PIN_R8 -to DRAM_WE_N #Flash memory set_location_assignment PIN_AC18 -to FL_ADDR[0] set_location_assignment PIN_AB18 -to FL_ADDR[1] set_location_assignment PIN_AE19 -to FL_ADDR[2] set_location_assignment PIN_AF19 -to FL_ADDR[3] set_location_assignment PIN_AE18 -to FL_ADDR[4] set_location_assignment PIN_AF18 -to FL_ADDR[5] set_location_assignment PIN_Y16 -to FL_ADDR[6] set_location_assignment PIN_AA16 -to FL_ADDR[7] set_location_assignment PIN_AD17 -to FL_ADDR[8] set_location_assignment PIN_AC17 -to FL_ADDR[9] set_location_assignment PIN_AE17 -to FL_ADDR[10] set_location_assignment PIN_AF17 -to FL_ADDR[11] set_location_assignment PIN_W16 -to FL_ADDR[12] set_location_assignment PIN_W15 -to FL_ADDR[13] set_location_assignment PIN_AC16 -to FL_ADDR[14] set_location_assignment PIN_AD16 -to FL_ADDR[15] set_location_assignment PIN_AE16 -to FL_ADDR[16] set_location_assignment PIN_AC15 -to FL_ADDR[17] set_location_assignment PIN_AB15 -to FL_ADDR[18] set_location_assignment PIN_AA15 -to FL_ADDR[19] set_location_assignment PIN_Y15 -to FL_ADDR[20] set_location_assignment PIN_Y14 -to FL_ADDR[21] set_location_assignment PIN_V17 -to FL_CE_N set_location_assignment PIN_W17 -to FL_OE_N set_location_assignment PIN_AD19 -to FL_DQ[0] set_location_assignment PIN_AC19 -to FL_DQ[1] set_location_assignment PIN_AF20 -to FL_DQ[2] set_location_assignment PIN_AE20 -to FL_DQ[3] set_location_assignment PIN_AB20 -to FL_DQ[4] set_location_assignment PIN_AC20 -to FL_DQ[5] set_location_assignment PIN_AF21 -to FL_DQ[6] set_location_assignment PIN_AE21 -to FL_DQ[7] set_location_assignment PIN_AA18 -to FL_RST_N set_location_assignment PIN_AA17 -to FL_WE_N #PS2 set_location_assignment PIN_H15 -to PS2_CLK set_location_assignment PIN_J14 -to PS2_DAT #UART RS-232 set_location_assignment PIN_F14 -to UART_RXD set_location_assignment PIN_G12 -to UART_TXD set_location_assignment PIN_B14 -to TDI set_location_assignment PIN_A14 -to TCS set_location_assignment PIN_D14 -to TCK set_location_assignment PIN_F14 -to TDO set_location_assignment PIN_C4 -to TD_RESET #VGA set_location_assignment PIN_D9 -to VGA_R[0] set_location_assignment PIN_C9 -to VGA_R[1] set_location_assignment PIN_A7 -to VGA_R[2] set_location_assignment PIN_B7 -to VGA_R[3] set_location_assignment PIN_B8 -to VGA_G[0] set_location_assignment PIN_C10 -to VGA_G[1] set_location_assignment PIN_B9 -to VGA_G[2] set_location_assignment PIN_A8 -to VGA_G[3] set_location_assignment PIN_A9 -to VGA_B[0] set_location_assignment PIN_D11 -to VGA_B[1] set_location_assignment PIN_A10 -to VGA_B[2] set_location_assignment PIN_B10 -to VGA_B[3] set_location_assignment PIN_ -to VGA_CLK set_location_assignment PIN_ -to VGA_BLANK set_location_assignment PIN_A11 -to VGA_HS set_location_assignment PIN_B11 -to VGA_VS set_location_assignment PIN_ -to VGA_SYNC #I2C set_location_assignment PIN_A3 -to I2C_SCLK set_location_assignment PIN_B3 -to I2C_SDAT #Audio set_location_assignment PIN_A6 -to AUD_ADCLRCK set_location_assignment PIN_B6 -to AUD_ADCDAT set_location_assignment PIN_A5 -to AUD_DACLRCK set_location_assignment PIN_B5 -to AUD_DACDAT set_location_assignment PIN_B4 -to AUD_XCK set_location_assignment PIN_A4 -to AUD_BCLK #SD Card set_location_assignment PIN_AD24 -to SD_DAT set_location_assignment PIN_AC23 -to SD_DAT3 set_location_assignment PIN_Y21 -to SD_CMD set_location_assignment PIN_AD25 -to SD_CLK #General Purpose I/O ports set_location_assignment PIN_A13 -to GPIO_0[0] set_location_assignment PIN_B13 -to GPIO_0[1] set_location_assignment PIN_A14 -to GPIO_0[2] set_location_assignment PIN_B14 -to GPIO_0[3] set_location_assignment PIN_A15 -to GPIO_0[4] set_location_assignment PIN_B15 -to GPIO_0[5] set_location_assignment PIN_A16 -to GPIO_0[6] set_location_assignment PIN_B16 -to GPIO_0[7] set_location_assignment PIN_A17 -to GPIO_0[8] set_location_assignment PIN_B17 -to GPIO_0[9] set_location_assignment PIN_A18 -to GPIO_0[10] set_location_assignment PIN_B18 -to GPIO_0[11] set_location_assignment PIN_A19 -to GPIO_0[12] set_location_assignment PIN_B19 -to GPIO_0[13] set_location_assignment PIN_A20 -to GPIO_0[14] set_location_assignment PIN_B20 -to GPIO_0[15] set_location_assignment PIN_C21 -to GPIO_0[16] set_location_assignment PIN_C22 -to GPIO_0[17] set_location_assignment PIN_D21 -to GPIO_0[18] set_location_assignment PIN_D22 -to GPIO_0[19] set_location_assignment PIN_E21 -to GPIO_0[20] set_location_assignment PIN_E22 -to GPIO_0[21] set_location_assignment PIN_F21 -to GPIO_0[22] set_location_assignment PIN_F22 -to GPIO_0[23] set_location_assignment PIN_G21 -to GPIO_0[24] set_location_assignment PIN_G22 -to GPIO_0[25] set_location_assignment PIN_J21 -to GPIO_0[26] set_location_assignment PIN_J22 -to GPIO_0[27] set_location_assignment PIN_K21 -to GPIO_0[28] set_location_assignment PIN_K22 -to GPIO_0[29] set_location_assignment PIN_J19 -to GPIO_0[30] set_location_assignment PIN_J20 -to GPIO_0[31] set_location_assignment PIN_J18 -to GPIO_0[32] set_location_assignment PIN_K20 -to GPIO_0[33] set_location_assignment PIN_L19 -to GPIO_0[34] set_location_assignment PIN_L18 -to GPIO_0[35] set_location_assignment PIN_H12 -to GPIO_1[0] set_location_assignment PIN_H13 -to GPIO_1[1] set_location_assignment PIN_H14 -to GPIO_1[2] set_location_assignment PIN_G15 -to GPIO_1[3] set_location_assignment PIN_E14 -to GPIO_1[4] set_location_assignment PIN_E15 -to GPIO_1[5] set_location_assignment PIN_F15 -to GPIO_1[6] set_location_assignment PIN_G16 -to GPIO_1[7] set_location_assignment PIN_F12 -to GPIO_1[8] set_location_assignment PIN_F13 -to GPIO_1[9] set_location_assignment PIN_C14 -to GPIO_1[10] set_location_assignment PIN_D14 -to GPIO_1[11] set_location_assignment PIN_D15 -to GPIO_1[12] set_location_assignment PIN_D16 -to GPIO_1[13] set_location_assignment PIN_C17 -to GPIO_1[14] set_location_assignment PIN_C18 -to GPIO_1[15] set_location_assignment PIN_C19 -to GPIO_1[16] set_location_assignment PIN_C20 -to GPIO_1[17] set_location_assignment PIN_D19 -to GPIO_1[18] set_location_assignment PIN_D20 -to GPIO_1[19] set_location_assignment PIN_E20 -to GPIO_1[20] set_location_assignment PIN_F20 -to GPIO_1[21] set_location_assignment PIN_E19 -to GPIO_1[22] set_location_assignment PIN_E18 -to GPIO_1[23] set_location_assignment PIN_G20 -to GPIO_1[24] set_location_assignment PIN_G18 -to GPIO_1[25] set_location_assignment PIN_G17 -to GPIO_1[26] set_location_assignment PIN_H17 -to GPIO_1[27] set_location_assignment PIN_J15 -to GPIO_1[28] set_location_assignment PIN_H18 -to GPIO_1[29] set_location_assignment PIN_N22 -to GPIO_1[30] set_location_assignment PIN_N21 -to GPIO_1[31] set_location_assignment PIN_P15 -to GPIO_1[32] set_location_assignment PIN_N15 -to GPIO_1[33] set_location_assignment PIN_P17 -to GPIO_1[34] set_location_assignment PIN_P18 -to GPIO_1[35]