# Fedar F1 [![LibreCores](https://www.librecores.org/eminfedar/fedar-f1-rv64im/badge.svg?style=flat)](https://www.librecores.org/eminfedar/fedar-f1-rv64im) 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](https://raw.githubusercontent.com/eminfedar/fedar-f1-rv64im/main/gtkwave-image.png) ## 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. 3. 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? - Use [GTKWave](https://github.com/gtkwave/gtkwave). 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`.