Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~
" k! `( A+ e/ d) M4 l想請問一下大家!!
. b( N/ C' Q  z. o該怎麼設計?
$ H& N7 K. b# O7 s, g  ~以下是我需要的功能~
/ r' w6 j; P6 s& g- N% w
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
; ~3 H2 b3 Q5 a; X

; D. ~2 u1 p& i+ w4 r5 }! U7 ^5 n8 b( j5 [: q. S! ]
Thereare 5 pipe stages in our pipelining design. * P' Q2 _, q( b" ^1 c
It means that the input data can beobserved at the output port after 5 clock cycles.
1 j' N% g/ l4 qAll the stages must be readyto proceed at the same time. & M3 w+ L1 A& @6 Y. e" l; ?
When d_full is active, you have to keep the outputdata until d_full is disabled.
+ S/ y+ W& J/ r! w0 J8 ^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.
. _1 p# P' @% `4 [The pipeline bubbles haveto be eliminated when d_full is active.8 X& ?' u# k! k* H4 ~

8 t! R4 J: y9 \  x9 Z1 Q- m+ R& t! k+ Z) C
$ v; h" K9 ]1 T- I
3 l2 j) e1 J2 l  H
" Y: P' h5 j0 q( T; O0 B

3 W- \/ \( `. n  Z5 Y2 E8 E7 ?
8 o8 s  F& Y$ K6 F% v

$ ]3 v7 U4 ]4 F$ h! {  [3 J3 @+ h! n* z- S3 ~4 p. w; Q+ f

* W: U% Q; V2 a- {' ^0 J( Q# T

5 v% o9 j( k& b( _% s3 ?- |6 L
- K# ^" g9 ]5 P

1 ~6 L" E5 A4 H5 ]8 Z& H
( F! b" |) Y) q  X
' l+ d7 d1 Y+ R+ r$ `4 x7 G

8 U8 G& i1 P8 v9 G) V' k& Y, [' I$ Z0 j2 W7 O3 ?( R

* N$ o/ l; G' R$ ^9 ^
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-6-4 12:41 AM , Processed in 0.127016 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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