ibex_riscv_compliance: Adjust to simutil_verilator

Now that verilated_toplevel.h always generates the right class we don't
need to call VERILATED_TOPLEVEL() any more.
This commit is contained in:
Philipp Wagner 2019-09-16 11:28:27 +01:00 committed by Philipp Wagner
parent 7a0614a1d0
commit 87e50a62a9
2 changed files with 1 additions and 4 deletions

View file

@ -6,12 +6,9 @@
#include <iostream>
#include "Vibex_riscv_compliance.h"
#include "verilated_toplevel.h"
#include "verilator_sim_ctrl.h"
VERILATED_TOPLEVEL(ibex_riscv_compliance)
ibex_riscv_compliance *top;
VerilatorSimCtrl *simctrl;

View file

@ -56,7 +56,7 @@ targets:
# -O
# Optimization levels have a large impact on the runtime performance of the
# simulation model. -O2 and -O3 are pretty similar, -Os is slower than -O2/-O3
- '-CFLAGS "-std=c++11 -Wall -DVM_TRACE_FMT_FST -g -O0"'
- '-CFLAGS "-std=c++11 -Wall -DVM_TRACE_FMT_FST -DTOPLEVEL_NAME=ibex_riscv_compliance -g -O0"'
- '-LDFLAGS "-pthread -lutil"'
- "-Wall"
- "-Wno-PINCONNECTEMPTY"