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
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
I followed steps from Quickstart. And I get a error when try to compute coverage from Architecture Test Suite
$ riscv_isac --verbose info coverage -d -t add-01.log --parser-name c_sail --decoder-name internaldecoder -o coverage.rpt --sig-label begin_signature end_signature --test-label rvtest_code_begin rvtest_code_end -e ref.elf -c dataset.cgf -c rvi.cgf -x 32 -l add
INFO | ****** RISC-V ISA Coverage 0.18.1 *******
INFO | Copyright (c) 2020, InCore Semiconductors Pvt. Ltd.
INFO | All Rights Reserved.
INFO | Start Test Label: rvtest_code_begin @ 0x800000f8
INFO | End Test Label : rvtest_code_end @ 0x8000329c
INFO | Start Signature Label: begin_signature @ 0x80006110
INFO | End Signature Label : end_signature @ 0x80006a50
WARNING | FLEN is set to 32. Commit values in the log will be terminated to 32 bits irrespective of their original size.
INFO | Writing out updated cgf : /home/pager/Desktop/32work/riscof_work/rv32i_m/I/src/add-01.S/ref/ref.cgf
Traceback (most recent call last):
File "/home/pager/.local/bin/riscv_isac", line 33, in <module>
sys.exit(load_entry_point('riscv-isac', 'console_scripts', 'riscv_isac')())
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/pager/Desktop/riscv-isac/riscv_isac/main.py", line 136, in coverage
isac(output_file,elf,trace_file, window_size, expand_cgf(cgf_file,int(xlen),int(flen),log_redundant), parser_name, decoder_name, parser_path, decoder_path, detailed, test_label,
File "/home/pager/Desktop/riscv-isac/riscv_isac/isac.py", line 40, in isac
rpt = cov.compute(trace_file, test_name, cgf, parser_name, decoder_name, detailed, xlen, flen, test_addr, dump, cov_labels, sig_addr, window_size, no_count, procs)
File "/home/pager/Desktop/riscv-isac/riscv_isac/coverage.py", line 1468, in compute
dump_file.write(ruamel.yaml.round_trip_dump(rcgf, indent=5, block_seq_indent=3))
File "/home/pager/.local/lib/python3.10/site-packages/ruamel/yaml/main.py", line 1284, in round_trip_dump
error_deprecation('round_trip_dump', 'dump')
File "/home/pager/.local/lib/python3.10/site-packages/ruamel/yaml/main.py", line 1039, in error_deprecation
raise AttributeError(s, name=None)
AttributeError:
"round_trip_dump()" has been removed, use
yaml = YAML()
yaml.dump(...)
instead of file "/home/pager/Desktop/riscv-isac/riscv_isac/coverage.py", line 1468
dump_file.write(ruamel.yaml.round_trip_dump(rcgf, indent=5, block_seq_indent=3))
Im not sure which step goes wrong. ths samples cgfs from riscv-ctg
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I followed steps from Quickstart. And I get a error when try to compute coverage from Architecture Test Suite
Im not sure which step goes wrong. ths samples cgfs from riscv-ctg
The text was updated successfully, but these errors were encountered: