15、同步与同步化FIFO的设计与仿真

同步与同步化FIFO的设计与仿真

1. 同步FIFO的RTL代码

同步FIFO(Synchronous FIFO)是一种重要的硬件组件,下面是一个深度为15、数据位宽为8位的同步FIFO的RTL代码。

/*********************************************************/
// MODULE:
// Synchronous FIFO
//
// FILE NAME:
// sfifo_rtl.v
// VERSION:
// 1.0
// DATE:
// January 1, 1999
// AUTHOR:
// Bob Zeidman, Zeidman Consulting
//
// CODE TYPE:
// Register Transfer Level
//
// DESCRIPTION:
// This module defines a Synchronous FIFO. The
// FIFO memory is implemented as a ring buffer. The read
// pointer points to the beginning of the buffer, while the
// write pointer points to the end of the buffer. Note that
// in this RTL version, the memory has one more location than
// the FIFO needs in order to calculate the FIFO count
// correc
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值