Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
跳轉到指定樓層
1#
發表於 2016-10-19 23:25:35 | 只看該作者 回帖獎勵 |正序瀏覽 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~- ]/ y0 H8 z" X6 h, Q! ^* r
想請問一下大家!!
' y7 S% Y3 \) a該怎麼設計?2 v7 B) f. ?/ D3 N9 u; W
以下是我需要的功能~
% x' M5 e& }# [2 ?
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
: X$ ]; o( W" V: _$ o% t

7 q8 a6 K4 j+ Z5 n9 y- H8 Y# R- }" B, ?# T! j, P, s# {
Thereare 5 pipe stages in our pipelining design. ; S* [2 Y( Z# P
It means that the input data can beobserved at the output port after 5 clock cycles.   @1 e" E; }2 X! T" `- e
All the stages must be readyto proceed at the same time.
5 |& U: N2 ]; K, I+ z# Q( y7 Q7 _( HWhen d_full is active, you have to keep the outputdata until d_full is disabled.
3 \; @) F/ K" q" \, g8 `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.
6 j. @' y! h1 {& b5 b, uThe pipeline bubbles haveto be eliminated when d_full is active.
6 _1 \( z( [$ T4 B. n: L
% r# J1 t: w  R# v1 m% q$ U5 j1 L! r
$ V2 v7 p9 T. Y- O5 T
3 L, i; x+ n1 W+ X0 B

# y% g  R" U7 o0 J' r

7 t/ ]6 J9 d/ S; I
  F" W/ p: J1 r0 ]; g, F

9 X$ q/ r/ D. H% n1 r' r3 y   y* y) }4 h: X5 ~, I, D
0 e) f! \# ~6 P1 P7 w
! n6 Y3 h' {# K) ?+ ]' T7 v' O
: |3 s8 w% C3 _$ o- N6 Y5 s2 |  @
0 Q6 r, L, a9 I' w0 K) o  \

) `& Q* ^, H, k6 r4 r+ O. a0 {* _2 C

1 F( [( C$ d0 N7 B" V
# ]  C: I. J9 U5 e
% P( h+ E0 {4 U2 Y6 X$ v8 F
; _  `! g6 R6 R. @- X7 o
# O( e% x* k. g

; S7 G; @3 n& u
分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-5-18 11:10 AM , Processed in 0.115015 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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