
[Tiny Processor] 邏輯單元(Logical Unit)實作
前面先把算術單元補起來之後,這次要繼續把 logical unit 加進 processor,讓 ALU 的功能更完整。這一篇會加入 AND、OR、XOR、XNOR、NAND、NOR 與 NOT,並延續前面的 instruction format 與 addressing mode,最後再用 testbench 和 waveform 驗證結果。

前面先把算術單元補起來之後,這次要繼續把 logical unit 加進 processor,讓 ALU 的功能更完整。這一篇會加入 AND、OR、XOR、XNOR、NAND、NOR 與 NOT,並延續前面的 instruction format 與 addressing mode,最後再用 testbench 和 waveform 驗證結果。

這次想從頭做一個簡單的 processor,實際把 instruction、register、arithmetic unit、memory 與控制流程一個個串起來。整個 project 會從最基本的架構開始,邊實作邊驗證,也順便重新熟悉 Verilog、FPGA 與 testbench 的開發流程。
Software Engineer from Taiwan