Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~
3 o5 h; b7 b! s, {$ m想請問一下大家!!
: E7 U+ n& C" [& k( r" M! d! o該怎麼設計?; \' P: m7 g$ K2 v6 q. L1 T
以下是我需要的功能~

; g  s$ N- N6 d9 k
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

& m7 K$ c' a5 f* J- h: Z2 a" D, r, Y. V/ |! h" P, K4 W, b4 t
2 T& z( I" C  w+ v+ z0 M
Thereare 5 pipe stages in our pipelining design.
# ~; }* w; y0 ~4 ^It means that the input data can beobserved at the output port after 5 clock cycles. 2 I/ Q9 O; k5 S8 T) T, _
All the stages must be readyto proceed at the same time.
7 t  Z; Z; b7 @* b: H: U! mWhen d_full is active, you have to keep the outputdata until d_full is disabled.
1 t: z0 Z$ F3 z8 UIf d_full is active and all the pipe stages arebusy, you have to generate pp_full to inform the preceding stages to hold data.
: \' _; n7 f6 k8 w$ _5 rThe pipeline bubbles haveto be eliminated when d_full is active.
2 s7 ]0 D5 @  Z5 E$ u- L3 \2 O" G% d; \

  ]4 e" U: U3 N8 p+ ^# j/ G$ Y4 j

9 y# W; y8 v2 w1 B2 K. C+ [) z9 x4 k) |+ A5 e; j6 L1 m
2 j/ T) E% o% U5 C( K4 o% g
. K6 |7 S6 @% Z5 E, |! \

( u, g! V2 G' i5 P& a / F, w# b0 E9 g7 x& e' l. @( Y( o' G

7 ?* `  p4 d$ r: _
" ?2 B' N/ R6 O# o) Y4 J7 t3 j
- f4 Y1 w4 W' {4 n  z& w

0 N& L  ~# |# Y1 K' _% O8 }+ L5 [2 l) w) d8 T$ U9 a, F! q
( N' B( ]/ ^* V9 j1 p" N! {

: w8 P  r0 N0 h8 W+ R& h4 n0 g
0 n2 O0 [! n9 E* z- }6 u. M
; [( w* t  y* |' H

! q7 U$ q1 `+ c  b- }3 V$ L# ]( W& f8 J; i
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-5-7 07:40 AM , Processed in 0.106006 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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