Quartus II 与ModelSim-SE联合仿真Shift_ram

 2023-09-05 阅读 170 评论 0

摘要:原理介绍 The ALTSHIFT_TAPS IP core supports single-bit and multiple-bit data shifting at oneclock 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 p

原理介绍

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

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/1/858.html

下一篇:mysql--锁

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息