1 of 32

CAD Contest 2026 Problem A

LLM‑Assisted Netlist Exploration and Transformation

Chung Han Chou

2026/01/09

Internal Use Only

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

1

2 of 32

Problem A - LLM‑Assisted Netlist Exploration and Transformation�

  • Coding is getting easier with LLM
    • Implementation details matter less
    • Clear requirements and critical thinking matter more
  • Specification becomes the bottleneck
    • What capabilities should an EDA tool provide?
    • What commands and arguments are needed?
    • How should they be documented?
  • Task planning remains challenging
    • LLMs must understand tool commands and semantics
    • Natural-language requests must be decomposed into executable steps
    • Plans must be deterministic, validated, and context-aware
  • What is the industry doing?

​

LLMs

Engine

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

2

3 of 32

Problem Formulation

  • Accept natural‑language requests
    • Turned into executable EDA flows
    • Automatic applied in a gate‑level design
  • Operations
    • analyze (query, traversal, features, …)
    • transform (insert, modify, optimize, …)
    • Contestants should provide tools for �LLM to understand and use
  • Interface
    • A chatbot
      • Input natural language (or design, depends)
      • Output natural language (or design , depends)
    • At least supports
      • Read in design from a Verilog file
      • Write out design to a Verilog file

Intention

(natural‑language)

Execution plan

Initial design

Modified design

Document

Tool spec

Analysis result

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

3

4 of 32

Example Requests

  • T1 — Circuit traversal
    • “Does every path from A to B pass through C?”
      • Expected: Formal path analysis; if false, show counterexample path.
  • T2 — Function
    • “Do there exist signals a and b such that (a & b) is equivalent to z?”
      • Expected: Cone factor search + SAT/CEC proof or counterexample.
  • T3 — Circuit editing
    • “Add buffers to balance the depth from A to {B,C,D,E,F,G} with minimal buffer insertion.”
      • Expected: Minimal buffer insertion; report before/after depths; verify depth & equivalence.
    • “Insert an AND gate before all buffers/inverters whose name includes _gc__; connect the other input to _gc_ctrl.”
      • Expected: Batch edit; zero floating nets; equivalence when _gc_ctrl=1.
  • T4 — Optimization
    • “Optimize the logic cone of h so that the maximum depth is ≤ 5, minimize the gate count.”
      • Expected: Apply rewrite/resub passes; verify depth & equivalence; evaluate the cost.

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

4

5 of 32

Example Requests

  • Basic operation
    • Read in design
    • Write out design
  • Single description
    • Read in design
    • One description
    • Write out design
  • Combined description
    • Read in design
    • Description 1
    • Description 2
    • Description 3
    • …
    • Write out design

​

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

5

6 of 32

Difficulty

  • Discriminability
    • Baseline
      • Everything as prompt
      • Parse/execute LLM output
      • Estimated time required: 3 days – 1 week
    • After Baseline
      • Structured command schema

- Include preconditions, postconditions, and side-effect notes.

      • Context management

- Maintain design state across multi-turn dialogues

      • Plan optimization
      • More advanced features…
  • Hierarchy Support? (X)
    • “Move part of the circuit out from a module into the top level.”
  • Sequential Element Support? (V)
    • “Re-order the scan chain to optimize …”

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

6

7 of 32

Evaluation

  • Runtime limitation
    • Maximum 5 minutes per testcase for full execution
    • If runtime exceeds the limit, the process is terminated; any generated output will still be evaluated
  • Reset after each evaluation
    • Each testcase starts from the same initial design state to ensure fairness
  • Correctness is necessary
    • All query request should answer correctly
    • All requested transformations and queries must be satisfied before scoring
    • (except the request which changes the function)
  • For optimized request, evaluate the metric and ranking according the cost
  • Evaluated by LLM Agent
    • The agent checks whether each natural-language request is correctly fulfilled
    • Verifies outputs against expected constraints (paths, depth, equivalence, etc.)

​

​

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

7

8 of 32

Evaluation Result

  • Total 67 teams submit their executable files

​

  • Total 62 teams finish at least one case

​

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

8

9 of 32

Design: The 100 Testcases

  • Source(53 designs): 30 sequential, 23 combinational (including 10 arithmetic designs for resource sharing)
  • Reuse: 100 cases from 53 designs; 11 designs feed 3 cases each, 25 feed 2, 17 feed 1 (same netlist, different prompts).
  • Size: <100 gates 16 cases · 100-1k 13 · 1k-10k 30 · 10k-100k 32 · ≥100k 9

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

9

10 of 32

Prompt (1/2): Three Prompt Types

Type

What it asks

Requests

Example

Basic

Load / write the design, gate count, port count

293

Count all the gates in this design, broken down by gate type (AND, OR, NOT, ...).

Analysis

Read-only queries: cone, path, depth, fanout, equivalence

76

Does output n7[59] depend on input n6[0]? Report yes or no.

Transform + Optimization

Rewrite the netlist, then check the result; Optimization adds a cost function

205

Reduce the critical path depth ... The cost function is the maximum logic depth of the final design; smaller is better.

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

10

11 of 32

Prompt (2/2): How a Case Is Composed

Type

Cases

Prompt types used

basic

16

Basic + Analysis

transform_only

38

Basic + Transform

optimization_only

36

Basic + Optimization

resource_sharing

10

Basic + Optimization (arithmetic designs)

Example case (test011, transform_only)

Type

Prompt

Basic

Please load the design from the file test011.v ...

Basic

Count all the gates in this design and break the total down by gate type.

Transform

Replace every XNOR gate with an equivalent circuit built only from NOR gates. Ensure the design functionality does not change.

Transform

How many NOR gates are now in the design after the XNOR-to-NOR conversion?

Transform

Verify that the design is still functionally equivalent to the original.

Basic

Please write the current design to the output file test011_out.v.

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

11

12 of 32

Overall Result

​

​

​

​

  • Observation
    • 90% cases use the ChatGPT as API

​

​

Basic

Transform

Optimization

Top 5 teams

571.8

53.6

40.7

All 62 teams

504.5

42.7

26.4

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

12

13 of 32

Result (1/2):

  • Overall solve rate: 78.2%; no testcase exceeds 95%
  • Easier: Small combinational designs, with ~90% solve rate
  • Harder: Large sequential designs with optimization, with ≥100k-gate cases averaging only 73.3%
  • Sequential vs. combinational: 77.1% vs. 82.8%

Prompt type

Top 5

All 62 teams

Basic

99.9%

90.8%

Analysis

99.2%

82.1%

Transform + Optimization

96.6%

70.9%

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

13

14 of 32

Result (2/2): Hardest Cases

  • Hardest: Sequential designs with buffering or depth optimization
  • 28% of failures: No output netlist within the time limit
  • 37–41 / 60 teams: Incorrect fanout analysis after buffering

Case

Design

Gates

Solved (All)

Solved (Top 5)

test026

D17

113,755

51%

80%

test051

D06

213,279

57%

87%

test059

D14

13,494

66%

95%

test049 / 053 / 067

D04, D08, D22

1k-15k

63-65%

97-100%

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

14

15 of 32

Case Study

[Tool / Environment]

Design loaded:

Module: top

PI: 36

PO: 45

Gates: 180,047

DFFs: 33,232

 

[User → AI Agent]

Count all the gates in this design and break the total down

by gate type.

 

 

[AI Agent → Contestant Tool]

Query gate statistics for the loaded design.

 

 

​

[Contestant Tool → AI Agent]

AND: 0

OR: 1,333

NOT: 9,231

NAND: 155,897

NOR: 12,190

XOR: 60

XNOR: 650

BUF: 686

DFF: 33,232

 

 

[AI Agent → User]

Combinational gates: 180,047

DFFs: 33,232

Total: 213,279

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

15

16 of 32

Case Study

[User → AI Agent]

Restructure the logic to shrink the critical path depth.

Make sure nothing changes functionally.

Cost = maximum logic depth.

Smaller is better.

​

[AI Agent → Contestant Tool]

Goal:

Minimize maximum logic depth.

Constraint:

