The project aims to provide a hands-on experience in CPU design, specifically in the context of MIPS-like RISC architectures. By implementing the architecture in Logisim, it offers a clear, visual approach to understanding how processors execute instructions and handle data. It serves as an educational tool to grasp fundamental concepts in computer architecture and digital logic design.
Key Components
Logisim-Based DesignThe entire design is implemented using Logisim, a graphical tool for designing and simulating digital circuits.
MIPS-like RISC ArchitectureThe CPU follows a 16-bit RISC (Reduced Instruction Set Computing) architecture, designed for simplicity and efficiency.
Instruction SetThe CPU supports a set of instructions typical of MIPS, with most operations executed in a single cycle for clarity and teaching.
Single-Cycle CPU DesignEvery instruction completes in one clock cycle in the current implementation to keep the design simple and observable.
Instruction Execution PipelineA basic fetch–decode–execute flow is implemented to demonstrate how instructions are fetched, decoded, and executed.
No Pipelining or OptimizationsThe project intentionally excludes pipelining and advanced optimizations to remain focused on fundamentals.
Schematic preview
Click to view full CPU schematic (opens full-screen).
To view and run the circuit you will need a Logisim-compatible application (Logisim or Logisim-evolution). The steps below assume you have Java installed.
Download the cpu.circ file (button above).
Download and run Logisim or Logisim-evolution (both are Java apps). If you have a JAR, run: java -jar logisim-evolution.jar.
In the Logisim app: File → Open and choose the downloaded cpu.circ.
Use the simulator controls or the clock pin to step/run the design. Explore subcircuits and probes for signals.
Example (command line to run Logisim-evolution jar):\n\njava -jar /path/to/logisim-evolution.jar
If you prefer not to run anything, click the schematic hero above or open the exported PNG/SVG for a full visual of the CPU.
Highlighted features
Click a card to open photos & a short description.
ALU
Adder/subtractor, AND, NOT, logical shifts — includes zero flag for branches.
ALU operations
Adders, barrel shifter, bitwise logic — basic building blocks used by instructions.
Instruction decode
Opcode decoding and control signal generation.
Memory
Instruction ROM and data RAM with write safety latch.
PC & Registers
Program counter behavior and register file structure.