|
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~
! ~6 T p$ \2 l% ~. b6 z; j想請問一下大家!!) i; Z' [- k% e, |- Y: L
該怎麼設計?
, x) y( Y. {; t" m! r7 g以下是我需要的功能~" |4 G# N4 i" y, r/ X
| | | | | | | | | | | | | | | | | | | The next stage data full signal | | | | | | | | | DUT full signal to preceding stage | # v5 N* R2 d- @7 M
* m5 e6 ?4 K3 K* `* O, R
( ?/ V9 V) a3 z* N- O$ F
Thereare 5 pipe stages in our pipelining design. % E' }' u! R% w2 g4 {" e
It means that the input data can beobserved at the output port after 5 clock cycles. + F: v9 [5 U+ m) n7 U
All the stages must be readyto proceed at the same time.
2 O4 a# n s+ ~6 f7 BWhen d_full is active, you have to keep the outputdata until d_full is disabled. ( q, }2 B, w, m" f$ V
If d_full is active and all the pipe stages arebusy, you have to generate pp_full to inform the preceding stages to hold data.
$ ]9 Z' [4 k' \The pipeline bubbles haveto be eliminated when d_full is active.4 d+ [ a* m: S/ J' v& e
6 T4 \4 `. L% } x$ L
$ [) ?) Z* T. u B. i" b) ]: X, V3 T2 i( L; Y
. M2 o' P. A" W& z7 S/ \( U. P' C; @
4 z4 u5 G. H( n
1 ` _0 \ c0 E+ ?, ^3 |* {: p
: a9 |7 j+ G0 r) M+ S+ u# a- u
9 \) ~$ R6 m( Z* g2 C6 S3 j4 ?* d4 }
2 q2 [3 ?- |' d( z
2 q1 G3 R4 X7 x5 t$ V- G1 m3 z- ~; V ]9 N& s& L- t+ r8 q2 v" F. |- q
* I0 f2 X% v; O1 l$ w: T
! }! @& B u% o0 W' T. U& M
1 T# ]" l3 y0 r4 a
# S' b6 x1 ]+ }) t
" c. b W- Y; K# ^' f2 h. |( H0 R/ s4 P( G5 @, W
|
|