首页 > 其他 > 详细

Quartus II 与ModelSim-SE联合仿真Shift_ram

时间:2017-01-14 12:40:31      阅读:634      评论:0      收藏:0      [点我收藏+]

原理介绍

The ALTSHIFT_TAPS IP core supports single-bit and multiple-bit data shifting at one
clock cycle, depending on the width of the
shiftin and shiftout ports. For example,
if the
shiftin and shiftout ports are single-bit data, only one bit is shifted per clock
cycle. If the
shiftin and shiftout ports are multiple-bit data, such as one-word data
(8-bit), the whole word is shifted per clock cycle.

Shift_ram能够通过shiftin设置移位输出的位宽,TAP_DISTANCE 设置每行数据单元个数;

NUMBER_OF_TAPS设置抽头的数量;

 

技术分享

技术分享

    TAP_DISTANCE = 3;表征每行有3个数据单元;

NUMBER_OF_TAPS = 4.;表征有4列,即抽头的数量;

将每一行的抽头输出就形成了tapsshiftout输出的是taps的高位数据单元;

技术分享

 

实例

调用IP

技术分享

 

技术分享

 

技术分享

测试数据产生模块

技术分享

Modelsim仿真

仿真结果与datasheet的实例说明一致;

技术分享

Quartus II 与ModelSim-SE联合仿真Shift_ram

原文:http://www.cnblogs.com/logic3/p/6284870.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!