|
发表于 2012-12-15 11:31:10
|
显示全部楼层
我使用Xilinx公司的MicroBlaze+SDRAM驱动LCD(VGA)的模式
mcu_1 MCU (
.fpga_0_RS232_RX_pin ( uart1_rxd ),
.fpga_0_RS232_TX_pin ( uart1_txd ),
.fpga_0_LEDS_GPIO_IO_O_pin ( led ),
.sdram_SDRAM_CE_pin ( sd0_cke ),
.sdram_SDRAM_RAS_n_pin ( sd0_ras ),
.sdram_SDRAM_CAS_n_pin ( sd0_cas ),
.sdram_SDRAM_CS_n_pin ( sd0_cs ),
.sdram_SDRAM_BankAddr_pin ( sd0_bank ),
.sdram_SDRAM_WE_n_pin ( sd0_we ),
.sdram_SDRAM_DQ ( sd0_data ),
.sdram_SDRAM_Addr_pin ( sd0_addr ),
.sdram_SDRAM_DM_pin ( sd0_dqm ),
.sdram_SDRAM_Clk_pin ( sd0_clk ),
.sdram_VFBC2_Cmd_Clk_pin ( clk_vga ),
.sdram_VFBC2_Cmd_End_pin ( cmd_end ),
.sdram_VFBC2_Cmd_Reset_pin ( cmd_reset ),
.sdram_VFBC2_Cmd_Data_pin ( cmd_data ),
.sdram_VFBC2_Cmd_Write_pin ( cmd_we ),
.sdram_VFBC2_Rd_Empty_pin ( read_empty ),
.sdram_VFBC2_Rd_Reset_pin ( read_reset ),
.sdram_VFBC2_Rd_Read_pin ( read_read ),
.sdram_VFBC2_Rd_Clk_pin ( clk_vga ),
.sdram_VFBC2_Rd_Data_pin ( read_data ),
.tf_spi_MOSI ( tf_mosi ),
.tf_spi_MISO ( tf_miso ),
.tf_spi_SCK ( tf_clk ),
.tf_spi_SS ( tf_cs ),
.fpga_0_clk_1_sys_clk_pin ( clk_50 ),
.fpga_0_rst_1_sys_rst_pin ( rst )
);
vga_module vga_m (
.vga_data(vga_data),
.synch(vga_synch),
.syncv(vga_syncv),
.cmd_end(cmd_end),
.cmd_reset(cmd_reset),
.cmd_we(cmd_we),
.cmd_data(cmd_data),
.read_empty(read_empty),
.read_reset(read_reset),
.read_read(read_read),
.read_data(read_data),
.clk(clk_vga),
.rst(rst)
);
虽然慢点,但显示图片,文字还是不错的。 |
|