XUANTIE-RV / openc910

OpenXuantie - OpenC910 Core
Apache License 2.0
1.13k stars 296 forks source link

Allow overriding instruction/data memory files with plusargs #8

Open olofk opened 2 years ago

olofk commented 2 years ago

By setting the data_file and inst_file plusargs, the names of the files to load can be specified on the command-line without rebuilding the simulation model. If the plusargs are not used, the current behaviour will be used.

Signed-off-by: Olof Kindgren olof.kindgren@gmail.com

olofk commented 2 years ago

Once #6 is merged I will add support for exposing these plusargs in the core description file

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.