Added fixes for Errors/Warnings for compiling with xcelium on CVA6
Created by: OttG
List of Error Fixed for xrun command:
- In
ariane_pkg.sv
andriscv_pkg.sv
the slicing of an enumeration constant is illegal for xcelium. The size ofMODE_SV
has been fixed to the size ofvm_mode_t
which removes the need for slicing; - In
pmp.sv
assigning the portconf_addr_prev_i
ofpmp_entry
with a ternary operator caused an error. The assignment has been done outside thepmp_entry
module.
Warnings:
- In
ariane_pkg.sv
removed extra semicolons at the end of endfunctions.