ibex
ibex copied to clipboard
Cadence simulator plusargs command line argument parsing error
Verification environment uses SystemVerilog line argument for getting signature address (core_ibex_env_cfg.sv). Value is passed to environment at (makefile) at run_sim step. The problem is Cadence simulator cannot recognize this argument as hexadecimal number:
void'($value$plusargs("signature_addr=%0h", signature_addr));
|
ncsim: *E,SYSFMT (ibex/dv/uvm/env/core_ibex_env_cfg.sv,30|24): $value$plusargs -- value found '0x8ffffffc' for plusarg 'signature_addr=' does not match specified format.
This issue can be fixed with something like atohex() SystemVerilog function (this function should be supported by all simulators).
Thanks for this bug report. Would you mind doing a pull request with your suggested change?
Yes, I'm gonna to create one. Sorry for late response.