高速图像采集系统中的SDRAM缓存模块设计*

2016-04-20 00:29:12程光伟陈玲玲
计算机与数字工程 2016年3期

程光伟 陈玲玲

(西安工业大学电子信息工程学院 西安 710021)



高速图像采集系统中的SDRAM缓存模块设计*

程光伟陈玲玲

(西安工业大学电子信息工程学院西安710021)

摘要在数字视频图像采集及其实时显示系统中,由于前端传感器采集速度过快,一般与后端显示系统时钟不匹配,大量的数据需要先进行缓存再输入给后端的显示模块。针对以上问题,在研究SDRAM原理和时序的基础上,采用verilog语言,成功实现基于FPGA的SDRAM控制器设计,同时利用FIFO缓存数据很好地解决了前端数据采集和后端视频显示异步时钟域的数据交换问题,实现了SDRAM缓存数据的功能。论文详细介绍各模块的原理和实现方法,实验仿真及结果表明,设计实现的SDRAM双端口控制器,具有电路简单、工作可靠等优点,封装后可以应用在别的视频图像采集系统的项目中,可缩短开发周期。

关键词FPGA技术; SDRAM控制器; FIFO缓存; 异步时钟; 跨时钟域传输

SDRAM Cache Design of High-speed Image Acquisition System

CHENG GuangweiCHEN Lingling

(Electronic Information Engineering Institute, Xi’an Technological University, Xi’an710021)

AbstractIn the digital video image acquisition and real-time display system, since the front sensor collects too fast, usually with back-end display system clock does not match the amount of data you need to re-enter the cache to the backend of the display module. To solve these problems, on the basic research of principles and timing of SDRAM, using verilog language, the successful implementation of FPGA-based controller design of SDRAM, while taking advantage of a good solution to data FIFO buffer data acquisition front-end and back-end video display asynchronous clock domains data exchange problem, the function of SDRAM cache data is realized. Details are presented below principles and implementation methods, simulation and experimental results show that each module, SDRAM dual-port controller design implemented with a simple circuit, reliable work, etc., can be applied in the project after the package other video image acquisition system, the development cycle can be shorten.

Key WordsFPGA technology, control of SDRAM, FIFO buffer, asynchronous clock, transfer cross clock domain

Class NumberTP332

1引言

在数字视频图像采集及其显示系统中,前端的传感器一般为高速传感器,采集数据速度很快,为了同步实现传感器采集的视频图像与VGA的显示,需要将传感器捕获后的数据交给VGA进行实时显示[1]。传感器采集的数据经捕获、解码后输出给VGA,但由于VGA的驱动时钟往往与像素时钟不同步,无法实现实时显示。这时,就要处理不同时钟域的数据交互问题,由于要处理的数据量非常大,对实时性要求比较高,且采集图像的速度和后期处理数据的速度不匹配,所以采用SDRAM作为缓存器,实现跨时钟域的数据交互问题。……

登录APP查看全文