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/57768
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor鄭振牟(Chen-Mou Chen)
dc.contributor.authorWei-Han Chenen
dc.contributor.author陳韋翰zh_TW
dc.date.accessioned2021-06-16T07:02:31Z-
dc.date.available2014-07-29
dc.date.copyright2014-07-29
dc.date.issued2014
dc.date.submitted2014-07-14
dc.identifier.citation[Bod07]
Marco Bodrato. Towards optimal toom-cook multiplication for univari-
ate and multivariate polynomials in characteristic 2 and 0. In Arith-
metic of Finite Fields, pages 116–133. Springer, 2007.
[Can89]
David G Cantor. On arithmetical algorithms over finite fields. Journal
of Combinatorial Theory, Series A, 50(2):285–300, 1989.
[CGPR+ 09] Maciej Ciesielski, Daniel Gomez-Prado, Qian Ren, Jérémie Guillot, and
Emmanuel Boutillon. Optimization of data-flow computations using
canonical ted representation. Computer-Aided Design of Integrated Cir-
cuits and Systems, IEEE Transactions on, 28(9):1321–1333, 2009.
[CKA06]
Maciej Ciesielski, Priyank Kalla, and Serkan Askar. Taylor expansion
diagrams: A canonical representation for verification of data flow de-
signs. Computers, IEEE Transactions on, 55(9):1188–1201, 2006.
[Com]
Compiler optimations.
http://www.compileroptimizations.com/
index.html.
[Ger99]
Sabih H Gerez. Algorithms for VLSI design automation, volume 8.
Wiley Chichester, England, 1999.
[KO63]
Anatolii Karatsuba and Yu Ofman. Multiplication of multidigit num-
bers on automata. In Soviet physics doklady, volume 7, page 595, 1963.
25
[KZFH12]
Miyuki Koshimura, Tong Zhang, Hiroshi Fujita, and Ryuzo Hasegawa.
Qmaxsat: A partial max-sat solver system description. Journal on
Satisfiability, Boolean Modeling and Computation, 8:95–100, 2012.
[MAX10] Max-sat 2010. http://maxsat.ia.udl.cat:81/10, 2010.
[MAX11] Max-sat 2011. http://maxsat.ia.udl.cat:81/11, 2011.
[MAX12] Max-sat 2012. http://maxsat.ia.udl.cat:81/12, 2012.
[PIC] Figure of xor gate. https://asicdigitaldesign.files.wordpress.
com/2007/05/high-z_solution_02.png.
[PSD+ 99]
Robert Pasko, Patrick Schaumont, Veerle Derudder, Serge Vernalde,
and Daniela Durackova. A new algorithm for elimination of common
subexpressions. Computer-Aided Design of Integrated Circuits and Sys-
tems, IEEE Transactions on, 18(1):58–68, 1999.
[Soo] Mate Soos. Sat-solver “cryptominisat”, version 2.9. 0 (january 20, 2011).
[SS71] Doz Dr A Schönhage and Volker Strassen. Schnelle multiplikation
grosser zahlen. Computing, 7(3-4):281–292, 1971.
[Wik14a]
Wikipedia. Boolean satisfiability problem — wikipedia, the free ency-
clopedia, 2014. [Online; accessed 1-June-2014].
[Wik14b]
Wikipedia. Conjunctive normal form — wikipedia, the free encyclope-
dia, 2014. [Online; accessed 1-June-2014].
[Wik14c]
Wikipedia. Convolution theorem — wikipedia, the free encyclopedia,
2014. [Online; accessed 5-June-2014].
[Wik14d]
Wikipedia. Maximum satisfiability problem — wikipedia, the free en-
cyclopedia, 2014. [Online; accessed 1-June-2014].
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/57768-
dc.description.abstract在密碼學領域的演算法實作中,程式的效能是實作時的重要考量,為了提高效
能,設計者無法使用現有的高階程式語言實作所有的演算法,而需要在關鍵運算
上使用低階語言(如組合語言)來描述,使程式整體的效能達到目標。
我們的目標是將二元體中的表達式自動地轉換為低階語言程式碼,而且此程式
碼的效能比直接簡單的轉換方式來的好。
在此研究中,我們將二元體表達式的簡化問題轉換為 Max-SAT 問題,並使用
現有的Max-SAT 求解器求解;我們的實驗結果顯示,我們可以在合理的時間內把
表達式簡化為原本的 50% ;而根據所給予的關係式數量,我們可以在運算時間和
程式的優化程度之間作取捨。
zh_TW
dc.description.abstractEfficiency is an important consideration in cryptosystem algorithms implementation. Therefore, a designer has to implement critical part of algorithms in low level languages such as assembly language.
Our goal is to automate this human work. The designer can describe critical part of algorithms in high level languages and we convert that into a simplified representation in low level languages.
In this work we convert the problem of simplifying binary field expressions into instances of Max-SAT problems, and solve them by an existing Max-SAT solver. It turns out that we can achieve up to 50% improvements. And there is a trade-off between time and quality depend on how many relations are allowed to use in simplification.
en
dc.description.provenanceMade available in DSpace on 2021-06-16T07:02:31Z (GMT). No. of bitstreams: 1
ntu-103-R01943096-1.pdf: 926506 bytes, checksum: 5f0bd158c75651436c31f275f7d49795 (MD5)
Previous issue date: 2014
en
dc.description.tableofcontents1 Introduction 1
1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Our Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Roadmap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Finite Field Multiplication 4
2.1 Preliminary . . . . . . . . . . . . . . . . . . . 4
2.2 Karatsuba Algorithm . . . . . . . . . . . . . . 5
2.3 Multiplication Using Fast Fourier Transform . 6
2.4 Other Ways . . . . . . . . . . . . . . . . . . 6
3 Max-SAT 7
3.1 Problem Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Max-SAT Solver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Related Works 9
4.1 High-Level Synthesis . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4.2 Common Subexpression Elimination . . . . . . . . . . . . . . . . . . 9
5 Our Work 13
5.1 Problem Specification . . . . . . . . . . . . . . . . . . . . 13
5.2 Reducing to Max-SAT . . . . . . . . . . . . . . . . . . . . . 14
5.2.1 An Example . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.3 Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.3.1 Expanding XOR Clauses . . . . . . . . . . . . . . . . . . 17
5.3.2 Total Number of Clauses . . . . . . . . . . . . . . . . . 18
5.4 Working with Compiler . . . . . . . . . . . . . . . . . . . . 19
6 Results 20
6.1 Result Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7 Conclusion 24
7.1 Future Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Bibliography 25
dc.language.isoen
dc.subject二元體zh_TW
dc.subject表達式簡化zh_TW
dc.subjectMax-SATzh_TW
dc.subject最佳化zh_TW
dc.subject編譯器zh_TW
dc.subjectexpression simplificationen
dc.subjectMax-SATen
dc.subjectoptimizationen
dc.subjectcompileren
dc.title基於 Max-SAT 求解器的二元體表達式簡化工具zh_TW
dc.titleA Simplification Tool for Expressions over Binary Fields Using Max-SAT Solveren
dc.typeThesis
dc.date.schoolyear102-2
dc.description.degree碩士
dc.contributor.oralexamcommittee楊柏因(Bo-Yin Yang),陳君明(Jiun-Ming Chen)
dc.subject.keyword二元體,表達式簡化,Max-SAT,最佳化,編譯器,zh_TW
dc.subject.keywordexpression simplification,Max-SAT,optimization,compiler,en
dc.relation.page26
dc.rights.note有償授權
dc.date.accepted2014-07-15
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept電子工程學研究所zh_TW
顯示於系所單位:電子工程學研究所

文件中的檔案:
檔案 大小格式 
ntu-103-1.pdf
  未授權公開取用
904.79 kBAdobe 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