Quartus II 与ModelSim-SE联合仿真Shift_ram

原理介绍

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的实例说明一致;

大西瓜FPGA-->https://daxiguafpga.taobao.com

博客资料、代码、图片、文字等属大西瓜FPGA所有,切勿用于商业! 若引用资料、代码、图片、文字等等请注明出处,谢谢!

转载于:https://www.cnblogs.com/logic3/p/6284870.html

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值