Fix verilator model
Created by: bluewww
With the latest changes there were a few regression in the verilator testbench. Here are fixes related to verilator and newer gcc versions.
verilator-model/Makefile
:
Need to ignore aligned-new warnings to make compilation work on newer gcc
without breaking older versions.
Add riscv_pmp
to be verilated too.
verilator-model/top.sv
:
Disable PULP_SECURE since in riscv_cs_registers
there is a blocking and
non-blocking assignment to pmp_req_q
which verilator can't deal with.
Remove data_err_i
(doesn't exist anymore).
Add fregfile_disable_i
.