[MEL] CPUv2
2 Stars     44 Views    

Author: Mel

Forked from: Mel/[MEL] CPUv1.5

Project access type: Public

Description:

A more advanced and compact 8-Bit CPU.

MEL CPUv2 

4 Internal Registers, 9 External Registers (outputs), 64KB RAM by default. And a Clock speed of 50ms.

The CPU comes with a display system of Hex displays which show the value of the 9 Registers.

The ALUs are able to do 7 operations and use a 4-bit opcode.

The CPU is also able to generate random 8-Bit binary values.

The internal registers are able to be loaded either through a value stored in RAM or through a value directly inputted into the CPU.

MANUAL

The RAM input connects to the output of the external RAM unit.

Input 1 and 2 are used in ALU0 as the inputs, Input 1 is also the input for the direct load register command and is recomended to connect to the RAM input.

Opcodes 0,1, and 2 connect to ALU 0,1, and 2 respectively. The First Place turns the ALU on (1) or off(0), the rest of the bits correspond to the default ALU opcodes.

RNG On/Off determines if the Random external register shows a random value.

Load Reg. Loads a value into one of the registers. Direct will load the value from Input1 into one of the registers. RAM will load the value outputted by the RAM unit into one of the registers.

Register Address determines which register is loaded. A=00,B=01,C=10,D=11

Created: Dec 13, 2022

Updated: Aug 27, 2023


Comments

You must login before you can post a comment.

Mel
Bro this is so bad
Posted on Dec 10 2023 at 09:08PM UTC.
+0