riscvarchive / riscv-fesvr

RISC-V Frontend Server
Other
62 stars 83 forks source link

Support for non-compiled simulators #63

Open bwrcbcr opened 5 years ago

bwrcbcr commented 5 years ago

Non-compiled simulators such as Cadence Xcelium pass the entire argument list to fesvr, most of which can be ignored using the +permissive and +permissive-off options. Passing file name arguments, however, is not possible, although some simulators allow a filename to be hidden behind a -define argument. This trick doesn't work with Xcelium 'xrun'. I was able to define a new fesvr argument, +fesvr-arg=... as an alternative way to pass filenames, etc, to fesvr, so that all arguments begin wth +. Are other approaches suggested?