Last active
October 19, 2017 13:58
-
-
Save hadisfr/7054bafdcd33e2134eaf76a513a2dfb8 to your computer and use it in GitHub Desktop.
some ALTERA DE2 FPGA files for Quartus II
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Quartus II Version 5.1 Internal Build 160 09/19/2005 TO Full Version | ||
---|---|---|
# File: D:\de2_pins\de2_pins.csv | ||
# Generated on: Wed Sep 28 09:40:34 2005 | ||
# Note: The column header names should not be changed if you wish to import this .csv file into the Quartus II software. | ||
To | Location | |
SW[0] | PIN_N25 | |
SW[1] | PIN_N26 | |
SW[2] | PIN_P25 | |
SW[3] | PIN_AE14 | |
SW[4] | PIN_AF14 | |
SW[5] | PIN_AD13 | |
SW[6] | PIN_AC13 | |
SW[7] | PIN_C13 | |
SW[8] | PIN_B13 | |
SW[9] | PIN_A13 | |
SW[10] | PIN_N1 | |
SW[11] | PIN_P1 | |
SW[12] | PIN_P2 | |
SW[13] | PIN_T7 | |
SW[14] | PIN_U3 | |
SW[15] | PIN_U4 | |
SW[16] | PIN_V1 | |
SW[17] | PIN_V2 | |
DRAM_ADDR[0] | PIN_T6 | |
DRAM_ADDR[1] | PIN_V4 | |
DRAM_ADDR[2] | PIN_V3 | |
DRAM_ADDR[3] | PIN_W2 | |
DRAM_ADDR[4] | PIN_W1 | |
DRAM_ADDR[5] | PIN_U6 | |
DRAM_ADDR[6] | PIN_U7 | |
DRAM_ADDR[7] | PIN_U5 | |
DRAM_ADDR[8] | PIN_W4 | |
DRAM_ADDR[9] | PIN_W3 | |
DRAM_ADDR[10] | PIN_Y1 | |
DRAM_ADDR[11] | PIN_V5 | |
DRAM_BA_0 | PIN_AE2 | |
DRAM_BA_1 | PIN_AE3 | |
DRAM_CAS_N | PIN_AB3 | |
DRAM_CKE | PIN_AA6 | |
DRAM_CLK | PIN_AA7 | |
DRAM_CS_N | PIN_AC3 | |
DRAM_DQ[0] | PIN_V6 | |
DRAM_DQ[1] | PIN_AA2 | |
DRAM_DQ[2] | PIN_AA1 | |
DRAM_DQ[3] | PIN_Y3 | |
DRAM_DQ[4] | PIN_Y4 | |
DRAM_DQ[5] | PIN_R8 | |
DRAM_DQ[6] | PIN_T8 | |
DRAM_DQ[7] | PIN_V7 | |
DRAM_DQ[8] | PIN_W6 | |
DRAM_DQ[9] | PIN_AB2 | |
DRAM_DQ[10] | PIN_AB1 | |
DRAM_DQ[11] | PIN_AA4 | |
DRAM_DQ[12] | PIN_AA3 | |
DRAM_DQ[13] | PIN_AC2 | |
DRAM_DQ[14] | PIN_AC1 | |
DRAM_DQ[15] | PIN_AA5 | |
DRAM_LDQM | PIN_AD2 | |
DRAM_UDQM | PIN_Y5 | |
DRAM_RAS_N | PIN_AB4 | |
DRAM_WE_N | PIN_AD3 | |
FL_ADDR[0] | PIN_AC18 | |
FL_ADDR[1] | PIN_AB18 | |
FL_ADDR[2] | PIN_AE19 | |
FL_ADDR[3] | PIN_AF19 | |
FL_ADDR[4] | PIN_AE18 | |
FL_ADDR[5] | PIN_AF18 | |
FL_ADDR[6] | PIN_Y16 | |
FL_ADDR[7] | PIN_AA16 | |
FL_ADDR[8] | PIN_AD17 | |
FL_ADDR[9] | PIN_AC17 | |
FL_ADDR[10] | PIN_AE17 | |
FL_ADDR[11] | PIN_AF17 | |
FL_ADDR[12] | PIN_W16 | |
FL_ADDR[13] | PIN_W15 | |
FL_ADDR[14] | PIN_AC16 | |
FL_ADDR[15] | PIN_AD16 | |
FL_ADDR[16] | PIN_AE16 | |
FL_ADDR[17] | PIN_AC15 | |
FL_ADDR[18] | PIN_AB15 | |
FL_ADDR[19] | PIN_AA15 | |
FL_ADDR[20] | PIN_Y15 | |
FL_ADDR[21] | PIN_Y14 | |
FL_CE_N | PIN_V17 | |
FL_OE_N | PIN_W17 | |
FL_DQ[0] | PIN_AD19 | |
FL_DQ[1] | PIN_AC19 | |
FL_DQ[2] | PIN_AF20 | |
FL_DQ[3] | PIN_AE20 | |
FL_DQ[4] | PIN_AB20 | |
FL_DQ[5] | PIN_AC20 | |
FL_DQ[6] | PIN_AF21 | |
FL_DQ[7] | PIN_AE21 | |
FL_RST_N | PIN_AA18 | |
FL_WE_N | PIN_AA17 | |
HEX0[0] | PIN_AF10 | |
HEX0[1] | PIN_AB12 | |
HEX0[2] | PIN_AC12 | |
HEX0[3] | PIN_AD11 | |
HEX0[4] | PIN_AE11 | |
HEX0[5] | PIN_V14 | |
HEX0[6] | PIN_V13 | |
HEX1[0] | PIN_V20 | |
HEX1[1] | PIN_V21 | |
HEX1[2] | PIN_W21 | |
HEX1[3] | PIN_Y22 | |
HEX1[4] | PIN_AA24 | |
HEX1[5] | PIN_AA23 | |
HEX1[6] | PIN_AB24 | |
HEX2[0] | PIN_AB23 | |
HEX2[1] | PIN_V22 | |
HEX2[2] | PIN_AC25 | |
HEX2[3] | PIN_AC26 | |
HEX2[4] | PIN_AB26 | |
HEX2[5] | PIN_AB25 | |
HEX2[6] | PIN_Y24 | |
HEX3[0] | PIN_Y23 | |
HEX3[1] | PIN_AA25 | |
HEX3[2] | PIN_AA26 | |
HEX3[3] | PIN_Y26 | |
HEX3[4] | PIN_Y25 | |
HEX3[5] | PIN_U22 | |
HEX3[6] | PIN_W24 | |
HEX4[0] | PIN_U9 | |
HEX4[1] | PIN_U1 | |
HEX4[2] | PIN_U2 | |
HEX4[3] | PIN_T4 | |
HEX4[4] | PIN_R7 | |
HEX4[5] | PIN_R6 | |
HEX4[6] | PIN_T3 | |
HEX5[0] | PIN_T2 | |
HEX5[1] | PIN_P6 | |
HEX5[2] | PIN_P7 | |
HEX5[3] | PIN_T9 | |
HEX5[4] | PIN_R5 | |
HEX5[5] | PIN_R4 | |
HEX5[6] | PIN_R3 | |
HEX6[0] | PIN_R2 | |
HEX6[1] | PIN_P4 | |
HEX6[2] | PIN_P3 | |
HEX6[3] | PIN_M2 | |
HEX6[4] | PIN_M3 | |
HEX6[5] | PIN_M5 | |
HEX6[6] | PIN_M4 | |
HEX7[0] | PIN_L3 | |
HEX7[1] | PIN_L2 | |
HEX7[2] | PIN_L9 | |
HEX7[3] | PIN_L6 | |
HEX7[4] | PIN_L7 | |
HEX7[5] | PIN_P9 | |
HEX7[6] | PIN_N9 | |
KEY[0] | PIN_G26 | |
KEY[1] | PIN_N23 | |
KEY[2] | PIN_P23 | |
KEY[3] | PIN_W26 | |
LEDR[0] | PIN_AE23 | |
LEDR[1] | PIN_AF23 | |
LEDR[2] | PIN_AB21 | |
LEDR[3] | PIN_AC22 | |
LEDR[4] | PIN_AD22 | |
LEDR[5] | PIN_AD23 | |
LEDR[6] | PIN_AD21 | |
LEDR[7] | PIN_AC21 | |
LEDR[8] | PIN_AA14 | |
LEDR[9] | PIN_Y13 | |
LEDR[10] | PIN_AA13 | |
LEDR[11] | PIN_AC14 | |
LEDR[12] | PIN_AD15 | |
LEDR[13] | PIN_AE15 | |
LEDR[14] | PIN_AF13 | |
LEDR[15] | PIN_AE13 | |
LEDR[16] | PIN_AE12 | |
LEDR[17] | PIN_AD12 | |
LEDG[0] | PIN_AE22 | |
LEDG[1] | PIN_AF22 | |
LEDG[2] | PIN_W19 | |
LEDG[3] | PIN_V18 | |
LEDG[4] | PIN_U18 | |
LEDG[5] | PIN_U17 | |
LEDG[6] | PIN_AA20 | |
LEDG[7] | PIN_Y18 | |
LEDG[8] | PIN_Y12 | |
CLOCK_27 | PIN_D13 | |
CLOCK_50 | PIN_N2 | |
EXT_CLOCK | PIN_P26 | |
PS2_CLK | PIN_D26 | |
PS2_DAT | PIN_C24 | |
UART_RXD | PIN_C25 | |
UART_TXD | PIN_B25 | |
LCD_RW | PIN_K4 | |
LCD_EN | PIN_K3 | |
LCD_RS | PIN_K1 | |
LCD_DATA[0] | PIN_J1 | |
LCD_DATA[1] | PIN_J2 | |
LCD_DATA[2] | PIN_H1 | |
LCD_DATA[3] | PIN_H2 | |
LCD_DATA[4] | PIN_J4 | |
LCD_DATA[5] | PIN_J3 | |
LCD_DATA[6] | PIN_H4 | |
LCD_DATA[7] | PIN_H3 | |
LCD_ON | PIN_L4 | |
LCD_BLON | PIN_K2 | |
SRAM_ADDR[0] | PIN_AE4 | |
SRAM_ADDR[1] | PIN_AF4 | |
SRAM_ADDR[2] | PIN_AC5 | |
SRAM_ADDR[3] | PIN_AC6 | |
SRAM_ADDR[4] | PIN_AD4 | |
SRAM_ADDR[5] | PIN_AD5 | |
SRAM_ADDR[6] | PIN_AE5 | |
SRAM_ADDR[7] | PIN_AF5 | |
SRAM_ADDR[8] | PIN_AD6 | |
SRAM_ADDR[9] | PIN_AD7 | |
SRAM_ADDR[10] | PIN_V10 | |
SRAM_ADDR[11] | PIN_V9 | |
SRAM_ADDR[12] | PIN_AC7 | |
SRAM_ADDR[13] | PIN_W8 | |
SRAM_ADDR[14] | PIN_W10 | |
SRAM_ADDR[15] | PIN_Y10 | |
SRAM_ADDR[16] | PIN_AB8 | |
SRAM_ADDR[17] | PIN_AC8 | |
SRAM_DQ[0] | PIN_AD8 | |
SRAM_DQ[1] | PIN_AE6 | |
SRAM_DQ[2] | PIN_AF6 | |
SRAM_DQ[3] | PIN_AA9 | |
SRAM_DQ[4] | PIN_AA10 | |
SRAM_DQ[5] | PIN_AB10 | |
SRAM_DQ[6] | PIN_AA11 | |
SRAM_DQ[7] | PIN_Y11 | |
SRAM_DQ[8] | PIN_AE7 | |
SRAM_DQ[9] | PIN_AF7 | |
SRAM_DQ[10] | PIN_AE8 | |
SRAM_DQ[11] | PIN_AF8 | |
SRAM_DQ[12] | PIN_W11 | |
SRAM_DQ[13] | PIN_W12 | |
SRAM_DQ[14] | PIN_AC9 | |
SRAM_DQ[15] | PIN_AC10 | |
SRAM_WE_N | PIN_AE10 | |
SRAM_OE_N | PIN_AD10 | |
SRAM_UB_N | PIN_AF9 | |
SRAM_LB_N | PIN_AE9 | |
SRAM_CE_N | PIN_AC11 | |
OTG_ADDR[0] | PIN_K7 | |
OTG_ADDR[1] | PIN_F2 | |
OTG_CS_N | PIN_F1 | |
OTG_RD_N | PIN_G2 | |
OTG_WR_N | PIN_G1 | |
OTG_RST_N | PIN_G5 | |
OTG_DATA[0] | PIN_F4 | |
OTG_DATA[1] | PIN_D2 | |
OTG_DATA[2] | PIN_D1 | |
OTG_DATA[3] | PIN_F7 | |
OTG_DATA[4] | PIN_J5 | |
OTG_DATA[5] | PIN_J8 | |
OTG_DATA[6] | PIN_J7 | |
OTG_DATA[7] | PIN_H6 | |
OTG_DATA[8] | PIN_E2 | |
OTG_DATA[9] | PIN_E1 | |
OTG_DATA[10] | PIN_K6 | |
OTG_DATA[11] | PIN_K5 | |
OTG_DATA[12] | PIN_G4 | |
OTG_DATA[13] | PIN_G3 | |
OTG_DATA[14] | PIN_J6 | |
OTG_DATA[15] | PIN_K8 | |
OTG_INT0 | PIN_B3 | |
OTG_INT1 | PIN_C3 | |
OTG_DACK0_N | PIN_C2 | |
OTG_DACK1_N | PIN_B2 | |
OTG_DREQ0 | PIN_F6 | |
OTG_DREQ1 | PIN_E5 | |
OTG_FSPEED | PIN_F3 | |
OTG_LSPEED | PIN_G6 | |
TDI | PIN_B14 | |
TCS | PIN_A14 | |
TCK | PIN_D14 | |
TDO | PIN_F14 | |
TD_RESET | PIN_C4 | |
VGA_R[0] | PIN_C8 | |
VGA_R[1] | PIN_F10 | |
VGA_R[2] | PIN_G10 | |
VGA_R[3] | PIN_D9 | |
VGA_R[4] | PIN_C9 | |
VGA_R[5] | PIN_A8 | |
VGA_R[6] | PIN_H11 | |
VGA_R[7] | PIN_H12 | |
VGA_R[8] | PIN_F11 | |
VGA_R[9] | PIN_E10 | |
VGA_G[0] | PIN_B9 | |
VGA_G[1] | PIN_A9 | |
VGA_G[2] | PIN_C10 | |
VGA_G[3] | PIN_D10 | |
VGA_G[4] | PIN_B10 | |
VGA_G[5] | PIN_A10 | |
VGA_G[6] | PIN_G11 | |
VGA_G[7] | PIN_D11 | |
VGA_G[8] | PIN_E12 | |
VGA_G[9] | PIN_D12 | |
VGA_B[0] | PIN_J13 | |
VGA_B[1] | PIN_J14 | |
VGA_B[2] | PIN_F12 | |
VGA_B[3] | PIN_G12 | |
VGA_B[4] | PIN_J10 | |
VGA_B[5] | PIN_J11 | |
VGA_B[6] | PIN_C11 | |
VGA_B[7] | PIN_B11 | |
VGA_B[8] | PIN_C12 | |
VGA_B[9] | PIN_B12 | |
VGA_CLK | PIN_B8 | |
VGA_BLANK | PIN_D6 | |
VGA_HS | PIN_A7 | |
VGA_VS | PIN_D8 | |
VGA_SYNC | PIN_B7 | |
I2C_SCLK | PIN_A6 | |
I2C_SDAT | PIN_B6 | |
TD_DATA[0] | PIN_J9 | |
TD_DATA[1] | PIN_E8 | |
TD_DATA[2] | PIN_H8 | |
TD_DATA[3] | PIN_H10 | |
TD_DATA[4] | PIN_G9 | |
TD_DATA[5] | PIN_F9 | |
TD_DATA[6] | PIN_D7 | |
TD_DATA[7] | PIN_C7 | |
TD_HS | PIN_D5 | |
TD_VS | PIN_K9 | |
AUD_ADCLRCK | PIN_C5 | |
AUD_ADCDAT | PIN_B5 | |
AUD_DACLRCK | PIN_C6 | |
AUD_DACDAT | PIN_A4 | |
AUD_XCK | PIN_A5 | |
AUD_BCLK | PIN_B4 | |
ENET_DATA[0] | PIN_D17 | |
ENET_DATA[1] | PIN_C17 | |
ENET_DATA[2] | PIN_B18 | |
ENET_DATA[3] | PIN_A18 | |
ENET_DATA[4] | PIN_B17 | |
ENET_DATA[5] | PIN_A17 | |
ENET_DATA[6] | PIN_B16 | |
ENET_DATA[7] | PIN_B15 | |
ENET_DATA[8] | PIN_B20 | |
ENET_DATA[9] | PIN_A20 | |
ENET_DATA[10] | PIN_C19 | |
ENET_DATA[11] | PIN_D19 | |
ENET_DATA[12] | PIN_B19 | |
ENET_DATA[13] | PIN_A19 | |
ENET_DATA[14] | PIN_E18 | |
ENET_DATA[15] | PIN_D18 | |
ENET_CLK | PIN_B24 | |
ENET_CMD | PIN_A21 | |
ENET_CS_N | PIN_A23 | |
ENET_INT | PIN_B21 | |
ENET_RD_N | PIN_A22 | |
ENET_WR_N | PIN_B22 | |
ENET_RST_N | PIN_B23 | |
IRDA_TXD | PIN_AE24 | |
IRDA_RXD | PIN_AE25 | |
SD_DAT | PIN_AD24 | |
SD_DAT3 | PIN_AC23 | |
SD_CMD | PIN_Y21 | |
SD_CLK | PIN_AD25 | |
GPIO_0[0] | PIN_D25 | |
GPIO_0[1] | PIN_J22 | |
GPIO_0[2] | PIN_E26 | |
GPIO_0[3] | PIN_E25 | |
GPIO_0[4] | PIN_F24 | |
GPIO_0[5] | PIN_F23 | |
GPIO_0[6] | PIN_J21 | |
GPIO_0[7] | PIN_J20 | |
GPIO_0[8] | PIN_F25 | |
GPIO_0[9] | PIN_F26 | |
GPIO_0[10] | PIN_N18 | |
GPIO_0[11] | PIN_P18 | |
GPIO_0[12] | PIN_G23 | |
GPIO_0[13] | PIN_G24 | |
GPIO_0[14] | PIN_K22 | |
GPIO_0[15] | PIN_G25 | |
GPIO_0[16] | PIN_H23 | |
GPIO_0[17] | PIN_H24 | |
GPIO_0[18] | PIN_J23 | |
GPIO_0[19] | PIN_J24 | |
GPIO_0[20] | PIN_H25 | |
GPIO_0[21] | PIN_H26 | |
GPIO_0[22] | PIN_H19 | |
GPIO_0[23] | PIN_K18 | |
GPIO_0[24] | PIN_K19 | |
GPIO_0[25] | PIN_K21 | |
GPIO_0[26] | PIN_K23 | |
GPIO_0[27] | PIN_K24 | |
GPIO_0[28] | PIN_L21 | |
GPIO_0[29] | PIN_L20 | |
GPIO_0[30] | PIN_J25 | |
GPIO_0[31] | PIN_J26 | |
GPIO_0[32] | PIN_L23 | |
GPIO_0[33] | PIN_L24 | |
GPIO_0[34] | PIN_L25 | |
GPIO_0[35] | PIN_L19 | |
GPIO_1[0] | PIN_K25 | |
GPIO_1[1] | PIN_K26 | |
GPIO_1[2] | PIN_M22 | |
GPIO_1[3] | PIN_M23 | |
GPIO_1[4] | PIN_M19 | |
GPIO_1[5] | PIN_M20 | |
GPIO_1[6] | PIN_N20 | |
GPIO_1[7] | PIN_M21 | |
GPIO_1[8] | PIN_M24 | |
GPIO_1[9] | PIN_M25 | |
GPIO_1[10] | PIN_N24 | |
GPIO_1[11] | PIN_P24 | |
GPIO_1[12] | PIN_R25 | |
GPIO_1[13] | PIN_R24 | |
GPIO_1[14] | PIN_R20 | |
GPIO_1[15] | PIN_T22 | |
GPIO_1[16] | PIN_T23 | |
GPIO_1[17] | PIN_T24 | |
GPIO_1[18] | PIN_T25 | |
GPIO_1[19] | PIN_T18 | |
GPIO_1[20] | PIN_T21 | |
GPIO_1[21] | PIN_T20 | |
GPIO_1[22] | PIN_U26 | |
GPIO_1[23] | PIN_U25 | |
GPIO_1[24] | PIN_U23 | |
GPIO_1[25] | PIN_U24 | |
GPIO_1[26] | PIN_R19 | |
GPIO_1[27] | PIN_T19 | |
GPIO_1[28] | PIN_U20 | |
GPIO_1[29] | PIN_U21 | |
GPIO_1[30] | PIN_V26 | |
GPIO_1[31] | PIN_V25 | |
GPIO_1[32] | PIN_V24 | |
GPIO_1[33] | PIN_V23 | |
GPIO_1[34] | PIN_W25 | |
GPIO_1[35] | PIN_W23 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ============================================================================ | |
// Copyright (c) 2012 by Terasic Technologies Inc. | |
// ============================================================================ | |
// Permission: | |
// Terasic grants permission to use and modify this code for use | |
// in synthesis for all Terasic Development Boards and Altera Development | |
// Kits made by Terasic. Other use of this code, including the selling | |
// ,duplication, or modification of any portion is strictly prohibited. | |
// Disclaimer: | |
// This VHDL/Verilog or C/C++ source code is intended as a design reference | |
// which illustrates how these types of functions can be implemented. | |
// It is the user's responsibility to verify their design for | |
// consistency and functionality through the use of formal | |
// verification methods. Terasic provides no warranty regarding the use | |
// or functionality of this code. | |
// ============================================================================ | |
// Terasic Technologies Inc | |
// 9F., No.176, Sec.2, Gongdao 5th Rd, East Dist, Hsinchu City, 30070. Taiwan | |
// web: http://www.terasic.com/ | |
// email: [email protected] | |
// ============================================================================ | |
// Major Functions: DE2 TOP LEVEL | |
// ============================================================================ | |
// Revision History : | |
// ============================================================================ | |
// Ver :| Author :| Mod. Date :| Changes Made: | |
// V1.0 :| Johnny Chen :| 05/08/19 :| Initial Revision | |
// V1.1 :| Johnny Chen :| 05/11/16 :| Added FLASH Address FL_ADDR[21:20] | |
// V1.2 :| Johnny Chen :| 05/11/16 :| Fixed ISP1362 INT/DREQ Pin Direction. | |
// V1.3 :| Johnny Chen :| 06/11/16 :| Added the Dedicated TV Decoder Line-Locked-Clock Input | |
// for DE2 v2.X PCB. | |
// V1.5 :| Eko Yan :| 12/01/30 :| Update to version 11.1 sp1. | |
// ============================================================================ | |
module DE2_TOP | |
( | |
//////////////////// Clock Input //////////////////// | |
CLOCK_27, // 27 MHz | |
CLOCK_50, // 50 MHz | |
EXT_CLOCK, // External Clock | |
//////////////////// Push Button //////////////////// | |
KEY, // Pushbutton[3:0] | |
//////////////////// DPDT Switch //////////////////// | |
SW, // Toggle Switch[17:0] | |
//////////////////// 7-SEG Dispaly //////////////////// | |
HEX0, // Seven Segment Digit 0 | |
HEX1, // Seven Segment Digit 1 | |
HEX2, // Seven Segment Digit 2 | |
HEX3, // Seven Segment Digit 3 | |
HEX4, // Seven Segment Digit 4 | |
HEX5, // Seven Segment Digit 5 | |
HEX6, // Seven Segment Digit 6 | |
HEX7, // Seven Segment Digit 7 | |
//////////////////////// LED //////////////////////// | |
LEDG, // LED Green[8:0] | |
LEDR, // LED Red[17:0] | |
//////////////////////// UART //////////////////////// | |
UART_TXD, // UART Transmitter | |
UART_RXD, // UART Receiver | |
//////////////////////// IRDA //////////////////////// | |
IRDA_TXD, // IRDA Transmitter | |
IRDA_RXD, // IRDA Receiver | |
///////////////////// SDRAM Interface //////////////// | |
DRAM_DQ, // SDRAM Data bus 16 Bits | |
DRAM_ADDR, // SDRAM Address bus 12 Bits | |
DRAM_LDQM, // SDRAM Low-byte Data Mask | |
DRAM_UDQM, // SDRAM High-byte Data Mask | |
DRAM_WE_N, // SDRAM Write Enable | |
DRAM_CAS_N, // SDRAM Column Address Strobe | |
DRAM_RAS_N, // SDRAM Row Address Strobe | |
DRAM_CS_N, // SDRAM Chip Select | |
DRAM_BA_0, // SDRAM Bank Address 0 | |
DRAM_BA_1, // SDRAM Bank Address 0 | |
DRAM_CLK, // SDRAM Clock | |
DRAM_CKE, // SDRAM Clock Enable | |
//////////////////// Flash Interface //////////////// | |
FL_DQ, // FLASH Data bus 8 Bits | |
FL_ADDR, // FLASH Address bus 22 Bits | |
FL_WE_N, // FLASH Write Enable | |
FL_RST_N, // FLASH Reset | |
FL_OE_N, // FLASH Output Enable | |
FL_CE_N, // FLASH Chip Enable | |
//////////////////// SRAM Interface //////////////// | |
SRAM_DQ, // SRAM Data bus 16 Bits | |
SRAM_ADDR, // SRAM Address bus 18 Bits | |
SRAM_UB_N, // SRAM High-byte Data Mask | |
SRAM_LB_N, // SRAM Low-byte Data Mask | |
SRAM_WE_N, // SRAM Write Enable | |
SRAM_CE_N, // SRAM Chip Enable | |
SRAM_OE_N, // SRAM Output Enable | |
//////////////////// ISP1362 Interface //////////////// | |
OTG_DATA, // ISP1362 Data bus 16 Bits | |
OTG_ADDR, // ISP1362 Address 2 Bits | |
OTG_CS_N, // ISP1362 Chip Select | |
OTG_RD_N, // ISP1362 Write | |
OTG_WR_N, // ISP1362 Read | |
OTG_RST_N, // ISP1362 Reset | |
OTG_FSPEED, // USB Full Speed, 0 = Enable, Z = Disable | |
OTG_LSPEED, // USB Low Speed, 0 = Enable, Z = Disable | |
OTG_INT0, // ISP1362 Interrupt 0 | |
OTG_INT1, // ISP1362 Interrupt 1 | |
OTG_DREQ0, // ISP1362 DMA Request 0 | |
OTG_DREQ1, // ISP1362 DMA Request 1 | |
OTG_DACK0_N, // ISP1362 DMA Acknowledge 0 | |
OTG_DACK1_N, // ISP1362 DMA Acknowledge 1 | |
//////////////////// LCD Module 16X2 //////////////// | |
LCD_ON, // LCD Power ON/OFF | |
LCD_BLON, // LCD Back Light ON/OFF | |
LCD_RW, // LCD Read/Write Select, 0 = Write, 1 = Read | |
LCD_EN, // LCD Enable | |
LCD_RS, // LCD Command/Data Select, 0 = Command, 1 = Data | |
LCD_DATA, // LCD Data bus 8 bits | |
//////////////////// SD_Card Interface //////////////// | |
SD_DAT, // SD Card Data | |
SD_WP_N, // SD Write protect | |
SD_CMD, // SD Card Command Signal | |
SD_CLK, // SD Card Clock | |
//////////////////// USB JTAG link //////////////////// | |
TDI, // CPLD -> FPGA (data in) | |
TCK, // CPLD -> FPGA (clk) | |
TCS, // CPLD -> FPGA (CS) | |
TDO, // FPGA -> CPLD (data out) | |
//////////////////// I2C //////////////////////////// | |
I2C_SDAT, // I2C Data | |
I2C_SCLK, // I2C Clock | |
//////////////////// PS2 //////////////////////////// | |
PS2_DAT, // PS2 Data | |
PS2_CLK, // PS2 Clock | |
//////////////////// VGA //////////////////////////// | |
VGA_CLK, // VGA Clock | |
VGA_HS, // VGA H_SYNC | |
VGA_VS, // VGA V_SYNC | |
VGA_BLANK, // VGA BLANK | |
VGA_SYNC, // VGA SYNC | |
VGA_R, // VGA Red[9:0] | |
VGA_G, // VGA Green[9:0] | |
VGA_B, // VGA Blue[9:0] | |
//////////// Ethernet Interface //////////////////////// | |
ENET_DATA, // DM9000A DATA bus 16Bits | |
ENET_CMD, // DM9000A Command/Data Select, 0 = Command, 1 = Data | |
ENET_CS_N, // DM9000A Chip Select | |
ENET_WR_N, // DM9000A Write | |
ENET_RD_N, // DM9000A Read | |
ENET_RST_N, // DM9000A Reset | |
ENET_INT, // DM9000A Interrupt | |
ENET_CLK, // DM9000A Clock 25 MHz | |
//////////////// Audio CODEC //////////////////////// | |
AUD_ADCLRCK, // Audio CODEC ADC LR Clock | |
AUD_ADCDAT, // Audio CODEC ADC Data | |
AUD_DACLRCK, // Audio CODEC DAC LR Clock | |
AUD_DACDAT, // Audio CODEC DAC Data | |
AUD_BCLK, // Audio CODEC Bit-Stream Clock | |
AUD_XCK, // Audio CODEC Chip Clock | |
//////////////// TV Decoder //////////////////////// | |
TD_DATA, // TV Decoder Data bus 8 bits | |
TD_HS, // TV Decoder H_SYNC | |
TD_VS, // TV Decoder V_SYNC | |
TD_RESET, // TV Decoder Reset | |
TD_CLK27, // TV Decoder 27MHz CLK | |
//////////////////// GPIO //////////////////////////// | |
GPIO_0, // GPIO Connection 0 | |
GPIO_1 // GPIO Connection 1 | |
); | |
//////////////////////// Clock Input //////////////////////// | |
input CLOCK_27; // 27 MHz | |
input CLOCK_50; // 50 MHz | |
input EXT_CLOCK; // External Clock | |
//////////////////////// Push Button //////////////////////// | |
input [3:0] KEY; // Pushbutton[3:0] | |
//////////////////////// DPDT Switch //////////////////////// | |
input [17:0] SW; // Toggle Switch[17:0] | |
//////////////////////// 7-SEG Dispaly //////////////////////// | |
output [6:0] HEX0; // Seven Segment Digit 0 | |
output [6:0] HEX1; // Seven Segment Digit 1 | |
output [6:0] HEX2; // Seven Segment Digit 2 | |
output [6:0] HEX3; // Seven Segment Digit 3 | |
output [6:0] HEX4; // Seven Segment Digit 4 | |
output [6:0] HEX5; // Seven Segment Digit 5 | |
output [6:0] HEX6; // Seven Segment Digit 6 | |
output [6:0] HEX7; // Seven Segment Digit 7 | |
//////////////////////////// LED //////////////////////////// | |
output [8:0] LEDG; // LED Green[8:0] | |
output [17:0] LEDR; // LED Red[17:0] | |
//////////////////////////// UART //////////////////////////// | |
output UART_TXD; // UART Transmitter | |
input UART_RXD; // UART Receiver | |
//////////////////////////// IRDA //////////////////////////// | |
output IRDA_TXD; // IRDA Transmitter | |
input IRDA_RXD; // IRDA Receiver | |
/////////////////////// SDRAM Interface //////////////////////// | |
inout [15:0] DRAM_DQ; // SDRAM Data bus 16 Bits | |
output [11:0] DRAM_ADDR; // SDRAM Address bus 12 Bits | |
output DRAM_LDQM; // SDRAM Low-byte Data Mask | |
output DRAM_UDQM; // SDRAM High-byte Data Mask | |
output DRAM_WE_N; // SDRAM Write Enable | |
output DRAM_CAS_N; // SDRAM Column Address Strobe | |
output DRAM_RAS_N; // SDRAM Row Address Strobe | |
output DRAM_CS_N; // SDRAM Chip Select | |
output DRAM_BA_0; // SDRAM Bank Address 0 | |
output DRAM_BA_1; // SDRAM Bank Address 0 | |
output DRAM_CLK; // SDRAM Clock | |
output DRAM_CKE; // SDRAM Clock Enable | |
//////////////////////// Flash Interface //////////////////////// | |
inout [7:0] FL_DQ; // FLASH Data bus 8 Bits | |
output [21:0] FL_ADDR; // FLASH Address bus 22 Bits | |
output FL_WE_N; // FLASH Write Enable | |
output FL_RST_N; // FLASH Reset | |
output FL_OE_N; // FLASH Output Enable | |
output FL_CE_N; // FLASH Chip Enable | |
//////////////////////// SRAM Interface //////////////////////// | |
inout [15:0] SRAM_DQ; // SRAM Data bus 16 Bits | |
output [17:0] SRAM_ADDR; // SRAM Address bus 18 Bits | |
output SRAM_UB_N; // SRAM High-byte Data Mask | |
output SRAM_LB_N; // SRAM Low-byte Data Mask | |
output SRAM_WE_N; // SRAM Write Enable | |
output SRAM_CE_N; // SRAM Chip Enable | |
output SRAM_OE_N; // SRAM Output Enable | |
//////////////////// ISP1362 Interface //////////////////////// | |
inout [15:0] OTG_DATA; // ISP1362 Data bus 16 Bits | |
output [1:0] OTG_ADDR; // ISP1362 Address 2 Bits | |
output OTG_CS_N; // ISP1362 Chip Select | |
output OTG_RD_N; // ISP1362 Write | |
output OTG_WR_N; // ISP1362 Read | |
output OTG_RST_N; // ISP1362 Reset | |
output OTG_FSPEED; // USB Full Speed, 0 = Enable, Z = Disable | |
output OTG_LSPEED; // USB Low Speed, 0 = Enable, Z = Disable | |
input OTG_INT0; // ISP1362 Interrupt 0 | |
input OTG_INT1; // ISP1362 Interrupt 1 | |
input OTG_DREQ0; // ISP1362 DMA Request 0 | |
input OTG_DREQ1; // ISP1362 DMA Request 1 | |
output OTG_DACK0_N; // ISP1362 DMA Acknowledge 0 | |
output OTG_DACK1_N; // ISP1362 DMA Acknowledge 1 | |
//////////////////// LCD Module 16X2 //////////////////////////// | |
inout [7:0] LCD_DATA; // LCD Data bus 8 bits | |
output LCD_ON; // LCD Power ON/OFF | |
output LCD_BLON; // LCD Back Light ON/OFF | |
output LCD_RW; // LCD Read/Write Select, 0 = Write, 1 = Read | |
output LCD_EN; // LCD Enable | |
output LCD_RS; // LCD Command/Data Select, 0 = Command, 1 = Data | |
//////////////////// SD Card Interface //////////////////////// | |
inout [3:0] SD_DAT; // SD Card Data | |
input SD_WP_N; // SD write protect | |
inout SD_CMD; // SD Card Command Signal | |
output SD_CLK; // SD Card Clock | |
//////////////////////// I2C //////////////////////////////// | |
inout I2C_SDAT; // I2C Data | |
output I2C_SCLK; // I2C Clock | |
//////////////////////// PS2 //////////////////////////////// | |
input PS2_DAT; // PS2 Data | |
input PS2_CLK; // PS2 Clock | |
//////////////////// USB JTAG link //////////////////////////// | |
input TDI; // CPLD -> FPGA (data in) | |
input TCK; // CPLD -> FPGA (clk) | |
input TCS; // CPLD -> FPGA (CS) | |
output TDO; // FPGA -> CPLD (data out) | |
//////////////////////// VGA //////////////////////////// | |
output VGA_CLK; // VGA Clock | |
output VGA_HS; // VGA H_SYNC | |
output VGA_VS; // VGA V_SYNC | |
output VGA_BLANK; // VGA BLANK | |
output VGA_SYNC; // VGA SYNC | |
output [9:0] VGA_R; // VGA Red[9:0] | |
output [9:0] VGA_G; // VGA Green[9:0] | |
output [9:0] VGA_B; // VGA Blue[9:0] | |
//////////////// Ethernet Interface //////////////////////////// | |
inout [15:0] ENET_DATA; // DM9000A DATA bus 16Bits | |
output ENET_CMD; // DM9000A Command/Data Select, 0 = Command, 1 = Data | |
output ENET_CS_N; // DM9000A Chip Select | |
output ENET_WR_N; // DM9000A Write | |
output ENET_RD_N; // DM9000A Read | |
output ENET_RST_N; // DM9000A Reset | |
input ENET_INT; // DM9000A Interrupt | |
output ENET_CLK; // DM9000A Clock 25 MHz | |
//////////////////// Audio CODEC //////////////////////////// | |
inout AUD_ADCLRCK; // Audio CODEC ADC LR Clock | |
input AUD_ADCDAT; // Audio CODEC ADC Data | |
inout AUD_DACLRCK; // Audio CODEC DAC LR Clock | |
output AUD_DACDAT; // Audio CODEC DAC Data | |
inout AUD_BCLK; // Audio CODEC Bit-Stream Clock | |
output AUD_XCK; // Audio CODEC Chip Clock | |
//////////////////// TV Devoder //////////////////////////// | |
input [7:0] TD_DATA; // TV Decoder Data bus 8 bits | |
input TD_HS; // TV Decoder H_SYNC | |
input TD_VS; // TV Decoder V_SYNC | |
output TD_RESET; // TV Decoder Reset | |
input TD_CLK27; // TV Decoder 27MHz CLK | |
//////////////////////// GPIO //////////////////////////////// | |
inout [35:0] GPIO_0; // GPIO Connection 0 | |
inout [35:0] GPIO_1; // GPIO Connection 1 | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Cyclone II EP2C35F672C6, you should probably comment
IRDA_TXD
,IRDA_RXD
, andSD_DAT
related lines.