Closed Pagerd closed 3 days ago
I guess riscv-ctg is broken too because of this new flag. riscv-ctg is the test generator, so that should be the better place to post this issue. riscv-isac is the coverage tool, it has no relationship with test generation. Thanks for pointing that out. I have noted this issue, I will check ctg source code to rectify this issue.
Yes, the problem is from ctg. I did not add --z-inx
True to the command, but after adding it, new problems appeared.
pager@pager-virtual-machine:~/Desktop/work/riscv-ctg$ riscv_ctg --base-isa rv32i --flen 32 --cgf ./sample_cgfs/dataset.cgf --cgf ./sample_cgfs/sample_cgfs_fext/RV32H/rv32h_fcvt.d.h.cgf -d ./tests/ -v debug --z-inx True
INFO | ****** RISC-V Compliance Test Generator 0.12.2 *******
INFO | Copyright (c) 2020, InCore Semiconductors Pvt. Ltd.
INFO | All Rights Reserved.
INFO | Copying env folder to Output directory.
DEBUG | Generated 24 16-bit coverpoints using Model B1 for fcvt.d.h !
DEBUG | Generated 8 16-bit coverpoints using Model B22 for fcvt.d !
DEBUG | Generated 45 16-bit coverpoints using Model B23 for fcvt.d !
DEBUG | Generated 160 16-bit coverpoints using Model B24 for fcvt.d !
DEBUG | Generated 8 16-bit coverpoints using Model B27 for fcvt.d !
DEBUG | Generated 28 16-bit coverpoints using Model B28 for fcvt.d !
DEBUG | Generated 80 16-bit coverpoints using Model B29 for fcvt.d.h !
WARNING | Neither mnemonics nor csr_comb node not found in covergroup: datasets
WARNING | fcvt.d.h not found in template file. Skipping
WARNING | fcvt.d.h not found in template file. Skipping
WARNING | fcvt.d.h not found in template file. Skipping
WARNING | fcvt.d.h not found in template file. Skipping
WARNING | fcvt.d.h not found in template file. Skipping
WARNING | fcvt.d.h not found in template file. Skipping
WARNING | fcvt.d.h not found in template file. Skipping
It seems that when --z-inx True, the nodes in fd.yaml
will be deleted, but the fcvt.d.h instructions in Zfh are in fd.yaml
, so no test cases can be generated
after pr #94,isac still reports an error when executing RV32H tests