From d41dc8d2def2090b9e6494dad9f1d174f704d319 Mon Sep 17 00:00:00 2001 From: Ahlyssa Santillana Date: Thu, 14 Nov 2024 06:26:28 -0800 Subject: [PATCH 1/3] incorportated Zicsr to run in Imperas --- config/rv32gc/coverage.svh | 1 + config/rv64gc/coverage.svh | 1 + 2 files changed, 2 insertions(+) diff --git a/config/rv32gc/coverage.svh b/config/rv32gc/coverage.svh index 39e174412..776f8ef9f 100644 --- a/config/rv32gc/coverage.svh +++ b/config/rv32gc/coverage.svh @@ -26,6 +26,7 @@ `include "RV32ZcbZbb_coverage.svh" `include "RV32Zcf_coverage.svh" `include "RV32Zcd_coverage.svh" +`include "RV32Zicsr_coverage.svh" // Privileged extensions `include "ZicsrM_coverage.svh" diff --git a/config/rv64gc/coverage.svh b/config/rv64gc/coverage.svh index 0ab6f76a7..b7c83483a 100644 --- a/config/rv64gc/coverage.svh +++ b/config/rv64gc/coverage.svh @@ -26,6 +26,7 @@ `include "RV64ZcbZbb_coverage.svh" `include "RV64ZcbZba_coverage.svh" `include "RV64Zcd_coverage.svh" +`include "RV64Zicsr_coverage.svh" // Privileged extensions `include "RV64VM_coverage.svh" From 38acf24d831571eebc421d27399950cc3b979e95 Mon Sep 17 00:00:00 2001 From: Jordan Carlin Date: Wed, 20 Nov 2024 19:06:41 -0800 Subject: [PATCH 2/3] Reset code coverage when running regression --- bin/regression-wally | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/regression-wally b/bin/regression-wally index 9a2d29201..6f609ffa0 100755 --- a/bin/regression-wally +++ b/bin/regression-wally @@ -519,7 +519,7 @@ def main(): pass if args.ccov: TIMEOUT_DUR = 20*60 # seconds - os.system('rm -f questa/cov/*.ucdb') + os.system('rm -f questa/ucdb/* questa/cov/*') elif args.fcov: TIMEOUT_DUR = 8*60 os.system('rm -f questa/fcov_ucdb/* questa/fcov_logs/* questa/fcov/*') From fb59d8e32fc1c173f8cdff7a0a8fb6816205f194 Mon Sep 17 00:00:00 2001 From: Jordan Carlin Date: Wed, 20 Nov 2024 19:23:46 -0800 Subject: [PATCH 3/3] More imperas lics --- bin/regression-wally | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/regression-wally b/bin/regression-wally index 6f609ffa0..f53940d89 100755 --- a/bin/regression-wally +++ b/bin/regression-wally @@ -536,7 +536,7 @@ def main(): # max out at a limited number of concurrent processes to not overwhelm the system # right now fcov, ccov, nightly all use Imperas if (args.ccov or args.fcov or args.nightly): - ImperasDVLicenseCount = 8 # limit number of concurrent processes to avoid overloading ImperasDV licenses + ImperasDVLicenseCount = 16 # limit number of concurrent processes to avoid overloading ImperasDV licenses else: ImperasDVLicenseCount = 10000 # effectively no license limit for non-lockstep tests with Pool(processes=min(len(configs),multiprocessing.cpu_count(), ImperasDVLicenseCount)) as pool: