systemc-clang
systemc-clang copied to clipboard
run-compare.py: Only generating Verilog gives issues when --hdl is used
It seems that the options for run-compare.py
have some dependencies that are not intuitive.
The example below works fine (taken from the add example).
python3 -B $SYSTEMC_CLANG/tests/verilog-conversion/run-compare.py \
hdl-to-v \
--output-dir results/ \
--hdl golden/add_hdl.txt \
--verbose
However, the --hdl
flag is to force checking that the output conforms to the golden. I would think that when it is removed, the conversion to Verilog should continue.
python3 -B $SYSTEMC_CLANG/tests/verilog-conversion/run-compare.py \
hdl-to-v \
--output-dir results/ \
--verbose
But the error received is:
ValueError: Action 'hdl-to-v' and --hdl is not compatible