BOLT-16 CPU
Hardware- 5 Devlogs
- 8 Total hours
A custom CPU to do CPU things with a compiler and assembly language to go with it.
A custom CPU to do CPU things with a compiler and assembly language to go with it.
I’m just going to list these out:
I just finished building a simple emulator for the BOLT-16. The reason I did this was because I needed an easy way for someone to try out the CPU without having to download Logisim. Now all you have to do is write your code in the assembly folder and run emulator.cpp to see the values of the CPU RAM!
Next time I plan to build a website that you can test out the CPU with the emulator running in the background.
I have spent so long trying to figure out why my CPU stops every time I try to increment my PC (Program Counter) by 1 to go to the next instruction. I finally decided today to sit down and have a full session just trying to fix that. With the help of ChatGPT to learn some Logisim ROM quirks, I was able to figure it out. Turns out I only needed to allow misaligned addresses in ROM settings.
Some more good news:
The new ALU design is working smoother than expected, I think this will be my first and final redesign of it.
The new compiler is ready! It now uses the new instruction set.
This is my progress before uploading this to Stardance.
Researched CPU design using Nand2Tetris and Google
Planned out CPU using Nand2Tetris style HDL language
Built CPU parts according to original specification in Logisim-Evolution
Updated CPU part to be more efficient, changed them significantly from the default versions.
Built main CPU circuit
Tested, debugged, made changes, repeat.
P.S. This is very simplified. This took me a month of continues work for hours a day that were not logged unfortunately :(
So I’ve been working on a custom CPU for about a month over the summer. I’ve spent about 3 hours everyday working on researching and designing it.
I have just uploaded the project to Stardance so I don’t have any devlogs yet. I also haven’t started much coding until recently so I don’t have much time spent. I’ll make a couple more devlogs about the design process until now.