Preserve functionality.

Action:

Invoke the contestant-provided optimization capability on the currently loaded design.

​

Step 1:

Analyze the current implementation.

Initial maximum depth = 55

​

Step 2:

Search for a logic transformation that can reduce the maximum depth.

​

Step 3:

Evaluate candidate implementation.

Candidate does not improve the cost.

​

Step 4:

Continue optimization search.

​

Iteration #2

​

Step 5:

Evaluate the best implementation found.

Initial cost = 55

Best cost = 55

​

Step 6:

No better implementation found.

​

Reject attempted transformations.

Retain original implementation.

Preserve functionality.

​

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

16

17 of 32

Case Study

[Contestant Tool → AI Agent]

Optimization converged across 2 iteration(s).

Initial cost: 55

Best cost: 55

No improvement found.

Original implementation retained.

Functionality preserved.

​

[AI Agent → User]

The optimization completed after 2 iterations.

Initial maximum logic depth: 55

Best maximum logic depth: 55

No improvement was found, so the original implementation was retained and functionality was preserved.

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

17

18 of 32

Case test026

  • Design: D17, sequential, 113,755 gates, depth 286;
  • Result: all teams 51%, top 5 80% (lowest of the 100 cases)

Request

Real prompt

Gate count

Please count all the gates in this design and report the total count broken down by gate type (AND, OR, NOT, NAND, NOR, XOR, XNOR, BUF, DFF).

Transform

Insert buffers wherever needed so that no gate drives more than 4 loads. Make sure nothing changes functionally.

Follow-up

What is the maximum fanout of the design now?

Follow-up

Prove that the transformed design is equivalent to the pre-transformation netlist.

Write

Please write the current design to the output file test026_out.v.

  • Observation:
  • A 4-load limit on 114k gates needs heavy buffering; half of the teams (31 of 61) do not complete the rewrite in time
  • Later requests (fanout answer, equivalence, write) then fail as well

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

18

19 of 32

Case test051

  • Design: D06, sequential, 213,279 gates (largest), depth 55;
  • Result: all teams 57%, top 5 87%

Request

Real prompt

Gate count

Count all the gates in this design and break the total down by gate type (AND, OR, NOT, NAND, NOR, XOR, XNOR, BUF, DFF).

Optimize

Restructure the logic to shrink the critical path depth. Make sure nothing changes functionally. The cost function is the maximum logic depth of the final design; smaller is better.

Follow-up

What is the maximum combinational logic depth in the design now?

Write

Please write the current design to the output file test051_out.v.

  • Observation:
  • The largest design: about 40% of teams (25 of 59) do not finish the optimization in time
  • Most teams that finish keep the original depth 55; the best result is 26

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

19

20 of 32

Case test059

  • Design: D14, sequential, 13,494 gates, depth 528 (deepest);
  • Result: all teams 66%, top 5 95%;

Request

Real prompt

Gate count

Please count all the gates in this design and report the total count broken down by gate type (AND, OR, NOT, NAND, NOR, XOR, XNOR, BUF, DFF).

Optimize

Optimize the logic to minimize maximum path depth. Ensure functional equivalence is preserved. The cost function is the maximum logic depth of the final design; smaller is better.

Follow-up

What is the maximum combinational logic depth in the design now?

Write

Please write the current design to the output file test059_out.v.

  • Observation:
  • Almost every team finishes, but the final depth varies widely: best 18, median 528 (unchanged), worst 1,060

​

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

20

21 of 32

Cases test049 / 053 / 067: Fanout After Buffering

  • Design: D04, D08, D22; sequential, 1k to 15k gates;
  • Result: all teams 63-65%, top 5 97-100%

Request

Real prompt

Gate count

Count all the gates in this design and break the total down by gate type (AND, OR, NOT, NAND, NOR, XOR, XNOR, BUF, DFF).

Optimize

Add buffers as needed so no signal drives more than 16 loads. Make sure nothing changes functionally. The cost function is the total gate count of the final design; smaller is better.

Follow-up

What is the maximum fanout of the design now?

Write

