Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電子工程學研究所
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/92142
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor黃鐘揚zh_TW
dc.contributor.advisorChung-Yang Huangen
dc.contributor.author許祐綾zh_TW
dc.contributor.authorYu-Ling Hsuen
dc.date.accessioned2024-03-07T16:16:28Z-
dc.date.available2024-03-08-
dc.date.copyright2024-03-07-
dc.date.issued2024-
dc.date.submitted2024-02-18-
dc.identifier.citation[1] Ai Quoc Dao, Nian-Ze Lee, Li-Cheng Chen, Mark Po-Hung Lin, Jie-Hong R. Jiang, Alan Mishchenko, and Robert Brayton. Efficient computation of ECO patch functions. In Proceedings of the 55th Annual Design Automation Conference, DAC ’18, New York, NY, USA, 2018. Association for Computing Machinery.
[2] Michael Huth and Mark Ryan. Logic in Computer Science: Modelling and Reasoning about Systems. Cambridge university press, 2004.
[3] Elliott Mendelson. Introduction to Mathematical Logic. CRC press, 2009.
[4] Alan Mishchenko, Satrajit Chatterjee, Roland Jiang, and Robert K Brayton. FRAIGs: A Unifying Representation for Logic Synthesis and Verification. Technical report, ERL Technical Report, 2005.
[5] Robert K Brayton, Gary D Hachtel, Curt McMullen, and Alberto Sangiovanni-Vincentelli. Logic Minimization Algorithms for VLSI Synthesis, volume 2. Springer Science & Business Media, 1984.
[6] Wikipedia. Unate function. https://en.wikipedia.org/wiki/Unate_function. Accessed: 2024-02-09.
[7] Poul F. Williams, Armin Biere, Edmund M. Clarke, and Anubhav Gupta. Combining Decision Diagrams and SAT Procedures for Efficient Symbolic Model Checking. In E. Allen Emerson and Aravinda Prasad Sistla, editors, Computer Aided Verification, pages 124–138, Berlin, Heidelberg, 2000. Springer Berlin Heidelberg.
[8] Armin Biere, Marijn Heule, and Hans van Maaren. Handbook of satisfiability, volume 185. IOS press, 2009.
[9] Niklas Een and Niklas Sörensson. An extensible sat-solver. In International conference on theory and applications of satisfiability testing, pages 502–518. Springer, 2003.
[10] Niklas Sorensson and Niklas Een. Minisat v1. 13-a sat solver with conflict-clause minimization. SAT, 2005(53):1–2, 2005.
[11] Raimund Ubar and Dominique Borrione. Design error diagnosis in digital circuits without error model. In VLSI: Systems on a Chip: IFIP TC10 WG10. 5 Tenth International Conference on Very Large Scale Integration (VLSI'99) December 1–4, 1999, Lisboa, Portugal, pages 281–292. Springer, 2000.
[12] Bo-Han Wu, Chun-Ju Yang, Chung-Yang Huang, and Jie-Hong Roland Jiang. A robust functional ECO engine by SAT proof minimization and interpolation techniques. In 2010 IEEE/ACM International Conference on Computer-Aided Design(ICCAD), pages 729–734, 2010.
[13] Shao-Lun Huang, Wei-Hsun Lin, Po-Kai Huang, and Chung-Yang Huang. Match and Replace: A Functional ECO Engine for Multierror Circuit Rectification. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 32(3):467–478, 2013.
[14] ICCAD CAD Contest 2017 Problem A. Resource-aware Patch Generation. https://iccad-contest.org/2017/CAD-contest-at-ICCAD2017/index.html. Accessed: 2024-01-27.
[15] ICCAD CAD Contest 2021 Problem A. Functional ECO with Behavioral Change Guidance. https://iccad-contest.org/2021/Problems.html. Accessed:2024-01-27.
[16] Alan Mishchenko. ABC: System for Sequential Logic Synthesis and Formal Verification. https://github.com/berkeley-abc/abc. Accessed: 2024-02-01.
[17] Cadence Design Systems, Inc. Logical Equivalence Checking(LEC). License: Conformal_ECO_GXL 21.2.
-
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/92142-
dc.description.abstract這份研究提出了一種新的方法,以解決先前工程改變命令方法中觀察到的限制。 在給定一組候選校正點的情況下,先前的方法使用量化布林公式求解器來檢驗候選的校正點集合是否足以修復錯誤,但有兩個缺點:首先,往往候選校正點不足,從而導致在重試中的運行時間過長。 其次,候選集合中可能有些多餘的校正點,導致產生的補丁將遠離最佳解。 為此,我們提出了一種高效的全稱量詞消除的方法,從而可以將校正點識別問題轉為合取範式,並透過SAT求解器解決。 我們進一步利用產生的SAT證明來提取一組最小的校正點集合,以修正工程改變命令的錯誤。
透過將證明核心作為阻斷子句加入SAT求解器中,我們能夠列舉候選集合的所有可能解。
實驗結果表明,在效率和性能方面,與傳統策略和商業工具相比,本方法取得了改進。
zh_TW
dc.description.abstractThis work introduces a novel method to address limitations observed in previous Engineering Change Order (ECO) approaches. Given a set of rectification candidates, previous methods use Quantified Boolean Formula (QBF) solver to verify whether the candidates are adequate to fix the bug. The deficiencies of the previous approaches are twofold: First, it is often that the sets of candidates are inadequate, thus leading to excessive runtime in retrying. Second. the identified rectification points may contain redundancies and therefore the resultant patch will be far from optimality. In response, the proposed method introduces an efficient elimination of universal quantifiers, and thus the rectification point identification problem can be modelled as Conjunctive Normal Form (CNF) and solved by an SAT solver. We further utilize the resulting SAT proof to extract a minimal set of rectification points to fix the ECO bug.
By adding proof cores as blocking clauses to the SAT solver, we are able to enumerate all the possible solutions of the candidate set.
Experimental results demonstrate an improvement over conventional strategies and a commercial tool in terms of efficiency and performance.
en
dc.description.provenanceSubmitted by admin ntu (admin@lib.ntu.edu.tw) on 2024-03-07T16:16:28Z
No. of bitstreams: 0
en
dc.description.provenanceMade available in DSpace on 2024-03-07T16:16:28Z (GMT). No. of bitstreams: 0en
dc.description.tableofcontentsAcknowledgements i
中文摘要 iii
Abstract iv
Contents vi
List of Figures ix
List of Tables x
Denotation xi
Chapter 1 Introduction 1
1.1 Problem Statement and Motivation . . . . . . . . . . . . . . . . . . 1
1.2 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Chapter 2 Background Knowledge 4
2.1 De Morgan’s Laws in First-Order Logic . . . . . . . . . . . . . . . . 4
2.2 Functional Reduced And-Inverter Graph . . . . . . . . . . . . . . . . 5
2.3 Unate Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4 Universal Quantifier Elimination of Direct Fanin Variable in Conjunctive Normal Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.5 SAT Problem and MiniSat . . . . . . . . . . . . . . . . . . . . . . . 7
2.6 Error Diagnosis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.7 Patch Function Computation . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 3 Overview of the Rectification Point Qualification Algorithm 9
3.1 Formulation of the Rectification Point Qualification . . . . . . . . . 9
3.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.3 Three Key Algorithmic Steps . . . . . . . . . . . . . . . . . . . . . 11
3.3.1 Generate Rectification Point Candidates . . . . . . . . . . . . . . . 11
3.3.2 Quantifier Elimination and Auxiliary Variable Introduction . . . . . 12
3.3.3 UNSAT Core Extraction . . . . . . . . . . . . . . . . . . . . . . . 13
3.4 Assumption for the Problem Input . . . . . . . . . . . . . . . . . . . 13
Chapter 4 Algorithm for Picking Rectification Candidates 15
4.1 Preprocessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Suspicious Score Calculation . . . . . . . . . . . . . . . . . . . . . . 16
4.3 Candidate Selection . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Chapter 5 Algorithm for Constructing Quantifier-Eliminated CNF with Auxiliary Variables 20
5.1 Universal Quantifier Elimination on Unate Gate in AIG Circuit . . . 21
5.2 Introduce Auxiliary Variable st . . . . . . . . . . . . . . . . . . . . 23
5.3 Fanout Consistency of a Gate . . . . . . . . . . . . . . . . . . . . . 24
Chapter 6 Robustness and Accuracy in Quantifier Elimination Procedure 28
6.1 Quantifier Elimination on F rather than Miter M . . . . . . . . . . . 28
6.2 The Number of Direct Fanouts of t . . . . . . . . . . . . . . . . . . 30
6.3 Handling Multiple POs . . . . . . . . . . . . . . . . . . . . . . . . . 31
Chapter 7 Algorithm for UNSAT Core Extraction 33
7.1 Decision of Universal Quantifier Activation . . . . . . . . . . . . . . 34
7.2 SAT Proof and Conflict Analysis . . . . . . . . . . . . . . . . . . . . 34
7.3 Iterative Search for Diverse Solution Sets . . . . . . . . . . . . . . . 35
Chapter 8 Experimental Results and Analysis 37
8.1 Experimental Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.1.1 Test Cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.1.2 Patch Synthesis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.1.3 Patch Cost Function . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.1.4 Comparative Evaluation . . . . . . . . . . . . . . . . . . . . . . . . 38
8.2 Experimental Results . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.2.1 Key Metrics Explanation . . . . . . . . . . . . . . . . . . . . . . . 39
8.2.2 Result Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Chapter 9 Conclusion and Future Directions 42
9.1 Strengths of Our Work . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.2 Limitations and Future Directions . . . . . . . . . . . . . . . . . . . 43
References 45
-
dc.language.isoen-
dc.subject工程改變命令zh_TW
dc.subject可滿足性問題zh_TW
dc.subject校正點zh_TW
dc.subjectECOen
dc.subjectSATen
dc.subjectRectification Pointen
dc.title利用可滿足性問題證明核心生成的合格校正點進行工程改變命令補丁優化zh_TW
dc.titleECO Patch Optimization by Rectification Point Qualification with SAT Proofsen
dc.typeThesis-
dc.date.schoolyear112-1-
dc.description.degree碩士-
dc.contributor.oralexamcommittee江介宏;黃紹倫zh_TW
dc.contributor.oralexamcommitteeJie-Hong Roland Jiang;Shao-Lun Huangen
dc.subject.keyword工程改變命令,校正點,可滿足性問題,zh_TW
dc.subject.keywordECO,Rectification Point,SAT,en
dc.relation.page47-
dc.identifier.doi10.6342/NTU202400668-
dc.rights.note同意授權(全球公開)-
dc.date.accepted2024-02-18-
dc.contributor.author-college電機資訊學院-
dc.contributor.author-dept電子工程學研究所-
dc.date.embargo-lift2029-02-14-
顯示於系所單位:電子工程學研究所

文件中的檔案:
檔案 大小格式 
ntu-112-1.pdf
  此日期後於網路公開 2029-02-14
5.42 MBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved