Command line parameters
mhuzai opened this issue · comments
For some reason, the command line parameters that I pass in to the simulator do not get applied to the individual units. The units still get the parameter specified in the config file. For example:
./sim -c ../configs/sample_conf.yaml -p top.bf.trace_file /workspace/traces/30_bf.gz
[in] Configuration: Node "" <- file: "../configs/sample_conf.yaml"
[in] Configuration: Parameter "top.bf.trace_file" <- value: "/workspace/traces/30_bf.gz"
...
bf: could not open trace file invalid.gz
invalid.gz
is the trace file that I deliberately put in sample_conf.yaml
. I also put a print inside Simulator::configureTree_()
, and the parameter there is also invalid.gz
. I'm not sure what I'm missing.
My apologies. I had missed the .params
in the tree path.