請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/96321
完整後設資料紀錄
DC 欄位 | 值 | 語言 |
---|---|---|
dc.contributor.advisor | 李致毅 | zh_TW |
dc.contributor.advisor | Jri Lee | en |
dc.contributor.author | 王曦 | zh_TW |
dc.contributor.author | Hsi Wang | en |
dc.date.accessioned | 2024-12-24T16:20:35Z | - |
dc.date.available | 2024-12-25 | - |
dc.date.copyright | 2024-12-24 | - |
dc.date.issued | 2024 | - |
dc.date.submitted | 2024-10-29 | - |
dc.identifier.citation | G. T. George S. Athanasiou, George-Paris Makkas. High throughput pipelined fpga implementation of the new sha-3 cryptographic hash algorithm. pages 538–541, 2014.
I. G. Muzaffar Rao, Thomas Newe. Efficient High Speed Implementation of Secure Hash Algorithm-3 on Virtex-5 FPGA. 2014. NIST. SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions, August 2015. M. Sundal and R. Chaves. Efficient fpga implementation of the sha-3 hash function. 2017. Xilinx. Virtex UltraScale+ FPGA Data Sheet: DC and AC Switching Characteristics, v1.0 edition, April 2016. Xilinx. MMCM and PLL Dynamic Reconfiguration, v1.8 edition, August 2019. Xilinx. UltraScale Architecture and Product Data Sheet: Overview, v4.1.1 edition, February 2022. Xilinx. UltraScale Architecture Clocking Resources, v1.10.2 edition, February 2023. Xilinx. Vivado Design Suite User Guide - Implementation, v2023.2 edition, February 2023. Xilinx. Vivado Design Suite User Guide - Synthesis, v2023.2 edition, February 2023. Xilinx. UltraScale Architecture Libraries Guide, v2024.1 edition, May 2024. Xilinx. Vivado Design Suite 7 Series FPGA and Zynq 7000 SoC Libraries Guide, v2024.1 edition, May 2024. | - |
dc.identifier.uri | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/96321 | - |
dc.description.abstract | 本論文探討使用 SHA3D 作為挖礦演算法的虛擬貨幣 KCN 與 RedBlock,並在 FPGA 上進行硬體實作與加速優化。SHA3D 幣種是比特幣 (Bitcoin) 使用 POW (Proof of Work) 機制的延伸,但在處理交易打包、區塊生成和挖礦過程中,其哈希函數 (hash function) 使用的是 SHA3D,而非比特幣的 SHA-256。本研究專注於貨幣挖礦部分的硬體實作,當軟體獲取礦池區塊頭資料後,便將這些數據交由硬體進行重複哈希運算,直到找到符合難度條件的答案為止。
SHA3D 是一種計算密集型 (compute-hard) 算法,會大量使用 FPGA 板上的邏輯運算資源與暫存器。由於硬體資源有限,此類算法設計的目的是防止 ASIC 及 FPGA 等客製化硬體壟斷挖礦市場。過往的比較通常使用與本論文所使用的 TH53 FPGA 售價相近的 RTX 3070 GPU 作為基準進行 hash rate 的性能比較。然而,由於市面上已存在一個 TH53 FPGA 3.7Gh/s 的 bitstream,本論文會以此為基準進行性能優化。 TH53 FPGA 搭載 Xilinx Virtex Ultrascale+ VU33P 晶片,設計流程採用 Synopsys VCS 與 nWave 進行 RTL 撰寫,後端流程則使用 Xilinx Vivado 完成synthesis、place & route 以及 bitstream 的生成與燒錄,並在最終工作電壓調整使用 TUL (撼訊) 提供的電壓整 bitstream 進行微調,最終實現4.0Gh/s的hash rate,較現有市面上版本提升7.5%。論文詳細描述了架構修改與優化的過程,並在結尾對不同版本的數據進行了全面比較。 | zh_TW |
dc.description.abstract | This thesis explores the hardware implementation and acceleration optimization of the cryptocurrencies KCN and RedBlock, which use the SHA3D algorithm for mining, on FPGA. SHA3D is an extension of the Proof of Work (PoW) mechanism used by Bitcoin, but instead of using Bitcoin's SHA-256 hash function during transaction packaging, block generation, and mining, SHA3D coins use the SHA3D hash function. This research focuses on the hardware implementation of cryptocurrency mining, where the block header data obtained from the mining pool by software is passed to the hardware for repetitive hashing operations until a solution that meets the difficulty target is found.
SHA3D is a compute-hard algorithm that extensively utilizes the logic resources and registers on the FPGA board. Since hardware resources are limited, such algorithms are designed to prevent the monopolization of mining by custom hardware such as ASICs and FPGAs. Previous comparisons typically used an RTX 3070 GPU, priced similarly to the TH53 FPGA used in this thesis, as a performance benchmark for hash rate. However, since there is already a 3.7 Gh/s bitstream available for the TH53 FPGA, this thesis uses that as a baseline for performance optimization. The TH53 FPGA is equipped with a Xilinx Virtex Ultrascale+ VU33P chip. The design process involves using Synopsys VCS and nWave for RTL development, while the back-end process is handled using Xilinx Vivado for synthesis, place & route, and bitstream generation and programming. For final voltage adjustments, the voltage-regulated bitstream provided by TUL is used, ultimately achieving a hash rate of 4.0 Gh/s, which is a 7.5% improvement over the current available version. The thesis details the architecture modifications and optimizations made and concludes with a comprehensive comparison of different versions of the design data. | en |
dc.description.provenance | Submitted by admin ntu (admin@lib.ntu.edu.tw) on 2024-12-24T16:20:35Z No. of bitstreams: 0 | en |
dc.description.provenance | Made available in DSpace on 2024-12-24T16:20:35Z (GMT). No. of bitstreams: 0 | en |
dc.description.tableofcontents | Verification Letter from the Oral Examination Committee i
摘要ii Abstract iv Contents vi List of Figures ix List of Tables xi Chapter 1 Introduction 1 1.1 Motivation 1 1.2 Organization of the Thesis 3 Chapter 2 Preliminaries 4 2.1 Introduction to mining process and KCN/RedBlock 4 2.1.1 Property of hash function 4 2.1.2 Mining process overview 5 2.1.3 Architecture of SHA3 algorithm 6 2.2 Problem Statement 11 2.2.1 Introduction to Xilinx TH53 FPGA 11 2.2.2 Introduction to naive SHA3 hardware design 12 2.2.2.1 Hardware Architecture of SHA3 12 2.2.2.2 Bottleneck of naive design 13 2.2.2.3 Definition of hash rate 14 Chapter 3 Circuit Improvement of SHA3D Algorithm 15 3.1 Design Methodologies on FPGA 15 3.2 Chip_top System Overview 17 3.3 Design Consideration 19 3.3.1 LUT utilization 19 3.3.2 Routing congestion 20 3.4 Building Block of Engine 20 3.4.1 Two-staged pipeline round function 21 3.4.2 Theta function critical path reduction 23 3.5 Alternative Round Function Implementation Method 24 3.5.1 Introduction to LUT6_2 25 3.5.2 Round Function in LUT primitive form 26 3.5.3 Building block of LUT processing core 27 3.5.4 LUT processing core combinations 30 3.6 Architecture of eng_top 32 3.6.1 Building block of original eng_top 32 3.6.2 New eng_top design 34 3.7 Optimizations to Back-end Design Flow 36 3.7.1 Optimizations to synthesis strategies 37 3.7.2 Optimizations to Pblock and implementation strategies 38 3.8 FPGA Settings for High Frequency Operation 41 3.8.1 FPGA operating specification 41 3.8.2 DRP(Dynamic Reconfiguration Programming) for MMCM 42 3.8.3 Voltage fine-tune 43 Chapter 4 Measurement Results 45 4.1 LUT Primitive 45 4.2 Synthesis 46 4.3 Implementation 47 4.4 Mining Result 48 Chapter 5 Conclusion 49 5.1 Review 49 5.2 Future Work 50 References 50 Appendix A — 53 A.1 Synthesis Strategy List 53 A.2 Implementation Strategy List 53 | - |
dc.language.iso | en | - |
dc.title | SHA3D 演算法基於FPGA 上硬體架構實作與分析 | zh_TW |
dc.title | Hardware Implementation and Analysis of SHA3D Algorithm Based on FPGA | en |
dc.type | Thesis | - |
dc.date.schoolyear | 113-1 | - |
dc.description.degree | 碩士 | - |
dc.contributor.oralexamcommittee | 劉宗德;廖世偉 | zh_TW |
dc.contributor.oralexamcommittee | Tsung-Te Liu;Shih-wei Liao | en |
dc.subject.keyword | 區塊鏈,Kylacoin,RedBlock,FPGA(現場可程式化邏輯閘陣列),TH53,SHA3D, | zh_TW |
dc.subject.keyword | Blockchain,Kylacoin,RedBlock,FPGA(Field Programmable Gate Array),TH53,SHA3D, | en |
dc.relation.page | 53 | - |
dc.identifier.doi | 10.6342/NTU202404523 | - |
dc.rights.note | 未授權 | - |
dc.date.accepted | 2024-10-29 | - |
dc.contributor.author-college | 電機資訊學院 | - |
dc.contributor.author-dept | 電子工程學研究所 | - |
顯示於系所單位: | 電子工程學研究所 |
文件中的檔案:
檔案 | 大小 | 格式 | |
---|---|---|---|
ntu-113-1.pdf 目前未授權公開取用 | 1.25 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。