当前位置:网站首页>基于移位寄存器的同步FIFO
基于移位寄存器的同步FIFO
2022-07-26 03:48:00 【FPGA硅农】

如图所示,在赛灵思官方提供的FIFO IP里,同步FIFO(Common Clock)可以由BRAM、DRAM和移位寄存器构成,或者由内建的FIFO构成,异步FIFO(Independent Clocks)可以由BRAM、DRAM和内建的FIFO构成。
本文主要实现基于移位寄存器的同步FIFO。
实现的思路为:
设置一个计数器,记录目前FIFO内部的数据个数,外部每向FIFO写入一个数据,移位寄存器就进行一次移位,而读出数据的位置则根据FIFO内数据的个数来确定。
以下是实现的代码:
代码
`timescale 1ns / 1ps
//
// Company:
// Engineer:
//
// Create Date: 2022/07/22 16:43:50
边栏推荐
- Supervit for deep learning
- KBPC1510-ASEMI大芯片15A整流桥KBPC1510
- 5-20v input peak charging current 3.5A single lithium battery switching charging chip sc7101
- Leetcode-462. make the array elements equal with the minimum number of moves
- 基于Caffe ResNet-50网络实现图片分类(仅推理)的实验复现
- Leetcode-169. most elements
- Leetcode-202. happy number
- 资深报表开发经验总结:明白这一点,没有做不好的报表
- Why are more and more users of Bing search?
- 【单片机仿真项目】外部中断0和1控制两位数码管进行计数
猜你喜欢

Uncaught TypeError: $(...). Onmousenter is not a function JS error, solution:
![[stl] priority queue priority_ queue](/img/79/d13913cbb9d98f936a9501633b38bf.png)
[stl] priority queue priority_ queue

安装VMware报错failed to install the hcmon driver

redis集群的三种方式

Sersync/lsync real-time synchronization

Asemi rectifier bridge gbu1510 parameters, gbu1510 specifications, gbu1510 package

DDD landing is called an advanced

5年1.4W倍,NFT OG 的封神之路|Web3专栏

【程序员必备】七夕表白攻略:”月遇从云,花遇和风,晚上的夜空很美“。(附源码合集)

sersync/lsync实时同步
随机推荐
Navicat connects to MySQL database on Cloud Server
php eval() 函数可以将一个字符串当做 php 代码来运行
booking.com缤客上海面经
想要做好软件测试,可以先了解AST、SCA和渗透测试
通用测试用例写作规范
Graduation season & harvest season, leave your beautiful moments
[virtualization] view the log files of vCenter and esxi hosts
Sentinel vs Hystrix 到底怎么选?
cpu和gpu已过时,npu和apu的时代开始
leetcode-169.多数元素
ASEMI整流桥GBU1510参数,GBU1510规格,GBU1510封装
[unity3d shader] character projection and reflection
Leetcode-202. happy number
HCIP第十四天
PHP连接mysql数据库,数据库连接静态工具类,简化连接。
Derivation of linear regression principle
基于Caffe ResNet-50网络实现图片分类(仅推理)的实验复现
Asemi rectifier bridge gbu1510 parameters, gbu1510 specifications, gbu1510 package
Testing is not valued? Senior: you should think in another position
Idea2020.3.1 cannot be opened (double click cannot be opened), but it can be opened through idea.bat.