透過您的圖書館登入
IP:18.222.148.124
  • 學位論文

基於協定抽象化技術來進行暫存器至事件轉移階層之建模方法

RTL-to-TL Model Generation Based on Protocol Abstraction Techniques

指導教授 : 黃鐘揚

摘要


模擬驗證方法是數位電路設計中的基本驗證方法。從簡單的控制器到複雜的系統晶片,設計日趨複雜。複雜度的提升使得傳統的暫存器轉移階層模擬益形緩慢,不能滿足以多個模組所構成之系統晶片在系統層級模擬的速度要求。 這個研究致力於提升模擬速度的方法,提出一個從既有暫存器轉移階層設計產生事件轉移階層的SystemC模型的建模方法,SystemC是電子系統設計的開放業界標準。 從暫存器轉移階層到事件轉移階層,時間的顆粒度是不同的,兩個模型的等價性必須被重新定義以跨越不同的抽象階層。要達成抽象化但是同時保留相當程度的等價性,我們定義了協定規格語言,讓使用者去描述暫存器轉移階層中的協定信號交換和事件邊界。從暫存器轉移階層設計和協定規格,我們使用正規方法與編譯器轉換技術去抽取與簡化正規模型 - 擴充式有限狀態機。在最後的程式碼產生階段,最佳化與產生對應的事件轉移階層SystemC模型。 實驗結果顯示,模擬速度可以達到數倍的加速,同時也免於手動去產生正確的無時序性SystemC模型所需的人力資源。

並列摘要


Simulation-based verification is a fundamental verification methodology for validating digital designs. The ever-increasing complexity of system arises from design growing from simple controllers to complex System-on-Chips (SoCs). The complexity leads to the slow simulation-speed for system-level Register Transfer Level (RTL) simulation that cannot catch up with the growing complexity of integrated RTL blocks on a SOC. This work proposes the techniques to increase the simulation speed by transforming the designs from RTL to transaction-level (TL) models in SystemC, a standard for modeling electrical systems. From RTL to TL, the timing granularity is different and the notion of equivalence should be redefined to cross different abstraction levels. To achieve the abstraction and maintain the equivalence, we defined the Protocol Specification Language (PSL) for user to formulate the handshaking signals and cared transaction boundaries in RTL. From the RTL description and PSL specification, the formal model – Extended Finite State Machine (EFSM) can be extracted and simplified based on formal and compiler transformation techniques. In the last code generation phase, we perform several optimizations and generate corresponding TL SystemC simulation models. The experimental results show that the simulation speed can be increased several times and the manual effort to craft the correct untimed SystemC model can be alleviated.

參考文獻


[1] IEEE Standard for Standard SystemC Language Reference Manual, IEEE Standard 1666, 2011.
[9] Cheng, Kwang-Ting, and A. S. Krishnakumar, "Automatic generation of functional vectors using the extended finite state machine model," In ACM Transactions on Design Automation of Electronic Systems (TODAES 1996) 1.1, 1996, pp. 57-79.
[11] Nicola Bombieri, Nicola Deganello, and Franco Fummi, “Integrating RTL IPs into TLM designs through automatic transactor generation,” In Proceedings of the conference on Design, automation and test in Europe. ACM, 2008 (DATE 2008), pp. 15-20.
[12] Chen Kang Lo and Ren-Song Tsay, “Automatic generation of Cycle Accurate and Cycle Count Accurate transaction level bus models from a formal model,” In Design Automation Conference Asia and South Pacific, 2009 (ASP-DAC 2009). IEEE, pp. 558-563.
[13] Vijay D'Silva, S. Ramesh, and Arcot Sowmya, “Synchronous protocol automata: a framework for modelling and verification of SoC communication architectures,” In IEE Proceedings-Computers and Digital Techniques 152.1, 2005, pp. 20-27.

延伸閱讀