You must login before you can post a comment.
Author: Martianno
Forked from: Michael Lehn/Mini CPU
Project access type: Public
Description:
This is a simple Arithmetical Logical Unit (ALU). The ALU has 4 registers that can be used for computations and 4 bit wide status register.
About the registers:
Instructions are 8 bit wide. If you read the bits from left to right and group the bits in pairs the instruction format Op, X, Y, Z. For example, the instruction is "00 01 10 11" the Op=00, X=01, Y=10, Z=11.
The ALU support the following operations:
The status register gets updated after an instruction with Opcode 10 or 11 (i.e. after adding or subtracting registers).
Created: Apr 10, 2020
Updated: Apr 05, 2021
Comments