|
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~
3 o5 h; b7 b! s, {$ m想請問一下大家!!
: E7 U+ n& C" [& k( r" M! d! o該怎麼設計?; \' P: m7 g$ K2 v6 q. L1 T
以下是我需要的功能~
; g s$ N- N6 d9 k | | | | | | | | | | | | | | | | | | | The next stage data full signal | | | | | | | | | DUT full signal to preceding stage |
& m7 K$ c' a5 f* J- h: Z2 a" D, r, Y. V/ |! h" P, K4 W, b4 t
2 T& z( I" C w+ v+ z0 M
Thereare 5 pipe stages in our pipelining design.
# ~; }* w; y0 ~4 ^It means that the input data can beobserved at the output port after 5 clock cycles. 2 I/ Q9 O; k5 S8 T) T, _
All the stages must be readyto proceed at the same time.
7 t Z; Z; b7 @* b: H: U! mWhen d_full is active, you have to keep the outputdata until d_full is disabled.
1 t: z0 Z$ F3 z8 UIf d_full is active and all the pipe stages arebusy, you have to generate pp_full to inform the preceding stages to hold data.
: \' _; n7 f6 k8 w$ _5 rThe pipeline bubbles haveto be eliminated when d_full is active.
2 s7 ]0 D5 @ Z5 E$ u- L3 \2 O" G% d; \
]4 e" U: U3 N8 p+ ^# j/ G$ Y4 j
9 y# W; y8 v2 w1 B2 K. C+ [) z9 x4 k) |+ A5 e; j6 L1 m
2 j/ T) E% o% U5 C( K4 o% g
. K6 |7 S6 @% Z5 E, |! \
( u, g! V2 G' i5 P& a / F, w# b0 E9 g7 x& e' l. @( Y( o' G
7 ?* ` p4 d$ r: _" ?2 B' N/ R6 O# o) Y4 J7 t3 j
- f4 Y1 w4 W' {4 n z& w
0 N& L ~# |# Y1 K' _% O8 }+ L5 [2 l) w) d8 T$ U9 a, F! q
( N' B( ]/ ^* V9 j1 p" N! {
: w8 P r0 N0 h8 W+ R& h4 n0 g0 n2 O0 [! n9 E* z- }6 u. M
; [( w* t y* |' H
! q7 U$ q1 `+ c b- }3 V$ L# ]( W& f8 J; i
|
|