sdram

所属分类:VHDL/FPGA/Verilog
开发工具:TEXT
文件大小:14KB
下载次数:187
上传日期:2010-10-10 21:48:04
上 传 者bamu1984
说明:  通过 UART 读写 SDRAM verilog 源代码 通过 UART 的接口发送命令来读写 SDRAM 命令格式如下: 00 02 0011 1111 2222 00: 写数据 02: 写个数 0011: 写地址 1111 2222: 写数据, 是 16 bit, 每写完一个数据,向串口发送 FF 回应; 输出: FF FF 01 03 0044 01: 读sdram 03: 读的个数 0044: 读的地址 输出: xxxx xxxx xxxx sdram 在 0044 0045 0046 处的数据; sdram 使用的是 K4S161622D.pdf 系统时钟 25m, 通过 PLL 得到 SDRAM clk 100m sdram controller clk 100m, 前者相对后者2ns 相移
(Read and write through the UART SDRAM verilog source code through the UART interface to send commands to SDRAM read and write command format is as follows: 0,002,001,111,112,222 00: Write Data 02: Write the number of 0011: write address 11112222: write data, is 16 bit, each completed a data, respond to the serial port FF output: FF FF 01 03 0044 01: Reading sdram 03: 0044 the number of read: Read the address output: xxxx xxxx xxxx sdram at 004,400,450,046 at the data sdram use system clock is K4S161622D.pdf 25m, obtained by PLL SDRAM clk 100m sdram controller clk 100m, the former phase shift relative to the latter 2ns)

文件列表:
pll_ctrl.v (16604, 2010-10-10)
pll_ctrl_bb.v (12603, 2010-10-10)
pll_ctrl_syn.v (7429, 2010-10-10)
sdr_ctrl.v (8997, 2010-10-10)
sdr_param.v (1458, 2010-10-09)
sdr_test_top.sdc (14548, 2010-10-10)
sdr_test_top.v (1974, 2010-10-08)
sys_ctrl.v (2117, 2010-10-03)
uart_clk.v (658, 2010-10-01)
uart_recv.v (2001, 2010-10-03)
uart_send.v (1839, 2010-10-01)
uio_ctrl.v (5198, 2010-10-08)

近期下载者

相关文件


收藏者