期刊文献+

基于Avalon总线的双口RAM与PCI总线数据交换的设计 被引量:1

Design and Implementation of Data Exchange between Dual Port RAM and PCI Bus Interface Based on Avalon Bus
下载PDF
导出
摘要 基于实验室的某同步数据采集卡项目要求,需要设计一个数据共享存储器,实现数据在FPGA和上位机之间高速有效地双向传输;为此在可编程逻辑器件FPGA的基础上设计了基于Avalon总线的单时钟真双端口模式的双口RAM共享存储器;其存储容量为256字节,数据线和地址线定制8位;为了避免数据丢包现象的出现,采用了奇偶交换页的思想,16字节为一页;最后对所设计双口RAM进行验证测试,结果表明所设计的双口RAM实现了12字节报文信息在FPGA与上位机之间的高效传输;50000次的测试结果表明所设计的双口RAM实现了信息不丢包的实时传输;该设计充分利用了FPCA现有的存储资源,减少了电路设计的复杂性,同时达到数据的高效率传输。 Based on the requirements of a synchronous data acquisition card project in the laboratory,we need to design a data shared memory to achieve high-speed and efficient bidirectional transmission of data between the FPGA and the host computer.To this end,we designed a dual-port RAM shared memory based on Avalon bus in single clock true dual port mode based on programmable logic device FPGA.Its storage capacity is 256 bytes,and data lines and address lines are customized to 8 bits.In order to avoid the phenomenon of data packet loss,the idea of parity switch page is adopted,16 bytes is one page.Finally,the verification test of the designed dual-port RAM shows that the designed dual-port RAM realizes the efficient transmission of 12-byte message information between FPGA and computer.The test result of 50000 times indicates that the designed dual-port RAM realizes real-time transmission of information without packet loss.This design takes full advantage of FPCA’s existing storage resources,reducing the complexity of circuit design while achieving efficient data transfer.
作者 魏珊 魏丰 陈梦桐 Wei Shan;Wei Feng;Chen Mengtong(School of Artificial Intelligence and Automation,Huazhong University of Science and Technology,Wuhan 430074,China)
出处 《计算机测量与控制》 2020年第4期181-184,231,共5页 Computer Measurement &Control
关键词 双口RAM AVALON总线 FPGA 奇偶交换页 dual port RAM Avalon bus FPGA parity exchange page
  • 相关文献

参考文献5

二级参考文献17

共引文献46

同被引文献3

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部