1 of 22

2026 ICCAD CAD Contest Problem B

Regression Failure Bucketing

Grant Pan and Ethan Chen, Synopsys Inc.

2026.11.09

© 2026 Synopsys, Inc.

1

2 of 22

Legal Disclosure

CONFIDENTIAL INFORMATION

The information contained in this presentation is the confidential and proprietary information of Synopsys. You are not permitted to disseminate or use any of the information provided to you in this presentation outside of Synopsys without prior written authorization.

IMPORTANT NOTICE

This presentation may include information related to Synopsys’ future product or business plans. Such plans are as of the date of this presentation and subject to change. Synopsys is not obligated to update this presentation or develop the products with the features and/or functionality discussed in this presentation. Additionally, Synopsys’ products and services may only be offered and purchased pursuant to an authorized quote and purchase order or a mutually agreed upon written contract.

FORWARD LOOKING STATEMENTS

This presentation may include certain statements including, but not limited to, Synopsys’ financial targets, expectations and objectives; business and market outlook, business opportunities, strategies and technological trends; and more. These statements are made only as of the date hereof and subject to change. Actual results or events could differ materially from those anticipated in such statements due to a number of factors. Synopsys undertakes no duty to, and does not intend to, update any statement in this presentation, whether as a result of new information, future events or otherwise, unless required by law.

© 2026 Synopsys, Inc.

2

3 of 22

Outline

  • Introduction
  • Problem formulation
    • Program interface
    • Input output format
  • Evaluation
    • Figure of merit
    • Benchmarks
    • Result analyses
  • Awards

​

​

Synopsys Confidential Information

© 2026 Synopsys, Inc.

3

4 of 22

Introduction

  • RTL regressions typically involve large volumes of simulation data across multiple configurations, seeds, and constraints
    • Instead of analyzing thousands of individual failing points, you analyze clusters or bins
    • This reduces debugging time and focuses effort on the most impactful conditions

​

  • Rule-based bucketing
    • Engineers can clearly see why a test falls into a bucket
    • Buckets are fixed; they don’t adapt to new failure patterns
    • Works well for single variables, but struggles when failures depend on combinations
    • As design evolves, rules need constant updates

​

  • Data-driven clustering
    • Automatically adjusts as new data comes in
    • Better for large-scale regressions and handling multi-dimensional data

Synopsys Confidential Information

© 2026 Synopsys, Inc.

4

5 of 22

Introduction

Synopsys Confidential Information

Regression Failures

Bucket 1

Bucket 2

Bucket 3

Features

Extract

Binning

%> regr_fail_bucketing --input <input.csv> --output <output.csv> --k <k>

© 2026 Synopsys, Inc.

5

6 of 22

Problem Formulation

  • Input (.csv)
    • Failures from different bugs, tests, seeds
      • regr.log: checker report
      • sim.log: vcs simulation log
      • trace.log: ibex cpu instruction trace log
  • Output (.csv)
    • Bucket ID for each failure case
  • Goal
    • Correct binning
    • Minimize runtime
  • Cases
    • N ibex failure cases
    • K target buckets

Synopsys Confidential Information

Case

Regr Log

Sim Log

Trace Log

1

/path/to/1/regr.log

/path/to/1/sim.log

/path/to/1/trace.log

2

/path/to/2/regr.log

/path/to/2/sim.log

/path/to/2/trace.log

3

/path/to/3/regr.log

/path/to/3/sim.log

/path/to/3/trace.log

.

.

.

.

.

.

.

.

.

.

.

.

N

/path/to/N/regr.log

/path/to/N/sim.log

/path/to/N/trace.log

Case

Bucket

1

bucket_a

2

bucket_b

3

bucket_k

.

.

.

.

.

.

N

bucket_b

Input

Output

Case

Bug

1

bug_a

2

bug_b

3

bug_k

.

.

.

.

.

.

N

bug_b

Golden

Clustering

Evaluation

© 2026 Synopsys, Inc.

6

7 of 22

RISC-V Ibex Simulation

Synopsys Confidential Information

Logs

Example Case A

Example Case B

regr.log

​

​

sim.log

​

​

trace.log

​

​

Mismatch[1]:

ibex[75] : pc[800001d6] c.lui x25,0xd: s9:0000d000

spike[75] : pc[ffffffff8000020c] lui gp, 0xbf802: gp:bf802000

[FAILED]: 77 matched, 4262 mismatch

riscv_debug_basic_test.0 : [FAILED]

Command: ibex/dv/uvm/out/rtl_sim/vcs_simv +vcs+lic+wait +signature_addr=0x8ffffffc -ucli -do ibex/dv/uvm/vcs.tcl +ntb_random_seed=7 +UVM_TESTNAME=core_ibex_base_test +bin=ibex/dv/uvm/out/instr_gen/asm_tests/riscv_machine_mode_rand_test_0.bin -l sim.log +UVM_VERBOSITY=UVM_HIGH

.

.

.

--- RISC-V UVM TEST FAILED ---

​

​

​

​

​

Command: ibex/dv/uvm/out/rtl_sim/vcs_simv +vcs+lic+wait +signature_addr=0x8ffffffc -ucli -do ibex/dv/uvm/vcs.tcl +ntb_random_seed=7 +require_signature_addr=1 +max_interval=500 +enable_debug_seq=1 +UVM_TESTNAME=core_ibex_debug_intr_basic_test +bin=ibex/dv/uvm/out/instr_gen/asm_tests/riscv_debug_basic_test_0.bin -l sim.log +UVM_VERBOSITY=UVM_HIGH

