Issue while running riscv_config_gen.py for configuration cv64a60ax #2827
Labels
Component:Tool-and-build
For issues in the tool and build flow (e.g. Makefile, FuseSoc, etc.)
notCV32A65X
It is not an CV32A65X issue
Is there an existing CVA6 bug for this?
Bug Description
Hello,
I am doing following steps to generate different view of CV64a60ax configuration.
1st Step: (run riscv-config)
cd cva6/config/riscv-config
riscv-config --custom_spec cv64a60ax/spec/custom_spec.yaml --debug_spec cv64a60ax/spec/debug_spec.yaml --isa_spec cv64a60ax/spec/isa_spec.yaml --platform_spec cv64a60ax/spec/platform_spec.yaml --work_dir ../riscv-config/cv64a60ax/generated
It passes correctly and generates following files
cd cva6/config/riscv-config/cv64a60ax/generated
ls
custom_spec_checked.yaml debug_spec_checked.yaml isa_spec_checked.yaml platform_spec_checked.yaml
2nd Step: (run riscv_config_gen.py)
cd cva6/config/gen_from_riscv_config
python3 scripts/riscv_config_gen.py -s ../riscv-config/cv64a60ax/generated/isa_spec_checked.yaml -c ../riscv-config/cv64a60ax/generated/custom_spec_checked.yaml -d ../riscv-config/cv64a60ax/generated/debug_spec_checked.yaml -t cv64a60ax
And I am getting following error
Traceback (most recent call last):
File "/home/560.1.429-MOSAIC/users/tk223379/cva6/config/gen_from_riscv_config/scripts/riscv_config_gen.py", line 74, in
document = e.returnDocument()
^^^^^^^^^^^^^^^^^^
File "/home/560.1.429-MOSAIC/users/tk223379/cva6/config/gen_from_riscv_config/scripts/libs/utils.py", line 1276, in returnDocument
reset = hex(RegElement.get("reset-val", ""))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'str' object cannot be interpreted as an integer
I am not sure what is causing this issue. Can you please take a look at it ?
Thanks and Regards
Tanuj Khandelwla
The text was updated successfully, but these errors were encountered: