CRTejaswi / cpu-design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copyright(c) 2022-
Author: Chaitanya Tejaswi (github.com/CRTejaswi)    License: GPL v3.0+

CPU Design

32-bit CPU Design.

Implementations

v1: 10 function

Documentation: 📄
Reports: timing, power
Features:

  • Register Bank (32): R0-R31.
  • No flag register.
  • ALU Operations (10): ADD SUB SLL SLT SLTU XOR SRL SRA OR AND.
  • Memory-Addressable instructions only (no immediate/conditional instructions).
  • Instructions are directly fed by testbench instead of dedicated instruction memory.
  • Testbench feeds A,B, and monitors A,B,Y for changes.
  • Testbench feeds instruction to decoder which relays I/O info to register bank & control instructions to controller.
  • Register bank feeds input to ALU; controller feeds execution logic to ALU. The results are written back to rd in register bank.



Results







v2: + pipelining

Documentation: 📄
Reports: timing, power

References

About


Languages

Language:Verilog 88.4%Language:Tcl 11.6%