Hello everyone, and welcome to my first ever blog (well technically a blog series…)
So this started in my 5th semester, when I was taught Computer Architecture and Organisation, and the capstone project in the lab, was making our own mini_risc processor in Verilog, to be run on an FPGA board.
But but but, that was too barebone. It was just an ISA with an ALU.
So I, like any normal human being, decided, “Why not run doom on it?"
"But wait, the blog series is called riscy_tetris, not riscy_doom?”
Yeah, so Doom requires much more to run on the same hardware, so I have kept that idea on hold, as of now. Our current goal is tetoris.

Plan:

Here is a rough plan of how the blogs will progress

  1. ISA and Pipeline Planning:
    1. In this section (mostly in this blog) we will be planning a minimalist ISA (Instruction Set Architecture).
    2. We will focus on efficiency, so if the cost of splitting an instruction is not much more than a hardware instruction, we will hand it over to the assembler to implement the pseudo-instructions.
    3. My intuition says that multiplication and division should be good enough as pseudo instructions in the Tetris phase, but if we decide to do Doom, it may be too slow
  2. CPU Implementation: This will be the coding phase of the CPU.
  3. Subsystem Planning: Here we plan the Audio, Video, Memory and Input subsystems, which will be implemented as C++ IPs
  4. Subsystem Implementation:
  5. Assembler and Compiler Syntax: Here we decide the syntax and grammar for the Assembler and the Compiler.
  6. Assembler and Compiler Implementation: