当前位置:网站首页>IP Core: FIFO
IP Core: FIFO
2022-08-02 00:15:00 【Liu Yan son】
前言
Instantiate thisFIFO的IPnuclear forSDRAM中读写FIFO
正文
Only the following are configured3部分,其余保持默认即可



配置完成后,You can go to the folder to find the instantiation file,将其复制到顶层模块中

//------------- wr_fifo_data -------------
fifo_r_w wr_fifo_data(
//用户接口
.wrclk (wr_fifo_wr_clk ), //写时钟
.wrreq (wr_fifo_wr_req ), //写请求
.data (wr_fifo_wr_data), //写数据
//SDRAM接口
.rdclk (sdram_clk ), //读时钟
.rdreq (sdram_wr_ack ), //读请求
.q (sdram_data_in ), //读数据
.rdusedw (wr_fifo_num ), //FIFO中的数据量
.wrusedw ( ),
.aclr (~sdram_rst_n || wr_fifo_rst) //清零信号
);
//------------- rd_fifo_data -------------
fifo_r_w rd_fifo_data(
//sdram接口
.wrclk (sdram_clk ), //写时钟
.wrreq (sdram_rd_ack ), //写请求
.data (sdram_data_out ), //写数据
//用户接口
.rdclk (rd_fifo_rd_clk ), //读时钟
.rdreq (rd_fifo_rd_req ), //读请求
.q (rd_fifo_rd_data), //读数据
.rdusedw ( ),
.wrusedw (rd_fifo_num ), //FIFO中的数据量
.aclr (~sdram_rst_n || rd_fifo_rst) //清零信号
);
边栏推荐
猜你喜欢
随机推荐
【ACWing】406. 放置机器人
带你搞懂MySQL隔离级别,两个事务同时操作同一行数据会怎样?
Axure tutorial - the new base (small white strongly recommended!!!)
中缀转后缀、前缀表达式快速解决办法
【Leetcode】475. Heaters
LeetCode_518_零钱兑换Ⅱ
LeetCode_322_零钱兑换
GetHashCode与Equals
SphereEx苗立尧:云原生架构下的Database Mesh研发实践
@Transactional 注解使用详解
Axure教程-新手入门基础(小白强烈推荐!!!)
【MySQL篇】初识数据库
WEB安全基础 - - - XRAY使用
【MySQL系列】MySQL索引事务
contentEditable属性
When Netflix's NFTs Forget Web2 Business Security
Excel表格数据导入MySQL数据库
Flink Yarn Per Job - CliFrontend
2022 6th Strong Net Cup Part WP
类型“FC<Props>”的参数不能赋给类型“ForwardRefRenderFunction<unknown, Props>”的参数。 属性“defaultProps”的类型不兼容。 不









![[头条]笔试题——最小栈](/img/67/08f2be8afc780e3848371a1b5e04db.png)