Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |正序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~6 h6 P) @; h8 n6 s0 y
想請問一下大家!!
1 j& \& e5 b0 ]4 ]; `& q該怎麼設計?$ r# Q! @4 b: F" b6 M4 d! P8 r
以下是我需要的功能~

: c6 F5 @% ^2 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
0 X  P& z1 p0 x0 z5 d
. w' O+ e  R* T% R

6 O8 \7 Q2 I. f- TThereare 5 pipe stages in our pipelining design. 2 N; y7 ~+ e- \4 n
It means that the input data can beobserved at the output port after 5 clock cycles. & f7 C( E0 e- t. d6 W) c2 o( n
All the stages must be readyto proceed at the same time.
# v! W0 r+ f2 ?- O( PWhen d_full is active, you have to keep the outputdata until d_full is disabled. . A  f: {3 C) }/ y; H
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.
$ F  |8 |) `3 F! DThe pipeline bubbles haveto be eliminated when d_full is active." C7 ]& d5 ~) A  O# x# ^

1 c) ~8 c) {8 P: I  J, M0 A# b. l+ z* Q
/ ?# a/ ^" `# F. l; B+ f+ d1 h" v
! F6 z% z3 Z8 ~: @. |

% O6 a' Y9 `; P1 [1 A8 ?& q2 y+ i: z) z8 V9 w

2 {2 R) {( W* F' o  O
# ~4 ^# W  n* e- k4 X. m# m( L8 C) E2 ~. E7 t  C# ]( g
" L3 I2 P) D6 {2 V  u
4 m' f! K: j4 P) R5 @! A

* l3 I7 w  \9 c& I) Y2 ^$ ?/ q( v8 Y3 O  }: x# c1 J# N3 j

# t9 h/ _9 R( t- N$ z  W% I8 A6 g. _: A! D5 l( `5 X3 M. Z- D

6 c2 x& Q5 @8 h7 B
& d4 e0 \% j* Z+ E( ^
& T2 y  I0 o: z8 d
$ ~  Z" B; A6 t+ L6 s/ r# a
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-6-17 10:53 PM , Processed in 0.122016 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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