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
Problem A - LLM‑Assisted Netlist Exploration and Transformation�
LLMs
Engine
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
2
Problem Formulation
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
Example Requests
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
4
Example Requests
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
5
Difficulty
- Include preconditions, postconditions, and side-effect notes.
- Maintain design state across multi-turn dialogues
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
6
Evaluation
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
7
Evaluation Result
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
8
Design: The 100 Testcases
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
9
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
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
Overall Result
| 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
Result (1/2):
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
Result (2/2): Hardest Cases
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
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
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
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
Case test026
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. |
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
18
Case test051
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. |
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
19
Case test059
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. |
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
20
Cases test049 / 053 / 067: Fanout After Buffering
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. |
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
Awards
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
22
Winners for Problem A��
23
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
Winners for Problem A��
24
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
Winners for Problem A��
25
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
Winners for Problem A��
26
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
Winners for Problem A��
27
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
Winners for Problem A��
28
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
Winners for Problem A��
29
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
Q & A
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
30
© 2025 Cadence Design Systems, Inc. Cadence confidential. Internal use only.
30
© 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
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