资源描述:
《基于FPGA的同步fifo设计与仿真【毕业论文】》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、本科毕业设计基于FPGA的同步fifo设计与仿真29摘要RAM是一种重要的时序逻辑存储电路,它的逻辑功能是在地址信号的选择下对指定的存储单元进行相应的读写操作。数据读入后,存储器内的原数据不变;而新数据写入后,原数据自然消失,并为新数据代替。FIFO作为RAM下面的一种存储器,本身的性能和RAM十分地相似。本论文中的同步FIFO是指读和写都在一个时钟下工作的存储器。FIFO作为一种先进先出的存储器,应用范围广泛,加之现代电子技术的不断发展,信息量越来越大,人们需要对数据进行快速存储和读取,尤其体现在大规模的电路设计中,需要较大的存储,
2、实存存储已经无法满足需求,这就需要建立可存储大量数据的虚拟存储空间,而FIFO这种先进先出的结构特点很好地适应了这些要求。本文中同步FIFO的对外接口包括时钟,清零,读请求,写请求,数据输入总线,数据输出总线,空以及满信号。采用VerilogHDL描述语言进行编程,运行成功后在QuartusⅡ开发平台上进行设计仿真。仿真结果显示,本论文设计的同步FIFO虽然虚拟存储空间较小,但是程序上可以无限扩展,空满状态的检测方便,虽然程序简单,但体现了设计的灵活性。关键词:同步;fifo;可编程逻辑器件;FPGA;Verilog语言29Abstr
3、actRAMisakindofimportanttemporallogicstoragecircuit,it'slogicalfunctioninthechoicetoaddresssignalsunderspecifiedstorageunitforthecorrespondingreadingandwritingoperation.Datareadtheoriginal,memoryafterdatawithinchangeless;Butnewdatawriting,theoriginaldata,anddisappearnat
4、urallyfornewdatainstead.FIFOasamemoryRAMbelowtheperformanceandRAM,itselfverysimilar.ThisthesisofsynchronousFIFOreferstoreadandwriteallinoneclockworkedundermemory.FIFOasanadvancedfirstoutmemory,widerangeofapplication,togetherwiththemodernelectronictechnologyunceasingdeve
5、lopment,informationmoreandmorebig,peopleneedtoreadfaststorageanddata,especiallyembodiedinlarge-scalecircuitdesign,needlargestorage,positivestoragecannotmeetdemand,thisneedtobuildcanstorelargeamountsofdata,andvirtualstoragespacefirstoutthisadvancedFIFOstructuralfeaturesw
6、elladaptedtotheserequirements.InthispaperthesynchronousFIFOforeigninterfaceincludingclock,reset,readrequests,writerequest,datainput,dataoutputbus,thebusandfullsignalempty.UsingVerilogHDLdescribingprogramminglanguage,afterthesuccessoftheoperationinQuartusⅡdevelopmentplat
7、formdesignsimulation.Simulationresultsshowthat,thisthesisdesignsynchronousFIFOalthoughvirtualstoragespaceonsmaller,buttheprogramcanbeextendedunlimitedly,emptyfulldetectingstateofconvenient,althoughprocedureissimple,butthereflecteddesignflexibility.Keywords:synchronous;f
8、ifo;programmablelogicdevice;FPGA;Veriloglanguage29目录第1章绪论11.1引言11.2国内外研究现状11.3本论文所做的主要工作2第2章常用存储器及其原理42.1存储器42