You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO | ****** RISCOF: RISC-V Architectural Test Framework 1.25.3 *******
INFO | using riscv_isac version : 0.18.0
INFO | using riscv_config version : 3.18.3
INFO | Reading configuration from: /home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/config64.ini
INFO | Preparing Models
INFO | Input-ISA file
INFO | ISACheck: Loading input file: /home1/ACEIC/NaveenK/cvw/tests/riscof/spike/spike_rv64gc_isa.yaml
INFO | ISACheck: Load Schema /opt/riscv/riscv-python/lib/python3.12/site-packages/riscv_config/schemas/schema_isa.yaml
INFO | ISACheck: Processing Hart:0
INFO | ISACheck: Initiating Validation for Hart:0
INFO | ISACheck: No errors for Hart:0
INFO | ISACheck: Updating fields node for each CSR in Hart:0
INFO | ISACheck: Dumping out Normalized Checked YAML: /home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/riscof_work/spike_rv64gc_isa_checked.yaml
INFO | Input-Platform file
INFO | Loading input file: /home1/ACEIC/NaveenK/cvw/tests/riscof/spike/spike_platform.yaml
INFO | Load Schema /opt/riscv/riscv-python/lib/python3.12/site-packages/riscv_config/schemas/schema_platform.yaml
INFO | Initiating Validation
INFO | No Syntax errors in Input Platform Yaml. :)
INFO | Dumping out Normalized Checked YAML: /home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/riscof_work/spike_platform_checked.yaml
INFO | Generating database for suite: /home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/riscv-test-suite
INFO | Database File Generated: /home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/riscof_work/database.yaml
INFO | Env path set to/home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/riscv-test-suite/env
INFO | Will collect Coverage using RISCV-ISAC
INFO | CGF file(s) being used : ('/home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/coverage/dataset.cgf', '/home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/coverage/i/rv64i.cgf', '/home1/ACEIC/NaveenK/cvw/addins/riscv-arch-test/coverage/priv/rv64i_priv.cgf')
INFO | Selecting Tests.
INFO | Running Tests on Reference.
Traceback (most recent call last):
File "/opt/riscv/riscv-python/bin/riscof", line 8, in
sys.exit(cli())
^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1161, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/riscof/cli.py", line 406, in coverage
report, for_html, test_stats, coverpoints = framework.run_coverage(base, isa_file, platform_file,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/riscof/framework/main.py", line 116, in run_coverage
base.runTests(test_list, cgf_file, header_file)
TypeError: sail_cSim.runTests() takes from 2 to 3 positional arguments but 4 were given
can anyone help me how to solve this error?
The text was updated successfully, but these errors were encountered:
I have had this problem before, but it disappeared after I reinstalled the environment. Maybe it is a compatibility issue with riscof or some component versions?
hi,
I encountered a TypeError when running the riscof coverage command
riscof coverage --config=config64.ini --suite=./riscv-test-suite/ --env=./riscv-test-suite/env
--cgf-file=./coverage/dataset.cgf
--cgf-file=./coverage/i/rv64i.cgf
--cgf-file=./coverage/priv/rv64i_priv.cgf
Traceback (most recent call last):
File "/opt/riscv/riscv-python/bin/riscof", line 8, in
sys.exit(cli())
^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1161, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/riscof/cli.py", line 406, in coverage
report, for_html, test_stats, coverpoints = framework.run_coverage(base, isa_file, platform_file,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/riscv/riscv-python/lib/python3.12/site-packages/riscof/framework/main.py", line 116, in run_coverage
base.runTests(test_list, cgf_file, header_file)
TypeError: sail_cSim.runTests() takes from 2 to 3 positional arguments but 4 were given
can anyone help me how to solve this error?
The text was updated successfully, but these errors were encountered: