HW/SW Co-Verification - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

HW/SW Co-Verification

Description:

Hardware. Processor (s) Memory Blocks. IP Blocks. Bus. Software. Communication with CPU and I/O ... Hardware Design. Replace processor modules with ... – PowerPoint PPT presentation

Number of Views:118
Avg rating:3.0/5.0
Slides: 32
Provided by: cook8
Category:

less

Transcript and Presenter's Notes

Title: HW/SW Co-Verification


1
HW/SW Co-Verification
By Getao Liang March, 2006
  • -- Mentor Graphics Seamless CVE

2
Contents
3
Introduction
  • Embedded System SoC
  • Hardware
  • Processor (s)
  • Memory Blocks
  • IP Blocks
  • Bus
  • Software
  • Communication with CPU and I/O
  • Memory Access
  • HW/SW Integration

4
Traditional Design Cycle
Hardware Prototyping
  • Requirement Analysis
  • Sub-systems
  • High-Level Simulation
  • HW/SW Interface

HW/SW Integration
5
Motivation
  • Time to Market
  • Shorten Time-to-Market ?
  • Save Resource
  • More Profit
  • Market Domination
  • Advance Verification
  • Lower Cost to Problem Correction
  • Easier Debugging

6
Comparison
7
HW/SW Co-Verification Model
8
Co-verification Vs. Simulation
  • RTL Simulation
  • Pure RTL models
  • Slow lt100Hz
  • Unable to address all debug requirement
  • Co-Verification
  • Orders of Magnitude Faster
  • Increased Comprehension
  • Support for Abstract Models

9
Contents
10
Mentor Graphics Seamless CVE
  • Interactive Debugging Tool

BusInterfaceModel
MemoryModels
11
Key Concepts of CVE
  • Accelerating Co-Verification Process
  • Separate Processors Functions
  • Suppress Bus Cycles Selectively
  • Important Components
  • Processor Support Packages (PSP)
  • Instruction Set Model (ISM) - SW
  • Bus-Interface Model - HW
  • Memory System
  • Optimizable Memory Models
  • Coherent Memory Server (CMS)
  • Coherent Timers

12
Processor Support Packages
13
Instruction Set Model
  • Software Model
  • Functional Behavior of Processors Instruction
    Set
  • Abstract Model of Data Processing
  • Instruction Set Simulation - IIS- Running ISM on
    a software simulator.

14
Bus-Interface Model
  • Hardware Model
  • Input/Output Pin Behavior of Processor
  • No Internal Logic of Processors
  • Bus Activities
  • R/W Memory
  • R/W I/Os
  • R-modify-W
  • Reset and Halt
  • .Interrupts, Faults
  • Bus Request Grant

15
Software Co-Verification
16
Optimizable Memory Models
  • Generic Optimizable Memory Models Supplied
    with Seamless as HDL files. (for simple memory
    blocks, like dRAM, sRAM, DP-RAM, FIFO, Register
    Memory.)
  • Denali Memory Models Created with PureView
    application. (for commercial memory devices)
  • Seamless HDL Memory Interface Converted from
    existing models to Seamless optimizable models

17
Optimizable Memory Models (Contl)
  • Generic Memory Models
  • CVE_HOME/vsim_vdl
  • CVE_HOME/vlog
  • Denali Memory Models
  • Obtain a SOMA file
  • http//www.ememory.com
  • Generate HDL Memory Model
  • PureView or MemMaker
  • HDL Memory Interface
  • Compile iram.vhd
  • Add USE work.cve_direct.all
  • Modify with Seamless HDL memory interface calls
  • cve_RegisterMemory()
  • cve_ReadMemory()
  • cve_WriteMemory()

18
Optimization
  • Why
  • Accuracy vs. Performance
  • What
  • Frequently accessed memory
  • How
  • Direct Access (bus cycles hiding)
  • By Coherent Memory Server

CMS
19
Optimization Categories
20
Full Activity Simulation
  • Simulation Bus Activity
  • Instruction Fetch
  • Memory Read/Write
  • I/O Read/Write

21
Optimized Simulation
  • Simulation Bus Activity
  • Instruction Fetch
  • Memory Read/Write
  • I/O Read/Write
  • Memory Write to UN-OPTIMIZABLE Address

22
Increased Performance
23
Seamless Coherent Timers
  • Maintain an accurate count of clock cycles when
    running in time-optimized mode.
  • Be programmed to make logic simulator to service
    timer events appropriately.

24
Contents
25
Basic Steps
  • Hardware Design
  • Replace processor modules with corresponding
    bus-interface Models
  • Modify memory modules
  • Software Design
  • Machine code for target processor
  • Software for Host Code Execution (HCE)
  • CVE Invocation
  • Logic and SW simulators configuration
  • Memory mapping

26
Demo Design
27
Demo Tutorial
  • Setup Environment
  • Compile Software
  • Invoke Seamless
  • Invoke Logic Simulator - ModelSim VHDL
  • Configure the Processor - DLX
  • Setup SW simulator/debugger MDB
  • Map memory instances
  • Define memory access detail
  • Start Co-verification Session
  • Enable Data Access Optimization
  • Enable Time Optimization
  • Enable Instruction Fetch Optimization

28
Contents
29
Conclusions
  • Early Integration
  • Shorten time-to-market
  • Lower cost for verification and correction
  • Easy Debugging
  • Control SW execution
  • View/Change memory contents
  • Enhancing Performance
  • ISM BIM
  • CMS Optimizable Memory

30
References
  • Mentor Graphics, Seamless Reference Manuals
  • Milan Saini, Co-Verification Enhances Time to
    Market Advantage of Platform FPGAs
  • Mike Andrews, Seamless-izing Memories for
    Seamless Hardware/Software
  • J. M. Ng, Enhancing HW/SW Co-Verification for
    Embedded System with Seamless
  • CIC brady_at_cic.org.tw,HW/SW Co-Verification using
    Mentor Graphics Seamless CVE A Case Study with
    AUK system

31
Thank You !
Liang, Getao gliang (at) utk (dot) edu
Write a Comment
User Comments (0)
About PowerShow.com