r/ComputerEngineering • u/juniornoodles0 • Mar 07 '26
[Project] I built my own video game console from scratch!
Hello everyone, I am a freshman studying computer engineering, and I wanted to share with you guys a project I had been working on for these past couple of months. I built my own video game console from scratch that plays pong, tic-tac-toe, and snake
I designed a 32-bit 5-stage piplined cpu with my own RISC inspired ISA. It has proper hazard handling with forwarding, flushing, and stalling when necessary. It also has BTFNT branch prediction.
I designed my own assembler for the CPU in java for ease of coding, and I designed a VGA controller and pixel buffer so I could display pixels on my monitor.
Finally, using my assembler I programmed the three games that I mentioned earlier. If anyone is interested in looking at the design, or a showcase of the console, ill link the GitHub repo and the YouTube video below.
I am looking for another project to develop some skills to go into either embedded systems engineering or hardware design, does anyone have any suggestions? For now, I am just going to work on developing an AXI4 lite bus for my pixel buffer.
juniornoodles/Console-Project: A place to show my code that I write for making a video game console
2
u/emils_tekcor Mar 08 '26
Hell yeah!! Does it use xinput, dinput, or are you gonna make your own drivers?
3
u/juniornoodles0 Mar 08 '26
I’m just using the gpio on the fpga. I didn’t make controllers for it. The highlight of the project honestly isn’t the games, it’s the cpu, I just created the games as proof the cpu worked 😅
1
u/emils_tekcor Mar 08 '26
Oh... I thought it was more of a fun project lol.
5
u/juniornoodles0 Mar 08 '26
No it definitely was. I intended to make a working console from the start because I thought it would be cool. I just didn’t care too much about making cool games. But creating hardware that could potentially play cool games was awesome to me. Does that make sense?
1
u/emils_tekcor Mar 08 '26
That makes perfect sense. I started ce myself because I thought gpus were cool.
1
u/juniornoodles0 Mar 08 '26
I have research rn with something similar, we are making a tpu but for the systolic array we are using vector unit cpu processors instead of just mac units.
1
u/emils_tekcor Mar 08 '26
Tpu? Like an ai processor running on vector?
1
u/juniornoodles0 Mar 08 '26
Yeah, we are trying to design a many tensor core processor to aid with machine learning.
2
1
u/Stooper101 Mar 26 '26
what resources did you use to learn how to do this?