| Electronics > Projects, Designs, and Technical Stuff |
| MHRD - Video Game to build your own CPU |
| (1/5) > >> |
| icy_:
Hi folks, while my EE project portfolio isn't very extensive, I only started last year to set it up by designing a CPU (with the help of the book "The Elements of Computing Systems"). I was amazed by how easy it actually is to design a working CPU. I got a FPGA and was able to translate my CPU design to Verilog and have it run on the FPGA. This experience was so great, which is why I decided to share it with everyone! If you always wanted to understand how a CPU works and built one for yourself, I made a game for that! The player starts out at a 80s hardware startup to build a CPU. You start by designing basic boolean logic gates and work your way over multiplexers, adders, registers, ALUs up to a working CPU design. The design part takes place with a very simple hardware description language in an editor with auto-completion support. The game provides you with a whole lot of verification tests, so you can be sure that your stuff actually works. You can find it here: http://steamcommunity.com/sharedfiles/filedetails/?id=813905115 Check out the trailer and let me know what you think. If you like it, I would appreciate your vote on Steam Greenlight! |
| technix:
It would be nice if the player can export their progress as actual VHDL or Verilog files, so for those who bothered to buy a FPGA or CPLD dev kit they can actually load the design into actual hardware and play with it IRL. |
| CM800:
--- Quote from: technix on December 08, 2016, 09:57:20 am ---It would be nice if the player can export their progress as actual VHDL or Verilog files, so for those who bothered to buy a FPGA or CPLD dev kit they can actually load the design into actual hardware and play with it IRL. --- End quote --- I'm liking the sound of that idea.... |
| technix:
Another possible addition is a difficulty system based on logic unit usage. Easy mode limit the player to a medium-high-end thousand-pin FPGA, medium mode limits the player to a an entry-level FPGA, hard mode limits the player to a 100-pin CPLD like EPM570T100. |
| icy_:
--- Quote from: technix on December 08, 2016, 09:57:20 am ---It would be nice if the player can export their progress as actual VHDL or Verilog files, so for those who bothered to buy a FPGA or CPLD dev kit they can actually load the design into actual hardware and play with it IRL. --- End quote --- I already was thinking about an export/import mode for players to exchange designs. However I wasn't thinking about exporting as VHDL/Verilog. I does sound like fun :D... and it sounds actually doable with a reasonable amount of work (as my syntax is quite simple, it should be easy to transform the syntax to VHDL/Verilog). I will write it on my future feature list, many thanks! --- Quote from: technix on December 08, 2016, 10:25:44 am ---Another possible addition is a difficulty system based on logic unit usage. Easy mode limit the player to a medium-high-end thousand-pin FPGA, medium mode limits the player to a an entry-level FPGA, hard mode limits the player to a 100-pin CPLD like EPM570T100. --- End quote --- I was thinking along the lines, but instead of setting a difficulty at the beginning, I'd rather would show the player a rating for the design based on logic unit use. This way the player can decide wether he wants to optimize his design or go on with other designs (and maybe return later). A ranking system could be done with that as well. It is also on my future feature list :) |
| Navigation |
| Message Index |
| Next page |