RepositoryAssemblyUSUnited States
yuxincs

yuxincs/MIPS-CPU

A Simulative MIPS CPU running on Logisim.

150stars
26forks
0issues
3views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: circuit

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: logisim

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: mips-cpu

#1 Repository Của Tuần

🧠 Mô phỏng CPU MIPS 32-bit trên Logisim

Ba cách tiếp cận thiết kế CPU từ đơn giản đến phức tạp: single-cycle, pipeline bubbling, và pipeline với operand forwarding.

MIPS-CPU là dự án mô phỏng CPU 32-bit theo kiến trúc MIPS, chạy trên nền tảng Logisim. Dự án hỗ trợ ba phiên bản CPU khác nhau: single-cycle CPU, pipeline CPU với bubbling, và pipeline CPU nâng cao với operand forwarding để xử lý data hazards. Mỗi phiên bản được cài đặt dưới dạng file .circ riêng biệt, chia sẻ các thành phần chung trong thư mục src/common.

✨ Điểm nổi bật

  • Single Cycle CPU: Mỗi lệnh thực thi trong đúng một chu kỳ CPU.
  • Pipeline Bubbling: Xử lý tất cả các loại hazards bằng cách chèn bubble vào pipeline.
  • Operand Forwarding: Tối ưu data hazards bằng cách chuyển trực tiếp kết quả chưa ghi về rejesters.
  • Five-Stage Pipeline: Giai đoạn IF, ID, EX, MEM, WB được cài đặt rõ rệt.
  • Exception Handling: Hỗ trợ coprocessor CP0 xử lý ngoại lệ qua 3 nguồn ngắt ExpSrc[0-2].
  • 7-Seg Display: Hiển thị kết quả lên màn hình 7 đoạn.
  • 10-bit Address Space: Hỗ trợ không gian địa chỉ 10-bit cho ROM và RAM.
  • Tập lệnh MIPS đầy đủ: Hỗ trợ 30+ lệnh bao gồm add, lw, sw, beq, jal, syscall...

💡 Vì sao đáng chú ý

MIPS-CPU khác biệt ở việc cung cấp ba mức độ phức tạp tăng dần, giúp người học dễ dàng so sánh hiệu năng giữa các kỹ thuật pipeline khác nhau. Phiên bản operand forwarding giảm đáng kể số lần stall so với bubbling thuần túy. Dự án phù hợp với sinh viên học kiến trúc máy tính và thiết kế CPU.


#MIPS #CPU #Logisim #Pipeline #ComputerArchitecture #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryJava
hneemann/Digital

A digital logic designer and circuit simulator.

6.1k
Oct 8, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
190.1M
Jun 1, 2026
RepositoryTypeScript
firecrawl/firecrawl

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

196.7k
Oct 29, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

192.9k
Oct 28, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Feb 15, 2026
RepositoryAssembly
Mazin-O3/Veecom

Simple Yet Powerful RISC-V Computer

128
Jul 12, 2026
RepositoryJava
logisim-evolution/logisim-evolution

Digital logic design tool and simulator

7.8k
Oct 27, 2026
RepositoryC++
ra3xdh/qucs_s

Qucs-S is a circuit simulation program with Qt-based GUI

1.4k
Oct 23, 2026
RepositoryC++
encryptogroup/ABY

ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation

499
Oct 13, 2026