Sim updates + rv64gcCacheSim.py fixed
Created by: jordancarlin
CacheSim Updates
- Update rv64gcCacheSim.py to work with wsim and allow any simulator to be selected (fixes #767 (closed))
- Update rv64gcCacheSim.py to automatically override the
I_CACHE_ADDR_LOGGER
andI_CACHE_ADDR_LOGGER
parameters. This ended up leading to a lot of other changes to the simulation scripts, described below - Update cacheSim scripts to return the number of mismatches
wsim Updates
- Add a new
--param
argument to wsim that takes an input in the form"param1=value1 param2=value2 ..."
. This is used to convert to the correct format for parameter overrides in each sim-specific script and is used at the compilation stage, unlike the--args
plus args which are used at run time.- Switch to using this method for overriding the TEST parameter for testbench_fp
Questa Updates
- Use tcl list expansion to avoid the need for temporary variables and many small variables that always go together in wally.do
- Refactor argument parsing to work with both
--args
and--params
VCS Updates
- Add testbench_fp support to VCS (currently failing with mismatched signature)
- Update VCS script to allow for parameter overrides to be passed as arguments
- VCS uses a different syntax for overriding parameters, so the value of
--params
is modified and written to a file that VCS reads
- VCS uses a different syntax for overriding parameters, so the value of
Verilator Updates
- Update Verilator Makefile to allow for parameter overrides to be passed as arguments