Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

搜索
1 2 3 4
查看: 3338|回復: 0

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

[複製鏈接]
發表於 2016-10-19 23:25:35 | 顯示全部樓層 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~4 m9 h, p! @- V5 y& r
想請問一下大家!!2 P3 R( X1 a% a' n2 S! Y
該怎麼設計?
5 O9 {2 x5 c# j以下是我需要的功能~
# X- M1 x3 l/ {0 ]# K! m; c
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

5 Y) j& ?7 y, u1 g' y" w* V# B# E+ |" B, g% M( Z: M4 a0 Z
" U& Z) u3 a- m& E* Y0 d
Thereare 5 pipe stages in our pipelining design. % A( w- s2 ?" {! q4 G+ C
It means that the input data can beobserved at the output port after 5 clock cycles. 0 H! n: n! C2 @* F5 j! v
All the stages must be readyto proceed at the same time. 3 |2 ~- |3 {  x% M: |
When d_full is active, you have to keep the outputdata until d_full is disabled. 4 [8 N; a8 h5 M
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.
# v- g, c2 y7 s, LThe pipeline bubbles haveto be eliminated when d_full is active., O) r7 I; a; R) H( a

' C" z7 Q) Z1 _: ?/ {3 T6 W0 T  F! k8 G4 }

% ~# h0 ?6 U- f7 c. D1 I2 D: Q7 `' u( \7 R8 M5 @7 k5 c
% D( a% \* _" H5 b8 M% l$ ?% g- H* m
  N) ~* b- @, z% R- ?( m
- P) @. W: G- c5 h. e% A( O8 {
" q0 j# s4 f* |" y" R
6 y) W( v# w& i1 J" D4 {, m9 X
! Z1 K# w7 {4 k' h/ c+ O
2 T% S* Y; I+ H& Q4 Y; B
6 B+ i) d9 ]  o

, K& W7 _' q* r0 y
: n: A; y2 E1 h0 h8 }/ T
0 R+ n( x3 x, o5 v1 s5 W& |
; Z# R0 r: m% l* a8 V9 l
2 P7 V% ^% T1 h( `6 L# t
( L% `* o3 N" H+ {# |, N

% V  S  V& v3 G  `5 s- \
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-4-16 12:02 PM , Processed in 0.108006 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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