greenbus extensions for system on chip exploration
Download
Skip this Video
Download Presentation
GreenBus Extensions for System-On-Chip Exploration

Loading in 2 Seconds...

play fullscreen
1 / 44

GreenBus Extensions for System-On-Chip Exploration - PowerPoint PPT Presentation


  • 112 Views
  • Uploaded on

GreenBus Extensions for System-On-Chip Exploration. Outline. DUST analysis framework Design analysis services JAVA viewer SQL database support GreenBench GreenSocs Configuration framework Video processor example Cell phone example. Outline. DUST analysis framework

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'GreenBus Extensions for System-On-Chip Exploration' - ivan-dudley


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
outline
Outline
  • DUST analysis framework
    • Design analysis services
    • JAVA viewer
    • SQL database support
  • GreenBench
    • GreenSocs Configuration framework
    • Video processor example
    • Cell phone example
outline1
Outline
  • DUST analysis framework
    • Design analysis services
    • JAVA viewer
    • SQL database support
  • GreenBench
    • GreenSocs Configuration framework
    • Video processor example
    • Cell phone example
dust overview
DUST Overview

SystemCsimulation

Visualization, Monitoring, Debugging

Analysis backend,SQL database

dust overview1
DUST Overview

SimulationControl

GreenBus

MonitorServices

Service Manager

InjectionServices

Design-Under-Test

StructureExtraction

SystemC Kernel

SystemC

Java

Network Socket

Views

SQL

Database

Structure View

Database

Transaction Analyzer

DesignStructure

Transaction Introspection

Transactions

Bus Analyzer

dust overview2
DUST Overview

SimulationControl

GreenBus

MonitorServices

Service Manager

InjectionServices

DUST Backend

Design-Under-Test

StructureExtraction

SystemC Kernel

SystemC

Java

Network Socket

Views

DUST Frontend

SQL

Database

Structure View

Database

Transaction Analyzer

DesignStructure

Transaction Introspection

Transactions

Bus Analyzer

dust backend
DUST Backend
  • Service Manager
    • TCP/IP server, runs concurrently to SC kernel (POSIX thread)
    • XML streaming (data and control)
    • Plug-in interface for services
  • Services
    • Design Structure Service
      • Module hierarchy, Processes, Ports, Interfaces, Channels
      • "GreenBus-aware"
    • Transaction Monitor Service
      • Record transactions during running simulation
      • Configurable introspection depth
    • Port Control Service
      • Configure transaction recording for each port individually
      • Call control methods in a port: Fault injection
      • Pause / resume simulation
service manager
Service Manager

DUST Backend

DataBase

Server

xml communication
XML Communication
  • Handshake protocol

PortControlService

1

dust frontend
DUST Frontend
  • JAVA-based integrated analysis environment
dust frontend1
DUST Frontend
  • Design structure visualization
dust frontend2
DUST Frontend
  • Design structure visualization
dust frontend3
DUST Frontend

ƒ



  • Design structure visualization
dust frontend4
DUST Frontend
  • Design structure visualization
dust frontend5
DUST Frontend
  • Transaction Monitoring
dust frontend6
DUST Frontend
  • Transaction Monitoring
dust frontend7
DUST Frontend
  • Transaction Monitoring
dust frontend8
DUST Frontend
  • Transaction Monitoring
structure reflection
Structure reflection
  • DUST macros add context-sensitive information to SystemC objects

class GenericRouter : public sc_module,

public GenericRouter_if, ..

{

GenericRouter(sc_module_name name_)

: sc_module(name_), target_port("tport"),

init_port("iport"), protocol_port("protocol_port")

{

GS_TRACE(name(), "I am a generic router.");

target_port.bind_b_if(*this);

SC_METHOD( MasterAccessMonitor );

sensitive << target_port.default_event();

..

}

..

}

DUST_BUS("GenericRouter");

19

structure reflection1
Structure reflection
  • DUST macros used in GreenBus
  • DUST_MASTER_PORT(name, protocol)
  • DUST_SLAVE_PORT(name, protocol)
  • DUST_PORT(name, protocol)
  • DUST_BUS(name)
  • DUST_MASTER_MODULE(name, protocol)
  • DUST_SLAVE_MODULE(name, protocol)
  • DUST_PROTOCOL(name)
  • DUST_SCHEDULER(name)
  • DUST_BRIDGE(name)
