For the problem of real-time and high-speed data cache in digital video image acquisition and display sys-tem, a design of SDRAM controller based on FPGA is put forward in this paper.On the basis of the logical structure of SDRAM, the SDRAM initialization and operations of reading and writing are achieved by using the Verilog lan-guage, and then a kind of operation data writing and reading using only a SDRAM ping-pong is put forward, at the same time,the data exchange of the asynchronous clock is achieved by using the FIFO.Simulation waveform of experi-mental results show that this design can achieve very good the data cache of SDRAM controller and the ping-pong op-eration of data reading and writing.%针对数字视频图像采集及其显示系统中高速实时的数据需要缓存的问题,提出一种基于FPGA的SDRAM控制器设计。在研究SDRAM的逻辑结构的基础上,利用Verilog语言实现了SDRAM的初始化以及读写操作,同时提出一种仅使用一块SDRAM进行数据写入和读出的乒乓操作的方法,并且使用FIFO实现了异步时钟数据的交换。实验仿真波形图表明该设计能很好的实现SDRAM控制器的数据缓存以及数据读写的乒乓操作。
展开▼