Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

搜索
1 2 3 4
查看: 3356|回復: 0
打印 上一主題 下一主題

[問題求助] [急]verilog pipeline bubble 設計

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~3 e5 g4 T  @2 H7 _8 Y
想請問一下大家!!1 {' L% O7 P: L! p0 f* l. }8 b
該怎麼設計?2 A' A3 p/ L) C3 @
以下是我需要的功能~

5 {$ g, n; i8 N# U. X) J6 u) E
Module name
my_pipeline
Signal
Direction
Description
clk
input
System clock
rst_n
input
reset signal, active low
d_in[15:0]
input
DUT input data
d_rdy
input
DUT input data ready
d_full
input
The next stage data full signal
pp_d[15:0]
output
DUT output data
pp_rdy
output
DUT output data ready
pp_full
output
DUT full signal to preceding stage

5 S5 R* F! I0 f6 Q2 v2 |
+ g2 J2 v) ?9 W
4 E1 B3 I0 s; ]! RThereare 5 pipe stages in our pipelining design.
9 J5 S5 H( C1 v' Q0 GIt means that the input data can beobserved at the output port after 5 clock cycles.
( Z: o. R4 E1 h5 e* NAll the stages must be readyto proceed at the same time. , S  O) q( A1 H, [" v6 G3 d; D$ c3 T- T
When d_full is active, you have to keep the outputdata until d_full is disabled.
- H+ e2 O( B1 g9 iIf d_full is active and all the pipe stages arebusy, you have to generate pp_full to inform the preceding stages to hold data. # Y7 i! D9 h1 v; ]9 i1 C
The pipeline bubbles haveto be eliminated when d_full is active.. @% [4 ?$ h) p, b0 L

8 V& G) \' W+ E" h$ c/ |
$ h( q( }$ y: @' z% j8 x0 ^+ L: u

5 O8 f# d3 U- N( G& `: H" C+ u9 ^  v1 _6 \
! a1 v8 F3 x, U; r; ?3 Y, @

" s# k. u9 z3 N% k2 A+ h4 N: h4 x1 j  _7 J

8 s% i1 }$ _8 d  r
, j8 x+ T  u' J+ c9 K' y4 b  D
) B' W% P( `. h7 C0 J! M/ _1 C
* M# l' N& B3 l' ~& x, Z1 |

& n* j: }, u% \5 C7 C, @
  R( N# }7 O# Q9 X
0 l& x0 a4 p4 h) U$ r6 n
3 [' L# G" d: q: U  T

' x2 O1 W$ c8 N* q! B; |. [0 |

9 k6 X7 [4 o$ I2 ^5 U" W% j2 I9 Y( P$ |0 g7 y) s+ B# {
7 x5 W& }: Y6 |; S, _# M( |
1 B1 g8 W9 q+ I; h* i  `8 Z
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

首頁|手機版|Chip123 科技應用創新平台 |新契機國際商機整合股份有限公司

GMT+8, 2024-5-3 08:49 AM , Processed in 0.105006 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表