|
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~5 |8 [) o' {. p
想請問一下大家!!% i+ _+ L& x9 c" { m4 s1 N1 R
該怎麼設計?: X* w% Z" n# P3 f) X
以下是我需要的功能~0 I" V# l. H+ o* r& h0 n4 L0 W
| | | | | | | | | | | | | | | | | | | The next stage data full signal | | | | | | | | | DUT full signal to preceding stage |
1 i5 z9 l3 B9 R9 H* _9 x- T# c+ R3 u0 A" l/ K4 z5 v# _
6 o$ j6 @6 k2 b0 Q) A |
Thereare 5 pipe stages in our pipelining design.
' k0 B) b& Z0 l! RIt means that the input data can beobserved at the output port after 5 clock cycles. . Y& P% l1 U+ T1 N% _
All the stages must be readyto proceed at the same time.
! W/ c" D" f5 J# @9 i8 T& j) zWhen d_full is active, you have to keep the outputdata until d_full is disabled.
: J. T' D: b4 r2 nIf d_full is active and all the pipe stages arebusy, you have to generate pp_full to inform the preceding stages to hold data. 6 r0 | v8 Q+ w: ~) Z9 x. Z( R" ~
The pipeline bubbles haveto be eliminated when d_full is active.4 z/ s1 j9 c$ T
! R/ Q3 x% \* ` w8 R. z/ Z
. I9 {$ S+ f9 V
; a: X3 w0 J& e% E0 Q: R1 i
* V4 q( k& J; X7 p9 D1 ?' _ @
' O% o4 U% w8 G" t# Z+ M5 R; h4 q: W9 s4 A0 m
^5 m4 v+ Y; x9 n
( D, U7 u0 W9 w' H' P4 S
) Q/ i! d1 }: ^% v- u& C& y! \
! L& c& A9 ]7 E" {
6 B' G M* Q" B5 i' \9 B' c3 E
: N( G: H8 T/ Z- r$ q0 j$ M$ H: |
! a% H2 |+ N8 _; S; g: O/ l, `( ^. K+ _7 e
- C9 |& U7 Z* j; E/ E
( s7 ]5 r5 H/ C. y2 X5 q5 S( G6 E j7 \* k
& G7 P' e; z' H t$ G4 \
* f1 E3 Z9 R. ^7 y3 R* m! a7 x7 d% `7 I |
|