Pre-built Spike plugins need update
I was following riscof doc to use RISC-V Compliance Framework. Pre-built spike and sail plugins are used in the riscof document. Sail is used as ref model and spike is used as DUT. The config.ini updated for that purpose is given below:
[RISCOF]
ReferencePlugin=sail_cSim
ReferencePluginPath=/home/bilalsakhawat/riscof-plugins/sail_cSim
DUTPlugin=spike_simple
DUTPluginPath=/home/bilalsakhawat/riscof-plugins/spike_simple
[spike_simple]
pluginpath=/home/bilalsakhawat/riscof-plugins/spike_simple
ispec=/home/bilalsakhawat/riscof-plugins/spike_simple/spike_simple_isa.yaml
pspec=/home/bilalsakhawat/riscof-plugins/spike_simple/spike_simple_platform.yaml
[sail_cSim]
pluginpath=/home/bilalsakhawat/riscof-plugins/sail_cSimWhen I ran riscof validateyaml --config=config.ini to check if the input yaml files are configured correctly, I get the following log with an error showing spike_simple_isa.yaml missing some information.
INFO | [--root--]: RISCOF: RISC-V Architectural Test Framework
INFO | [--root--]: Version: 1.20.1
INFO | [--root--]: using riscv_isac version : 0.6.3
INFO | [--root--]: using riscv_config version : 2.9.1
INFO | [--root--]: Reading configuration from: /home/bilalsakhawat/config.ini
INFO | [--root--]: Preparing Models
INFO | [--riscv_config.checker--]: Input-ISA file
INFO | [--riscv_config.checker--]: Loading input file: /home/bilalsakhawat/riscof-plugins/spike_simple/spike_simple_isa.yaml
INFO | [--riscv_config.checker--]: Load Schema /home/bilalsakhawat/.local/lib/python3.8/site-packages/riscv_config/schemas/schema_isa.yaml
INFO | [--riscv_config.checker--]: Processing Hart: hart0
INFO | [--riscv_config.checker--]: Initiating Validation
ERROR | [--root--]: Error in /home/bilalsakhawat/riscof-plugins/spike_simple/spike_simple_isa.yaml.
misa:
reset-val:reset value does not match with extensions enabled(32)
physical_addr_sz:required field