Please write the current design to the output file test049_out.v.

  • Observation
  • The fanout question is the main loss: 40 of 60 teams answer wrongly or give no usable number.
  • This prompt did not appear in the alpha/beta tests, so most teams could not handle it.

​

Prompt shown is test049; test053 and test067 use the same requests with minor wording changes (test067: "Insert buffers wherever needed so that no signal drives more than 16 loads").

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

21

22 of 32

Awards

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

22

23 of 32

Winners for Problem A��

23

  • Honorable Mention*

​

​

Advisors

Prof. Bei Yu

The Chinese University of Hong Kong

Prof. Chun-Yao Wang

National Tsing Hua University

Prof. Yung-Chih Chen

National Taiwan University of Science and Technology

Student Members

An-Chieh Shen

National Tsing Hua University

Wuqian Tang

National Tsing Hua University

Zixiao Wang

The Chinese University of Hong Kong

Fangzhou Liu

The Chinese University of Hong Kong

Cheng-En Chung

National Tsing Hua University

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

23

24 of 32

Winners for Problem A��

24

  • Honorable Mention*

​

​

Advisor

Prof. Teng-Yi Huang

National Taiwan University of Science and Technology

Students

Chia-En Tsai

National Taiwan University of Science and Technology

Wen-Hsin Shih

National Taiwan University of Science and Technology

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

24

25 of 32

Winners for Problem A��

25

  • Honorable Mention*

​

​

Advisor

Prof. Chun-Yao Wang

National Tsing Hua University

Student

Che-Ning Chang

National Tsing Hua University

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

25

26 of 32

Winners for Problem A��

26

  • Honorable Mention

​

​

Advisors

Prof. Zhenyu Zhao

National University of Defense Technology

Prof. Shourui Ji

National University of Defense Technology

Students

Ruipeng Zhang

National University of Defense Technology

Zhangjin Zhao

Southern University of Science and Technology

Jiakai Li

University of Electronic Science and Technology of China

Jiangwei Xia

National University of Defense Technology

Rongzheng Wang

University of Electronic Science and Technology of China

Yizhuo Ma

University of Electronic Science and Technology of China

Songming Jia

University of Science and Technology of China

Zhangdian Zhao

Xi'an University of Technology

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

26

27 of 32

Winners for Problem A��

27

  • 3rd Place

​

​

​

Advisor

Prof. Chun-Yao Wang

National Tsing Hua University

Student

Ming-Yang Zheng

National Tsing Hua University

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

27

28 of 32

Winners for Problem A��

28

  • 2nd Place

​

​

​

Advisor

Prof. Yung-Chih Chen

National Taiwan University of Science and Technology

Students

Chun-Liang Kuo

National Taiwan University of Science and Technology

Bo-Hao Huang

National Taiwan University of Science and Technology

Shu-Han Liu

National Taiwan University of Science and Technology

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

28

29 of 32

Winners for Problem A��

29

  • 1st Place

​

​

​

Advisors

Prof. Chun-Yao Wang

National Tsing Hua University

Prof. Yung-Chih Chen

National Taiwan University of Science and Technology

Prof. Yu-Guang Chen

National Central University

Students

Tzu-Sian Wang

National Tsing Hua University

Che-Chien Lin

National Tsing Hua University

Hsing-Yu Teng

National Tsing Hua University

Shih-Cheng Hsieh

National Tsing Hua University

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

29

30 of 32

Q & A

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

30

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

30

31 of 32

© 2025 Cadence Design Systems, Inc. All rights reserved worldwide. Cadence, the Cadence logo, and the other Cadence marks found at https://www.cadence.com/go/trademarks are trademarks or registered trademarks of �Cadence Design Systems, Inc. Accellera and SystemC are trademarks of Accellera Systems Initiative Inc. All Arm products are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. All MIPI specifications are registered trademarks or service marks owned by MIPI Alliance. All PCI-SIG specifications are registered trademarks or trademarks of PCI-SIG. All other trademarks are the property of their respective owners.

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

31

32 of 32

Intention

(natural‑language)

Execution plan

Initial design

Modified design

Document

Tool spec

Analysis result

© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

32