1 / 26

Synthesizing TLM-2.0 Communication Interfaces

Synthesizing TLM-2.0 Communication Interfaces. Nadereh Hatami Paolo Prinetto Politecnico di Torino Dip. di Automatica e Informatica Torino, Italy. Goals. Propose a method to facilitate the synthesis of TLM 2.0 interfaces focusing on Direct Memory Interface (DMI)

ura
Télécharger la présentation

Synthesizing TLM-2.0 Communication Interfaces

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Synthesizing TLM-2.0 Communication Interfaces Nadereh Hatami Paolo Prinetto Politecnicodi Torino Dip. di AutomaticaeInformatica Torino, Italy

  2. Goals • Propose a method to facilitate the synthesis of TLM 2.0 interfaces focusing on Direct Memory Interface (DMI) • Propose an algorithm to automate the synthesis process. 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  3. Outline • Introduction • An overview on TLM 2.0 • TLM-2.0 Interface Synthesis approach • Case study • Conclusion 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  4. Outline • Introduction • An overview on TLM 2.0 • TLM-2.0 Interface Synthesis approach • Case study • Conclusion 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  5. Basic Levels of Abstraction Languages: Communication: Algorithmic Models C/C++, Matlab Shared Variables Transaction-Level Models Method Calls to Channels SystemC, SpecC, Metropolis Register Transfer Level Models Wires and Registers Verilog, VHDL Gate Level Models Layout

  6. System Architecture Model System Requirements Requirements Document System Architecture Model Development System Architecture Model 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  7. Traditional Design Flow System Architecture Model Hardware Development HW Refinement and Test Software Design can not be started until the RT model is obtained RTL Software Design and Development SW Refinement and Test

  8. TLM Based Design Flow System Architecture Model Transaction Level Model Development TLM Software Design and Development Hardware Validation and Verification Environment Development HW Refinement RTL

  9. Why using TLM? • Simulates much faster than RTL • Represents key architectural components of hardware platform • Integrate hardware and software models • Early platform for software development • Software execution on virtual model of hardware platform • Early system exploration and verification • Available before RTL 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  10. Outline • Introduction • An overview on TLM 2.0 • TLM-2.0 Interface Synthesis approach • Case study • Experimental results • Conclusion 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  11. TLM 2.0 Components 1. Core interfaces and sockets * M. Montoreano. Transaction Level Modeling using OSCI TLM 2.0. Technical report, Open SystemC Initiative, 31 May 2007. Initiator Target 2. Generic payload 3. Base protocol Command Address Data Byte enables Response status BEGIN_REQ END_REQ BEGIN_RESP Extensions END_RESP 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  12. Direct Memory Interface Direct Memory Interface: • Gives an initiator a direct pointer to memory in a target • By-passes the sockets and transport calls • Read or write access by default • Extensions may permit other kinds of access • Target responsible for invalidating pointer 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  13. Outline • Introduction • An overview on TLM 2.0 • TLM-2.0 Interface Synthesis approach • Case study • Conclusion 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  14. TLM 2.0 Synthesis Untimed Loosely-Timed Approximately-Timed RTL 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  15. TLM 2.0 Synthesis Untimed Loosely-Timed Approximately-Timed Intermediate Layer RTL 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  16. TLM 2.0 Direct Memory Interface Synthesis DMI Access DMI Request Initiator Inter connect DMI Request Target DMI Pointer DMI Pointer

  17. TLM 2.0 Direct Memory Interface Synthesis DMI Access DMI Request Initiator Inter connect DMI Request Target DMI Pointer DMI Pointer Arbiter Sc_export DMA Channel Target Inter connect Initiator 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  18. TLM 2.0 DMI Synthesis Algorithm • With respect to socket synthesis algorithm, synthesize the socket to a port and an export • Put the DMA custom channel between the initiator and the interconnect connected to it. • If the original socket is target, change the port’s interface to tlm_nonblocking_get_if 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  19. TLM 2.0 DMI Synthesis Algorithm(cont’d) • Change the port and export interfaces with respect to their type: tlm_put_if for initiator sockets and tlm_get_if for target sockets • Put an arbiter between the target and the interconnect connected to it. The other port of arbiter will be connected to DMA channel. 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  20. Outline • Introduction • An overview on TLM 2.0 • TLM-2.0 Interface Synthesis approach • Case study • Conclusion 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  21. TLM DMI Case Study

  22. Simulation Time Comparison 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  23. Outline • Introduction • An overview on TLM 2.0 • TLM-2.0 Interface Synthesis approach • Case study • Conclusion 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  24. Conclusion • Defining an intermediate layer containing necessary details for synthesis. • TLM-1.0 components were chosen to describe the intermediate layer. • Algorithms are proposed to map the interfaces in TLM-2.0 standard to TLM-1.0 channels • Experiments verify the correctness of the proposed algorithms 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  25. Conclusion (cont’d) • The proposed method: • simplifies the transition from transaction level to lower level • speeds up the whole process. 7th IEEE EAST-WEST DESIGN & TEST SYMPOSIUM

  26. Cпаcибo!!! Малые Автюхи, Калинковичский район, Республики Беларусь

More Related