XUANTIE-RV / openc910

OpenXuantie - OpenC910 Core
Apache License 2.0
1.13k stars 296 forks source link

Support the Verilator simulation #11

Closed Taurusxkyle closed 2 years ago

Taurusxkyle commented 2 years ago

add the Verilator Simulation options in the simulation makefile. usage:

  1. source the environment file.
  2. entered the smart_run directory
  3. make runcase CASE=hello_world SIM=verilator or make compile SIM=verilator, then make buildVerilator,then make runVerilator

note: because of the conflict name "process" in the ct_ciu_snb_sab_entry.v with verilator, I changed it into the "process1".