Skip to content

eminfedar/fedar-f1-rv64im

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.