当前位置:网站首页>基于移位寄存器的同步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
边栏推荐
- Failed to install the hcmon driver
- 基于SSM选课信息管理系统
- 三种解决:在点击用户退出登录时,再按浏览器的后退按钮,仍然能够看到之前登录的页面。
- [create interactive dice roller application]
- [virtualization] view the log files of vCenter and esxi hosts
- Moco V2: further upgrade of Moco series
- [programmers must] Tanabata confession strategy: "the moon meets the cloud, the flowers meet the wind, and the night sky is beautiful at night". (with source code Collection)
- oracle 11g “密码延迟验证”特性
- LDP相关知识点
- 【云原生之kubernetes】kubernetes集群下ConfigMap使用方法
猜你喜欢

研发了 5 年的时序数据库,到底要解决什么问题?

Mbr3045ct Schottky diode, mbr0100, mbr2060ct diode parameters

Booking.com binke Shanghai noodles

6-40v input fixed 5V 3.3V output 1.1a current 23-5 package

waf详解

redux

Six years of automated testing from scratch, I don't regret turning development to testing

KBPC1510-ASEMI大芯片15A整流桥KBPC1510

第十八章:2位a~b进制中均位奇观探索,指定整数的 3x+1 转化过程,指定区间验证角谷猜想,探求4份黑洞数,验证3位黑洞数

Can UDP and TCP use the same port?
随机推荐
[stl] priority queue priority_ queue
One stop monitoring of the software and hardware infrastructure of the whole university, and Suzhou University replaces PostgreSQL with time series database
让百度收录,爬虫自己网站
KBPC1510-ASEMI大芯片15A整流桥KBPC1510
申请SSL证书,并给域名配置SSL证书,并部署服务器;SSL证书的下载和安装
微信小程序实现音乐播放器(5)
JS Base64 encoding and decoding
Bracket nesting problem (recommended Collection)
The B2B2C multi merchant system has rich functions and is very easy to open
测试工作不受重视?学长:你应该换位思考
研发了 5 年的时序数据库,到底要解决什么问题?
C语言函数(2)
DDD landing is called an advanced
Uncaught TypeError: $(...).onmouseenter is not a function js错误,解决办法:
redux
【云原生之kubernetes】kubernetes集群下ConfigMap使用方法
Sersync/lsync real-time synchronization
Visio:甘特图如何合并单元格?解决方案:覆盖单元格
Zkevm: summary of zkevm and L1 by Mina's CEO
[virtualization] view the log files of vCenter and esxi hosts