DE2-115创建Web Server详细步骤(Quartus 13.1)

Posted 河he

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了DE2-115创建Web Server详细步骤(Quartus 13.1)相关的知识,希望对你有一定的参考价值。

这里综合了Altera提供的各种文献和实例,在最新的Quartus 13.1构建。

1. New Project

2.Create New System

Ctrl+R,将时钟Name更改为clk_50,频率为50MHz

加入altpll组件,c0->100MHz,作为系统时钟;c1->100MHz,相位延迟-2ns,作为SDRAM时钟;C2->10MHz,作为其他LCD,LED等时钟;可选C3->65MHz,作为VGA像素时钟。(图就不改了)

在View菜单中,打开Clocks视图,修改时钟名字提高易读性。分别是altpll_sys, altpll_sdram, altpll_io, altpll_vga。

altpll.inclk_interface设置为clk_50,双击altpll的export,导出areset,locked,phasedone。这个locked信号可以做nios的reset

加入NIOS Processor,JTAG UART(IRQ 0)

加入SDRAM controller,导出wire,地址锁定为0x0

各component的clk均为altpll_sys,sdram的Avalon Memory Mapped Slave连接到cpu.data_master和instruction_master。

添加Generic Tri-State Controller,作为Common Flash Interface,名字为ext_flash(和web server app模版名字相同)

添加Tri-State Conduit Bridge作为Flash的端口,连接ext_flash.uas->cpu.data_master,ext_flash.tcm->tristate_conduit_bridge_flash.tcs,导出tristate_conduit_bridge_flash.out

add Triple-Speed Ethernet,名字为tse_mac(web sever模板中的名字),Core Variations: 10/10/100Mb Ethernet MAC,Interface RGMII,Include MDIO Module (MDC/MDIO)

terASIC提供的DE2_115_Web_Server.qsys中Triple-Speed Ethernet的名字有错(13改了名?)。可用文本编辑器修改此qsys文件,查找triple_speed_ethernet,修改module为:

<module kind="altera_eth_tse" version="13.1" enabled="1" name="tse_mac">

添加On-Chip Memory作为 Descriptor Memory

add scatter-gatter dma controller,Memory To Stream,Source error width为1,作为发送DMA

再次add scatter gather dma controller,Stream To Memory,Sink error width为6

tse, descriptor memory, dma时钟都是alt_sys。

tse.control_port->cpu.data_master

tse.receive_clock->altpll_sys

tse.transmit_clock->altpll_sys

接收链路:tse.receive->sgdma_rx.in, sgdma_rx.m_write->sdram.s1

发送链路:sgdma_tx.m_read->sdram.s1, sgdma_tx.out->tse.trnsmit

sgdma_rx, sgdma_tx两者的descriptor read 和descriptor write,都连接到descriptor_memory.s1,->cpu.data_master

sgdma_rx设置irq 2,sgdma_tx设置irq 3

根据提示导出tse的conduits

以上时钟都适用系统时钟,mapped slave都连接到cpu.data_master上,包括altpll.pll_slave

添加Avalon-MM Clock Crossing Bridge,设置适当深度

clock_crossing_bridge.m0_clk->altpll_io,clock_crossing_bridge.s0_clk->altpll_sys,clock_crossing_bridge.s0->cpu.data_master。

除非特别说明,以下系统的低速设备都使用altpll_io和clock_crossing_bridge.m0连接到clk和mapped slave (s1)。

add Interval Timer (IRQ 1), System ID, LCD 16027, LED pio (led_pio), SWITCH pio, Seven Segment Display pio, KEY pio (可将KEY[0]留作全局reset)

这里强调一点:System ID是很重要的一个设备,设定一个常数,和timestamp配合判断NIOS和你的BSP是否匹配,不要在Run Configuration 中采取 Ignore mismatched system timestamp,我常常因为这个 mismatch 的提示才知道bsp不匹配。

修改cpu,reset vector memory 和 exception vector memory 都设置为 sdram.s1

菜单System -> Create Global Reset Network

System -> assign base address

FIle -> Save

应当只有一个警告

Warning: System.flash: Properties (isFlash,isMemoryDevice,isNonVolatileStorage) have been set on interface uas - in composed mode these are ignored

终于可以:Generate -> Generating...

Generate -> HDL example, copy

3. Create a new DDIO_OUT megafunction variation

width 设置为 1bit,Neither asynchronous clear nor asynchronous set ports options.

4. Create a new altpll megafunction variation

输入时钟为以太网的接收时钟,c0:125MHz; c1: 125MHz, 90deg; c2:125MHz, 180deg

5. New systemverilog file

paste HDL example

从terasic提供的例子中copy端口描述部分

修改nios的实例化部分

