Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/marceldobehere/goofy-cpu
- Owner: marceldobehere
- License: agpl-3.0
- Created: 2024-03-29T19:43:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-08T21:17:38.000Z (5 months ago)
- Last Synced: 2024-05-08T22:29:40.788Z (5 months ago)
- Topics: assembly-language, cpu, cpu-simulator, csharp, custom-cpu, instruction-set-architecture, logisim-computer, logisim-evolution, microcode
- Language: C#
- Homepage:
- Size: 3.85 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)