Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marceldobehere/goofy-cpu

a goofy 8 bit cpu
https://github.com/marceldobehere/goofy-cpu

assembly-language cpu cpu-simulator csharp custom-cpu instruction-set-architecture logisim-computer logisim-evolution microcode

Last synced: 7 days ago
JSON representation

a goofy 8 bit cpu

Awesome Lists containing this project

README

        

# Goofy CPU
A custom 8 bit cpu I made in logisim evolution.

It is still very WIP but currently its ALIVEEEEEEEE!

I have also made a second, more silly version [here](/goofier/)!

And I have implemented the cpu in verilog [here](https://github.com/marceldobehere/goofy-cpu-verilog)!

## Instruction Set
The instructions can be found in the `plan.txt` file.

## Microcode
The cpus microcode is generated using a c# program I made.

It can be found in the `Microcode gen` folder.

## Developing

You can now write assembly and compile it for the cpu. The stuff can be found in the `asm` folder.
You can compile an asm file (like `examples/inc_hlt.asm`) using `customasm.exe` and then use the generated output and load that into ram.

NOTE: You need to include the `common.asm` file for customasm to work properly!

NOTE: If you are not on windows, you will need to get customasm and then it should hopefully work too.

## Images/GIFs
![An image of the full cpu](./imgs/image.png)

![The cpu running a test program that adds 1 to the first register until it reaches 0x20](./imgs/cpu%20test%201.gif)

## Thanks to
* [Phoenix v2](https://github.com/Glowman554/phoenix-v2)
* [Customasm](https://github.com/hlorenzi/customasm)