Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~& W1 @; S9 v" I* Y
想請問一下大家!!
5 J  J+ E# r% Z. e該怎麼設計?
7 ?" u" t! {5 z0 T" t) F以下是我需要的功能~
! a+ I9 ~; ]& T4 w8 K0 `, O
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
6 d% D; f5 i/ V: G

; u; o# a: P3 |( o
! i7 n! l$ U4 sThereare 5 pipe stages in our pipelining design.
, [. U, Q- Y1 v+ P% xIt means that the input data can beobserved at the output port after 5 clock cycles.
2 k: G7 q2 u" }All the stages must be readyto proceed at the same time.
1 h' o$ i8 `* F- S1 AWhen d_full is active, you have to keep the outputdata until d_full is disabled.
2 i5 g/ K* E* EIf d_full is active and all the pipe stages arebusy, you have to generate pp_full to inform the preceding stages to hold data. + Q) |0 h( f9 J" N. c
The pipeline bubbles haveto be eliminated when d_full is active.# W" V; A; K' ~5 T

1 Q& q+ h: r0 X) Z* Z1 X: r# x$ f& F7 z: T

' U7 G! V! c$ P
6 K' c1 @  N9 }
* ?3 Z0 r' X; ?& P4 P7 n

, C6 {. {, ?9 m  M8 b

1 b% q, d, _6 C  b8 q; s 0 b3 a7 a, \$ R$ L' x
& v* k: W, H" j) ?5 h8 b

3 P9 d8 w* r  T+ V7 J% i1 ^8 z9 x7 n3 n: Y7 n/ r- R% d/ Z

) U  c; ^4 R+ \5 z3 i- G! n
' w$ f" S8 k! _& S# w/ [/ ~- _
6 ~$ V& c# b  S2 n
- K+ q" V% k3 e1 ?. ]  u

/ Q/ y; v- R- I; m( b8 B  |7 h! d
0 ^8 I2 G- m0 B4 b& K9 M1 {+ n9 J) _  L# C! N
" B  E: C/ J; ^( ~* E' D4 K' n
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-5-4 05:05 AM , Processed in 0.104006 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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