.

.

.

UVM_FATAL ibex/dv/uvm/tests/core_ibex_test_lib.sv(335) @ 93625000: uvm_test_top [uvm_test_top] No dret detected, or incorrect privilege mode switch in timeout period of 20000 cycles

--- RISC-V UVM TEST FAILED ---

Time Cycle PC Insn Decoded instruction Register and memory contents

253000 26 80000080 00000013 addi x0,x0,0 x0:0x00000000 x0=0x00000000

255000 27 80000084 4081 c.li x1,0 x1=0x00000000

257000 28 80000086 5296a137 lui x2,0x5296a x2=0x5296a000

279000 39 8000008a ec010113 addi x2,x2,-320 x2:0x5296a000 x2=0x52969ec0

281000 40 8000008e 4181 c.li x3,0 x3=0x00000000

.

.

.

Time Cycle PC Insn Decoded instruction Register and memory contents

229000 14 80000080 00000013 addi x0,x0,0 x0:0x00000000 x0=0x00000000

251000 25 80000084 4081 c.li x1,0 x1=0x00000000

253000 26 80000086 5296a137 lui x2,0x5296a x2=0x5296a000

275000 37 8000008a ec010113 addi x2,x2,-320 x2:0x5296a000 x2=0x52969ec0

277000 38 8000008e 4181 c.li x3,0 x3=0x00000000

.

.

.

© 2026 Synopsys, Inc.

7

8 of 22

Evaluation

  • Treat each pair (i, j) as positive if they’re in the same golden bucket, otherwise negative.
  • TPR = TP / P = TP / (TP + FN)
  • TNR = TN / N = TN / (TN + FP)
  • Balanced Accuracy = (TPR + TNR) / 2

​

​

​

​

Synopsys Confidential Information

© 2026 Synopsys, Inc.

8

9 of 22

Benchmarks

  • RISC-V Ibex simulation
    • regr.log
    • trace.log
    • sim.log

​

​

Synopsys Confidential Information

Benchmark

Max Lines

Max Cases

Buckets

Max Runtime

Public

1

1M

10

2

30 s

Yes

2

1M

30

4

30 s

Yes

3

10M

100

8

100 s

No

4

10M

300

16

100 s

No

5

10M

1000

32

100 s

No

6

10M

3000

64

100 s

No

7

100M

100

8

300 s

No

8

100M

300

16

300 s

No

9

100M

1000

32

300 s

No

10

100M

3000

64

300 s

No

© 2026 Synopsys, Inc.

9

10 of 22

Leaderboard

Synopsys Confidential Information

© 2026 Synopsys, Inc.

10

11 of 22

Per-Benchmark Distribution

Synopsys Confidential Information

© 2026 Synopsys, Inc.

11

12 of 22

Awards

  • Honorable Mentions
  • Third Place
  • Second Place
  • First Place

​

Synopsys Confidential Information

© 2026 Synopsys, Inc.

12

13 of 22

Honorable Mentions

Synopsys Confidential Information

© 2026 Synopsys, Inc.

13

14 of 22

Honorable Mention

Synopsys Confidential Information

Organization:

National Taiwan University of Science and Technology

Contestants:

Kai-Wen Tan

​

Pei-Hsi Tsai

​

En-Ya Kung

​

Zhao-Hong Zhong

Advisor:

Prof. Yung-Chih Chen

© 2026 Synopsys, Inc.

14

15 of 22

Honorable Mention

Synopsys Confidential Information

Organization:

National Taiwan University of Science and Technology

Contestants:

Chun-Liang Kuo

​

Shu-Han Liu

​

Bo-Hao Huang

​

Hao-Siang Ma

Advisor:

Prof. Yung-Chih Chen

© 2026 Synopsys, Inc.

15

16 of 22

Third Place

Synopsys Confidential Information

© 2026 Synopsys, Inc.

16

17 of 22

Third Place

Synopsys Confidential Information

Organization:

National Taiwan University

Contestants:

Yun-Yi Chen

​

Cheng-Yu Chiang

​

Shang-Hsuan Wen

Advisor:

Prof. Chung-Yang Huang

© 2026 Synopsys, Inc.

17

18 of 22

Second Place

Synopsys Confidential Information

© 2026 Synopsys, Inc.

18

19 of 22

Second Place

Synopsys Confidential Information

Organization:

National Taiwan University

Contestants:

Wei-Kai Huang

​

Sheng-Lun Huang

​

Wei-Hsiang Wang

Advisor:

Prof. Chung-Yang Huang

© 2026 Synopsys, Inc.

19

20 of 22

First Place

Synopsys Confidential Information

© 2026 Synopsys, Inc.

20

21 of 22

First Place

Synopsys Confidential Information

Organization:

National Taiwan University of Science and Technology

Contestants:

Bo-Lin Chen

​

I-Ming Lu

Advisor:

Prof. Yung-Chih Chen

© 2026 Synopsys, Inc.

21

22 of 22

Synopsys Confidential Information

Thank you

© 2026 Synopsys, Inc.

22