|
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~
8 @. f, j) i3 n; X; K想請問一下大家!!# K+ a5 k9 \( _& C, H
該怎麼設計?7 e. q# |: U" R; Y1 Y% m" d0 a0 }
以下是我需要的功能~
* V$ c; i2 v) a3 F | | | | | | | | | | | | | | | | | | | The next stage data full signal | | | | | | | | | DUT full signal to preceding stage |
( z) Z7 l8 [' f
+ ^5 h3 w' a# }. h- ]1 A D7 @
8 A7 {4 ^5 i" U# d( kThereare 5 pipe stages in our pipelining design.
9 I6 W' v# j: ?+ E) `5 A/ kIt means that the input data can beobserved at the output port after 5 clock cycles. ( I" `, c& S! X1 O
All the stages must be readyto proceed at the same time.
s+ U( z3 a# X, N0 `" e# JWhen d_full is active, you have to keep the outputdata until d_full is disabled. ; c! Y4 N1 i1 s* f A. r0 T
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.
2 Y& Y( A9 u! bThe pipeline bubbles haveto be eliminated when d_full is active.
) C! \6 w% f `8 I
4 {* n- I% U) p
# N0 p4 F- `3 V5 |! s9 ^
# W0 F% S& M7 |0 @ P Y
+ c2 R1 O+ H& I5 w5 ^( E5 E; }2 U6 _8 E$ {7 U, z
- r) ?/ L2 ~4 T, {8 G% X! V. O9 k
# X! l+ ~5 J" A1 ?8 n1 a0 Z7 G
# f" U: B# N$ x7 L; D
0 G, n9 C, j4 M; e7 f/ U( U
+ C4 T0 [$ x3 w( Y) E- z% ~* M5 V; C
* L" \+ R, S% A) f" I0 A9 O7 r5 B% S6 d1 I' A+ h& ~% ~
2 t6 H' y7 q# j' N2 e7 C( w* l2 e( _4 `' W- [, \0 T. \
9 U( Y! G0 ?, j7 }
0 P$ [! F0 J0 x4 Z" r1 B
0 n1 {; m1 Z- {9 A- R0 E$ I1 L, G; L% Q
4 {: ~* {4 I+ W% k
" m) Z- y4 ~- f |
|