`define NET0
module web_server(


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> CLOCK //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>CLOCK_50,
  CLOCK2_50,
  CLOCK3_50,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENETCLK_25,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> Sma //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SMA_CLKIN,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SMA_CLKOUT,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> LED //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LEDG,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LEDR,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> KEY //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>KEY,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SW //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SW,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SEG7 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX0,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX1,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX2,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX3,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX4,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX5,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX6,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HEX7,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> LCD //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LCD_BLON,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LCD_DATA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LCD_EN,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LCD_ON,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LCD_RS,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>LCD_RW,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> RS232 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>UART_CTS,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>UART_RTS,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>UART_RXD,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>UART_TXD,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> PS2 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>PS2_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>PS2_DAT,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>PS2_CLK2,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>PS2_DAT2,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SDCARD //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SD_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SD_CMD,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SD_DAT,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SD_WP_N,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> VGA //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_B,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_BLANK_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_G,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_HS,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_R,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_SYNC_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>VGA_VS,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> Audio //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>AUD_ADCDAT,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>AUD_ADCLRCK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>AUD_BCLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>AUD_DACDAT,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>AUD_DACLRCK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>AUD_XCK,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> I2C for EEPROM //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>EEP_I2C_SCLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>EEP_I2C_SDAT,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> I2C for Audio and Tv-Decode //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>I2C_SCLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>I2C_SDAT,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> Ethernet 0 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_GTX_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_INT_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_MDC,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_MDIO,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_RST_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_RX_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_RX_COL,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_RX_CRS,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_RX_DATA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_RX_DV,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_RX_ER,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_TX_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_TX_DATA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_TX_EN,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_TX_ER,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET0_LINK100,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> Ethernet 1 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_GTX_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_INT_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_MDC,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_MDIO,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_RST_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_RX_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_RX_COL,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_RX_CRS,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_RX_DATA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_RX_DV,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_RX_ER,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_TX_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_TX_DATA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_TX_EN,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_TX_ER,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>ENET1_LINK100,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> TV Decoder //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>TD_CLK27,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>TD_DATA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>TD_HS,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>TD_RESET_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>TD_VS,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>/// USB OTG controller
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>OTG_DATA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>OTG_ADDR,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>OTG_CS_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>OTG_WR_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>OTG_RD_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>OTG_INT,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>OTG_RST_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> IR Receiver //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>IRDA_RXD,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SDRAM //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_ADDR,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_BA,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_CAS_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_CKE,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_CLK,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_CS_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_DQ,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_DQM,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_RAS_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>DRAM_WE_N,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SRAM //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SRAM_ADDR,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SRAM_CE_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SRAM_DQ,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SRAM_LB_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SRAM_OE_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SRAM_UB_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>SRAM_WE_N,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> Flash //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_ADDR,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_CE_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_DQ,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_OE_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_RST_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_RY,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_WE_N,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>FL_WP_N,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> GPIO //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>GPIO,


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> HSMC (LVDS) //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_CLKIN_P1,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_CLKIN_P2,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_CLKIN0,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_CLKOUT_P1,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_CLKOUT_P2,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_CLKOUT0,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_D,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_RX_D_P,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>HSMC_TX_D_P,
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>
   EXTEND IO //
  EX_IO<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>
);


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>//=======================================================
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>//  PARAMETER declarations
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>//=======================================================




<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>//=======================================================
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>//  PORT declarations
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>//=======================================================


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> CLOCK //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>CLOCK_50;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>CLOCK2_50;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>CLOCK3_50;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>ENETCLK_25;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> Sma //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>SMA_CLKIN;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>SMA_CLKOUT;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> LED //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [8:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LEDG;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [17:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LEDR;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> KEY //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>  [3:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>KEY;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SW //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>        [17:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>SW;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SEG7 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX0;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX1;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX2;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX3;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX4;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX5;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX6;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [6:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>HEX7;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> LCD //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LCD_BLON;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>        [7:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LCD_DATA;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LCD_EN;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LCD_ON;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LCD_RS;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>LCD_RW;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> RS232 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>UART_CTS;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>UART_RTS;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>UART_RXD;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>UART_TXD;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> PS2 //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>PS2_CLK;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>PS2_DAT;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>PS2_CLK2;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>PS2_DAT2;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> SDCARD //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>SD_CLK;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>SD_CMD;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>        [3:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>SD_DAT;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>SD_WP_N;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> VGA //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [7:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_B;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_BLANK_N;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_CLK;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [7:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_G;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_HS;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>     [7:0]<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_R;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_SYNC_N;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>VGA_VS;


<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span> Audio //
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>input<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>AUD_ADCDAT;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>AUD_ADCLRCK;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">			</span>AUD_BCLK;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>output<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>AUD_DACDAT;
<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">	</span>inout<span style="margin: 0px; padding: 0px; border: 0px; background: transparent;">		</span>          <span style="margin: 0px; padding: 0px; border: 0px; background: tra

以上是关于DE2-115创建Web Server详细步骤(Quartus 13.1)的主要内容,如果未能解决你的问题,请参考以下文章

Quartus II 软件和 DE2-115 开发板使用入门

设计开发 玩转FPGA (DE2-115) - 1602 LCD接口设计

两个DE2-115开发板之间通过网口相互通信

SD卡WAV音乐播放器(quartus11.0)(FAT32)(DE2-115)

基于FPGA的数字秒表设计

Centos 7.0安装Zabbix server详细步骤