eminfedar / fedar-f1-rv64im

5-Stage Pipelined RV64IM RISC-V CPU design in Verilog.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fedar F1

LibreCores

Fedar F1 is a 5-Stage Pipelined (Fetch|Decode|Execute|Memory|Writeback) RV64IM RISC-V Core written fully in Verilog.

Simulated GTKWave output of the CPU

How to compile?

  1. Open a terminal in testbench folder.
  2. Run: run_tests.sh.
  • The script automatically compile and create files under the testbench/output/ folder.
  • And will create .vcd files under the testbench/vcd folder.
  1. Done!

Compilation requires iverilog verilog compiler.

You can install iverilog on Debian based distros (like Pardus GNU/Linux or Ubuntu) with this command:

sudo apt install iverilog

If you don't want to compile it again, precompiled .vcd files are available under the testbench/vcd.

How to open .vcd files?

You can install GTKWave on Debian based distros (like Pardus GNU/Linux or Ubuntu) with this command:

sudo apt install gtkwave

Then double click the files or open with terminal command: gtkwave file.vcd.

About

5-Stage Pipelined RV64IM RISC-V CPU design in Verilog.

License:MIT License


Languages

Language:Verilog 95.4%Language:Shell 3.3%Language:Assembly 1.2%