Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~" b- w# m" H9 I% v) h
想請問一下大家!!% i  o% l, T% J. ~3 B6 y) m  j( A
該怎麼設計?' W2 @/ F& ]& m" t
以下是我需要的功能~
  e2 l9 e7 _- s: U
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
, l$ c0 ?) L# C- L1 q- q+ j
7 F# Y9 [  p0 w0 a
) H1 s2 T7 j; P  o2 |" I8 E, h1 T
Thereare 5 pipe stages in our pipelining design.
1 y. u7 e) T) C) X' ]It means that the input data can beobserved at the output port after 5 clock cycles.
" M2 `4 q* K# ?% YAll the stages must be readyto proceed at the same time.
$ \& p% y7 `. ?4 Z) ^When d_full is active, you have to keep the outputdata until d_full is disabled.
+ o: y7 v. h2 ~4 c6 ^7 O/ fIf d_full is active and all the pipe stages arebusy, you have to generate pp_full to inform the preceding stages to hold data. : t( f7 j4 f  L
The pipeline bubbles haveto be eliminated when d_full is active.' [8 l. Q9 j2 T& K) Y3 t1 @# x

6 v9 l% c. `0 M& H+ }" L+ |/ f$ Q
+ I; [  C; b# f0 @1 D' q

! {. o/ L- V) @$ [3 t
/ y( J( K% E2 i" S( G0 ]
3 u, N8 J: L: T" d" Z
) u; m8 _+ m9 Z8 N" @6 w
9 G6 F9 x9 d# D! H3 f. I5 _
* Z9 c' R7 ]9 p( }; E! T
4 a9 d, @; i0 N9 T& J6 {7 k
& @& G1 R6 a2 s; k' X
; l; J5 R; e' D3 k
8 H1 u  ], U6 Q/ O4 u- h% D7 F

6 M- g: p: U+ H& F8 Q4 L

# Y* }! R: ^8 m9 ~, Q. x' ~0 V$ H8 B4 `. ]

4 Y! t( r( T  S$ P- u6 l: Z0 B; r9 [; c" t$ W) b
1 R, }/ M$ K, g' d, W+ }( P& w
  u$ }# [, d/ ^5 F
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-5-18 05:24 PM , Processed in 0.109014 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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