技術文章
技術問答
My Project
iT 徵才
聊天室
2026 鐵人賽
登入/註冊
文章
問答
Tag
邦友
鐵人賽
搜尋
0
[simple-mips] writeback stage
verilog
cpu
wtommy_fdgkhdkgh
2026-02-10 23:04:00
‧
845 瀏覽
分享至
系列文章 :
使用 Verilog 實作 in-order CPU
wb-stage
wb-stage 負責
選擇要將把什麼資料輸入到 regfile 裡面
需要時,把資料 forward 給 ex-stage ( 例如發生 load-use data hazard 的時候 )
在 wb-stage 會用到
Mux_2to1
相關程式碼
https://github.com/TommyWu-fdgkhdkgh/simple-mips/blob/main/mux/mux_2to1.v
https://github.com/TommyWu-fdgkhdkgh/simple-mips/blob/main/pipeline/wb.v
https://github.com/TommyWu-fdgkhdkgh/simple-mips/blob/main/cpu.v
Mux_2to1 #(.size(32)) mem_to_regfile
alu_result_i
ALU 計算出的結果
data_mem_i
從 data_memory 讀取出來的資料
d_memtoreg_i
選擇要使用哪一個當作給 regfile 的資料
0 : 選擇 alu_result_i,例如
add
,
addi
指令
1 : 選擇 data_mem_i,例如
lw
留言
追蹤
檢舉
熱門推薦
{{ item.subject }}
{{ item.channelVendor }}
|
{{ item.webinarstarted }}
|
{{ formatDate(item.duration) }}
直播中
立即報名
尚未有邦友留言
立即登入留言
iThome鐵人賽
參賽組數
382
組
團體組數
15
組
累計文章數
3782
篇
最後報名日
9/15
看影片追技術
看更多
{{ item.subject }}
{{ item.channelVendor }}
|
{{ formatDate(item.duration) }}
直播中
熱門tag
15th鐵人賽
16th鐵人賽
13th鐵人賽
14th鐵人賽
17th鐵人賽
12th鐵人賽
11th鐵人賽
鐵人賽
2019鐵人賽
javascript
2018鐵人賽
python
18th鐵人賽
2017鐵人賽
windows
php
c#
linux
windows server
css
熱門問題
Kiro如何訂閱?信用卡一直被拒
ASUS電腦7月起無法回報狀態給WSUS
excel 查詢web 功能
Nutanix CE硬體要求....
熱門回答
Kiro如何訂閱?信用卡一直被拒
ASUS電腦7月起無法回報狀態給WSUS
excel 查詢web 功能
熱門文章
各位網管和 iT / MIS / SI 資訊安全問題要注意,京瓷多功能數位複合機印表機裸奔問題,Kyocera TASKalfa 2554ci
Day 23 專案中如何進行 ET (4) - 協作型 – Pair Testing: 有些 Bug 不是測試案例漏掉,而是你一個人根本想不到
AI 時代下的系統可理解性問題
Day 27: Playwright MCP:讓 Claude Code 自己打開瀏覽器探索網站
推薦免費課程-【職前訓練全額補助】網路規劃架設班02期
IT邦幫忙
×
標記使用者
輸入對方的帳號或暱稱
Loading
找不到結果。
標記
{{ result.label }}
{{ result.account }}