洪士灝臺灣大學:資訊網路與多媒體研究所莊豐旭Chuang, Feng-HsuFeng-HsuChuang2010-05-052018-07-052010-05-052018-07-052008U0001-1908200817042000http://ntur.lib.ntu.edu.tw//handle/246246/180598近年來因為可攜式的電子產品需求量大增,大眾對於電池的續航力的要求也越來越高,因而功率消耗的問題成為受人曯目的重要議題。使用Verilog HDL來開發硬體時,可以從中得到功率消耗的資訊,但是卻相當的耗費時間。考慮到系統整體的運作,包含硬體與軟體部分的耗能評估及管理,希望能有更快速的機制。若能從暫存器傳輸層級提升至較高層級的硬體描述語言SystemC,並且將耗能的資訊加入於SystemC之中,便可以有效率地達到耗能評估及管理的目的。本文中,我們選用了一個開放原始碼,是由Sun UltralSPARC T1所延伸出的Simply RISC處理器,並提出基於Verilog HDL轉換成SystemC的功率消耗模組。隨後在以模擬器執行軟體的過程中,便可以提供此SystemC所模擬之硬體模組的功率耗費情形,而不必使用原有的Verilog HDL模組,因此效能可以達到15倍之多。由實驗的結果得知此功耗模組相較於以Verilog HDL原始碼經由電子設計自動化工具所量測的誤差值在3%以下,因此使用較高層級的硬體描述語言來進行耗能的評估也能有很好的準確性。With the growing demand of the portable devices in recent years, battery life and power consumption have become important in the design of embedded systems. While the Verilog HDL is popular for hardware engineers to design chips, it is very time-consuming to using Verilog HDL for power analysis. One would prefer to use a higher level system design language, e.g. SystemC, to evaluate and model the power consumption of a system in an early design stage.n this thesis, we choose to study Simply RISC, an open source chip design, based on Sun UltraSPARC T1, and proposed a power estimation scheme based on Verilog-to-SystemC conversion. Given a program, the scheme reports the information of power consumption for the converted SystemC module, with up to the 15X speedup over Verilog HDL-based simulation, while the estimated power is within 1.53% of the result from a Verilog HDL simulation tool.誌謝 i文摘要 iibstract iii錄 iv目錄 vi目錄 viii1章 序論 12章 相關研究 3.1 相關背景知識 3.1.1 Sun OpenSPARC T1與Simply RISC的簡介 3.1.2 SystemC 5.2 功率消耗分析的相關研究 63章 SystemC模組建置 8.1 相關轉換工具 8.1.1 V2SC 8.1.2 Verilator 8.2 Verilog轉換SystemC工具 9.2.1 Verilog轉換MMF 9.2.2 MMF轉換SystemC 13.2.3 轉換結果 15.3 驗證以SystemC為基礎的EXU單元 16.3.1 驗證機制 16.3.2 Verilog HDL/SystemC協同模擬 18.3.3 驗證結果 194章 功率模組 20.1 分析功率所使用之電子設計自動化工具 20.1.1 Synopsys Design Compiler 20.1.2 Synopsys PrimePower 21.2 S1 Core中EXU的內部單元 22.3 功率模組之建置 23.4 功耗訓練 25.5 導入功率模組於S1 Core 26.6 功率模組驗證 285章 實驗結果 30.1 測試程式 30.2 功率消耗比較 31.2.1 訓練集合內的測試程式 31.2.2 訓練集合之外的測試程式 35.3 效能比較 406章 結論和未來展望 42考文獻 43application/pdf1589813 bytesapplication/pdfen-USVerilog HDLSystemC轉換功率預測conversionpower estimation以Verilog轉換SystemC完成嵌入式處理器之功率預測Power Estimation for Embedded Processors based on Verilog-to-SystemC Conversionthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/180598/1/ntu-97-R95944028-1.pdf