[DV] Top level toggle coverage (#371)

This commit is contained in:
udinator 2019-10-04 16:36:47 -07:00 committed by GitHub
parent b1a0cac126
commit 84664077ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -1 +1,4 @@
+tree core_ibex_tb_top.dut
begin tgl
-tree core_ibex_tb_top.dut.*
end

View file

@ -33,7 +33,7 @@ def process_ibex_sim_log(ibex_log, csv):
# Extract instruction information
m = re.search(r"^\s*(?P<time>\d+)\s+(?P<cycle>\d+)\s+" \
"(?P<pc>[0-9a-f]+)\s+(?P<bin>[0-9a-f]+)\s+(?P<instr>.*)" \
".*x(?P<rd>\d+)=0x(?P<val>[0-9a-f]+)", line)
".*x(?P<rd>[1-9]\d*)=0x(?P<val>[0-9a-f]+)", line)
if m:
# Write the extracted instruction to a csvcol buffer file
rv_instr_trace = RiscvInstructiontTraceEntry()