Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~
4 t) m* W6 U5 i/ c5 V想請問一下大家!!
4 V7 N# Q# Q2 P# N. n( s該怎麼設計?8 v7 O3 _1 Y4 ?3 {9 g
以下是我需要的功能~

! s; Z1 o- o) b4 \: z
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

; Z) E9 m# x# l$ @) y2 J% F; O# Z; n' y1 p( x9 S* H9 ]; K7 W

( _; e# t; V; n: \# O$ tThereare 5 pipe stages in our pipelining design.   O& n' E2 c: g+ ~3 v* b
It means that the input data can beobserved at the output port after 5 clock cycles. 9 @) f! M( h  |1 G# `
All the stages must be readyto proceed at the same time. : }$ X+ Q0 ?2 B  o$ t8 |
When d_full is active, you have to keep the outputdata until d_full is disabled. 0 l+ r3 G2 t8 }- V2 U6 U$ ]
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. & w7 d4 V/ r" k* c8 h4 b- C5 b
The pipeline bubbles haveto be eliminated when d_full is active.4 f" i' F; Q+ L, F
, A3 U) Q8 w& B& `0 j+ Q

' q$ P6 W5 z' Q$ e% }3 [/ I
/ N: ]! e* W! ]6 V8 ?

2 w: V! U+ G& S. z

# H+ m4 o- _  q0 i" a$ z+ E$ y
, s. i* \: Z1 r

7 C, ]1 Q' p# @  y
: f0 A% Y( b( \7 Y2 V% B
5 V" {0 \$ @% `6 ^
7 U; M" E! U. d; _/ e7 F4 P
: S3 Q3 m8 z5 ^" U
1 L: e4 p; G  b) f
6 j7 Y& W: h& K' |- s

" b8 V; r, H& y% v# ^) R$ ^- u, X- O' ?+ H1 v, G, P. l
7 {2 @7 B* f& ^% I4 |- p

0 M% V0 v7 b/ D. S( ?2 j
& E7 J0 ^, P% X3 g$ |' w! n
/ k+ U4 ~$ t' r7 ~$ L
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-4-30 01:11 AM , Processed in 0.109006 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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