transaction monitoring
Transaction Monitoring
  • gs_dust_port replaces sc_port
    • Interface method calls on port (operator ->) are recorded with SCV
    • Generates XML element for each transaction phase (atom)
    • XML stream is sent to JAVA frontend via network connection

GreenBus TransactionContainer

port control service
Port Control Service
  • Send control commands to ports
    • Configure transaction recording
    • Inject communication faults
      • drop / delay / duplicate / modify packets
  • Implement custom port control functions

class dust_injection_if

{

public:

virtualbool inject(std::string &xml) =0;

virtual ~dust_injection_if() {}

};

port control service1
Port Control Service
  • Port control message example

id0xbfff95e8

25

true

0.003

0.5

0.75

database connectivity
Database Connectivity
  • Database client connects to DUST backend
  • Stores simulation data in SQL database
    • MySQL / PostgreSQL
  • JAVA API enables easy database access
    • Get transactions for a given time interval
    • Inspect transaction payload
  • "Live" forwarding of transaction data during running simulation
  • Compare results of different simulations

SQL

Database

Database

DesignStructure

Transactions

slide29
DUST
  • Summary
    • Non-intrusive analysis and debugging of SystemC designs
    • Easy to use (#include "utils/dust.h")
    • Full GreenBus support
    • Growing number of visualization frontends
    • Extensible architecture (add your own debug services, views, …)
  • Download & contribute: www.greensocs.com/Dust
  • Ongoing work
    • SystemC Debugger: pause / resume simulation, run for n delta cycles, etc.
    • Bus protocol analyzer
outline2
Outline
  • DUST analysis framework
    • Design analysis services
    • JAVA viewer
    • SQL database support
  • GreenBench
    • GreenSocs Configuration framework
    • Video processor example
    • Cell phone example
greensocs configuration framework
GreenSocs Configuration Framework
  • GS_PARAM wrapper makes module parameters configurable
greensocs configuration framework1
GreenSocs Configuration Framework
  • Configure parameters from within your model…
greensocs configuration framework2
GreenSocs Configuration Framework
  • …or by using a configuration file
greensocs configuration framework3
GreenSocs Configuration Framework
  • Also create communication architecture by config file
greensocs configuration framework4
GreenSocs Configuration Framework
  • Also create communication architecture by config file
greensocs configuration framework5
GreenSocs Configuration Framework
  • Summary
    • Easily add configurable parameters to your model
    • Use configuration files
    • Explore different communication architectureswithout re-compiling your sources
  • Ongoing work
    • System-wide address range management
    • Global memory configuration and introspection
    • Configure parameters with DUST debugger
greenbench
GreenBench
  • GreenBench
    • Build benchmark suits for SystemC and GreenBus
    • Test new SystemC extensions (e.g., DUST)
    • Identify missing SystemC features (e.g., synthesis)
    • Re-use GreenBench components in your own models
  • Two models are donated by TU Braunschweig, E.I.S.
    • Video Processor (EmViD)
    • Cellphone Example
  • Visitwww.greensocs.com/GreenBench, download our models,and upload your own models!
emvid embedded video detection
EmViD – Embedded Video Detection
  • Example EmViD system (face detection)
emvid embedded video detection1
EmViD – Embedded Video Detection
  • EmViD models are comprised of Video Processors (VIPs)

Channel

Component

(SC_MODULE)

Video

Processing

Video data

Video data

Input port

Output port

(sc_port)

(sc_port)

Process

(SC_THREAD)

emvid embedded video detection2
EmViD – Embedded Video Detection

Color-

Erosion,

Labeling

Matching

Dilation

GreenBus (PLB)

Video-

Video-

DDR-RAM

Input

Output

  • Configuration framework is used to create different EmViD models
emvid embedded video detection3
EmViD – Embedded Video Detection
  • Configuration framework is used to create different EmViD models

Color-

Erosion,

BRAM

BRAM

Labeling

Matching

Dilation

GreenBus (PLB)

Video-

Video-

DDR-RAM

Input

Output

emvid embedded video detection4
EmViD – Embedded Video Detection
  • Components use different TLM APIs
    • SHIP, TAC, OCP
  • Create mixed-mode designs
    • PV  BA  CC
    • Numerous config files available
  • Test communication architecture exploration with GreenBus
  • Create new video processors
  • Add your own video processing cores
slide44
Thank You

Wolfgang Klingauf

Integrated Circuit Design Lab (E.I.S.)

Technical University of Braunschweig

[email protected]

 +49 (531) 391 3105

ad