MYTH-Workshop

The repository has the labs of the MYTH workshop introduced by Steve Hoover the founder of Redwood EDA. The labs are written in TL-Verilog and the simulation is done on Makerchip.

  • UPDATE: The Verilog code is added too with simulation done on Modelsim for day3.
  • NOTE: All the labs after the third one are applications of the pipelining idea.

------------------------------------------------------------------------------------------------------------------

Day3

1st Lab: Simple counter

Screenshot (26) Screenshot (32)

2nd Lab: Fibonacci series

Screenshot (30) Screenshot (34)

3rd Lab: Pipeline lab

Screenshot (38)

4th Lab: Caclculator with counter

Screenshot (42)

5th Lab: Pythagoras (Pipelined)

Screenshot (49)

6th Lab: Accumulating Distance

Screenshot (53)

------------------------------------------------------------------------------------------------------------------

Day4

In day4, I have implemented each part of the RISC-V step by step. The last lab was to implement a testbench to test the code.

1st Lab: Program Counter

Program Counter

2nd Lab: Instruction memory connected to the PC

InstructionMemoryWithPC

3rd Lab: Instruction Types and Immediate Decode

Screenshot (67)

4th Lab: Instruction Field Decode

Screenshot (65)

5th Lab: Instruction Type Decode

Screenshot (69)

6th Lab: Register File Part1

Screenshot (71)

7th Lab: Register File Part2

Screenshot (73)

8th Lab: ALU

  • NOTE: As the diagram is getting more complicated, I just took screenshot of the part of the diagram that is related to the ALU Screenshot (75)

9th Lab: Register File Write Part

Screenshot (78)

10th Lab: Adding The Hardware That Supports Branch Instruction

Screenshot (80)

11th Lab: Completing Branch Instruction

Screenshot (82)

12th Lab: Testbench

Screenshot (84)

-----------------------------------------------------------------------------------------------------------------