Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

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

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

[複製鏈接]
發表於 2016-10-19 23:25:35 | 顯示全部樓層 |閱讀模式
我目前在設計一個pipeline的電路,且有防bubble機制,但在設計的過程中有些問題~1 M% b- A( g3 L& X2 a  [
想請問一下大家!!  Y4 P. T  j& {' k/ }' K8 l
該怎麼設計?
! _5 x( Z7 d) \0 T* V以下是我需要的功能~
: M4 D8 w4 q4 u7 O% [
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

) J* o5 B' ?9 ^
4 F. |: M9 S' n+ I# s4 W2 U
/ ~4 ~4 }' w% uThereare 5 pipe stages in our pipelining design. 4 J1 n& o# Y/ j5 ^7 @8 i. M/ q" \
It means that the input data can beobserved at the output port after 5 clock cycles. , p( z/ W1 A& a8 a; E) _5 {" K
All the stages must be readyto proceed at the same time. 7 p& s3 k5 o* G
When d_full is active, you have to keep the outputdata until d_full is disabled. ; |  S! G- t# Q9 P; ^" x  u. L* E
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. % t& R: J/ k: ~5 k
The pipeline bubbles haveto be eliminated when d_full is active.
' G$ V: A, ^( S& Y3 ~7 g" V3 K& V1 z  p
' g' D3 x# X5 K+ x5 Q/ a  k  B

& M$ @& h- E3 }2 _' A1 g" ^: o) j

; n. _3 J/ e# T* B9 }8 z( ~6 s# v3 u
+ t% C: [& }+ [# f/ W4 e8 R7 s
6 S/ ?* T8 O% H# }! w
$ M: u. H! z6 G. h+ A, |
' B( X8 ^' f8 s5 r
, I; e) I% O5 {) U4 L- C

0 C6 C3 g- e+ x# g6 V* F" d1 O% m
' m+ i* c2 u1 I/ o
1 C/ T6 r- k, ?6 ]8 p
- M, M+ o. n8 e# B  E) I
' s& i5 O4 _8 C! D1 V7 p! D2 s5 o$ E
6 R6 L! p$ K- ^; U, W
& R) j1 Q% ]* u4 n7 A( f

  a% I* K% Z8 D
% `2 n, x6 \# G! e6 K
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

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

GMT+8, 2024-5-23 10:20 AM , Processed in 0.106013 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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