打印

求助fifo ip核的问题

[复制链接]
2654|14
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
mxjtracy|  楼主 | 2011-12-2 16:07 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
opple| | 2011-12-3 21:06 | 只看该作者
我觉得需要驱动下

使用特权

评论回复
板凳
opple| | 2011-12-3 21:06 | 只看该作者
:)

使用特权

评论回复
地板
明空| | 2011-12-3 23:30 | 只看该作者
生产的fifo一般都是同步的,写使能有效,每一个wr_clk上升沿写入一个数据,读同理

使用特权

评论回复
5
GoldSunMonkey| | 2011-12-3 23:31 | 只看该作者
我觉得需要驱动下
opple 发表于 2011-12-3 21:06

为啥要驱动?

使用特权

评论回复
6
GoldSunMonkey| | 2011-12-3 23:32 | 只看该作者
1# mxjtracy 照明空说的办。

使用特权

评论回复
7
mxjtracy|  楼主 | 2011-12-7 12:41 | 只看该作者
6# GoldSunMonkey 好的多谢

使用特权

评论回复
8
GoldSunMonkey| | 2011-12-7 15:16 | 只看该作者
:lol

使用特权

评论回复
9
爱在2012| | 2011-12-29 20:24 | 只看该作者
搞定没?

使用特权

评论回复
10
zhongxon| | 2011-12-29 22:43 | 只看该作者
生成fifo的时候,它会有HDL Instantiation Template。按着这个调用就行。这个是我用的:
输入36bit 512.输出18bit 1024.
capture_fifo capture_fifo_inst1 (
  .rst(rst),                                                                 // input rst
  .wr_clk(wr_clk_bufr),                                                 // input wr_clk
  .rd_clk(rd_clk),                                                 // input rd_clk
  .din({6'b000000,din_reg[23:12],6'b000000,din_reg[11:0]}), // input [35 : 0] din
  .wr_en(wr_en),                                                         // input wr_en
  .rd_en(rd_en),                                                         // input rd_en
  .dout(fifo_dout),                                                 // output [17 : 0] dout
  .full(),                                                                         // output full
  .almost_full(),                                                 // output almost_full
  .wr_ack(),                                                                 // output wr_ack
  .overflow(),                                                         // output overflow
  .empty(empty),                                                                 // output empty
  .almost_empty(),                                                 // output almost_empty
  .valid(),                                                                 // output valid
  .underflow()                                                         // output underflow

使用特权

评论回复
评分
参与人数 2威望 +3 收起 理由
12089044 + 1
GoldSunMonkey + 2 我很赞同
11
GoldSunMonkey| | 2011-12-29 23:41 | 只看该作者
;P楼上说的对。加分

使用特权

评论回复
12
binghe41| | 2012-7-17 22:24 | 只看该作者
这样啊

使用特权

评论回复
13
GoldSunMonkey| | 2012-7-17 23:53 | 只看该作者
:)

使用特权

评论回复
14
vivisa| | 2012-7-18 14:48 | 只看该作者
酱紫啊。:)

使用特权

评论回复
15
GoldSunMonkey| | 2012-7-18 15:14 | 只看该作者
:)

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

0

主题

14

帖子

0

粉丝