Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~% V! u' ^4 d$ v6 D6 G
想請問一下大家!!, l4 B& u6 l+ ?# i$ D, H# p
該怎麼設計?7 ^1 D$ |' ~2 C
以下是我需要的功能~

* b: T9 i+ h1 A9 f
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
: w  u4 K+ O4 z/ v8 u5 X
3 \/ X, R' _4 A7 t

: W2 S# K* E/ _0 lThereare 5 pipe stages in our pipelining design. 6 b1 J" G- I( F7 ]: a7 V
It means that the input data can beobserved at the output port after 5 clock cycles. 1 D4 y  p0 _) a+ D" R5 [' f+ R
All the stages must be readyto proceed at the same time.
4 O! ~& H* ?, v4 o; bWhen d_full is active, you have to keep the outputdata until d_full is disabled. 3 z. n/ O+ V, X" Z
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. & E( x, `5 k/ K0 h( |1 e- x
The pipeline bubbles haveto be eliminated when d_full is active.
$ v9 z) O3 Z+ \, U$ c# X$ |  l, j9 L' _* x; `- N' X& p
# o  v* y% @- w2 ]( t2 \3 ~  I2 b
0 L  k1 f0 Z: \1 h$ i, \

. d: x- d7 i, h" C1 K) Z# x" ^

! w. Z) \5 H- P0 L. Y8 w9 k  |& b9 C1 f5 h

# z+ Y5 E5 U5 f4 M* J( ?
$ r$ [3 {+ B2 `7 `# b$ I
' O- U% C0 z  V
8 I! d4 E& ^$ e% f& Y2 `
4 z$ d! E9 v: n  x
8 [, R6 P) [) @, R1 d: ]. O
; d8 Z$ ]9 B: e% D& t2 k
& v5 t$ W! z+ O/ W6 S" B

- z, T* [4 F9 y; q5 j) |* T

0 H8 O0 Z: |8 T' v0 j7 k- @; @% f7 l7 I! Y

( I# }3 v. P0 }! K
9 E( ~, V) j: U  l8 V
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-5-18 03:31 PM , Processed in 0.113514 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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