accelerated hardware/software co-verification …...accelerated hardware/software co-verification...

17
Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004

Upload: others

Post on 22-Jun-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Accelerated Hardware/Software Co-Verification Solution for NIOS

Active-HDL w/ CoVer

Accelerated Hardware/Software Co-Verification Solution for NIOS

Active-HDL w/ CoVer

SOPC World 2004

Page 2: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Corporate BackgroundCorporate Background

• Established in 1984• Mixed VHDL, Verilog,

SystemC, SystemVerilog and EDIF verification in a single simulation kernel

• Graphical Design Entry and Debugging Tools for HDL designers

• Hardware-based acceleration for SOC designs

Aldec products include:• Active-HDL• Riviera• Riviera-IPT• CoVer

Aldec products include:• Active-HDL• Riviera• Riviera-IPT• CoVer

Page 3: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Active-HDL Design DesktopActive-HDL Design Desktop

• Design Entry– Block Diagram Editor– State Machine Editor– HDL Editor– Design Flow Manager

• Design Verification

– VHDL/Verilog/SystemCand EDIF Simulator

– Graphical Source Debugger

– Testbench Generation– Waveform Editor– Timing Simulation

Page 4: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Todays SOC Verification ChallengesTodays SOC Verification Challenges

Hardware

System

Development

Embedded

System

Development

Page 5: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Embedded System ArchitectureEmbedded System Architecture

The software content is increasing. A system-on-a-chip designed today typically runs an operatingsystem and some user applications.

Page 6: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

SOC Verification in HDL SimulatorSOC Verification in HDL Simulator

• Hardware Team requires: – Accuracy at the bus level– HDL debugging environment– Performance

• Software Team requires:– Software debugging environment– High performance to execute large chunks of code

100instr./s

SOFTWAREDEBUGGERnot available HDL

Debugger

Page 7: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Active-HDL w/ CoVer EnvironmentActive-HDL w/ CoVer Environment

• CoVer is installed in conjunction with Active-HDL and Altera’sembedded system development kit (e.g. SOPC Builder)

• Install hardware board: PCI development board

• Installed software: drivers, interfaces and applets enabling communication with the board

Page 8: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Altera™ PCI Development Kit, Stratix Edition(PCI-Board/S25) – Used for Co-Verification

Altera™ PCI Development Kit, Stratix Edition(PCI-Board/S25) – Used for Co-Verification

Page 9: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Benefits – Hardware and Software TeamsBenefits – Hardware and Software Teams

• Hardware Team requires:– Accuracy at the bus level– HDL debugging environment– Performance

• Software Team requires:– Software debugging

environment– High performance to execute

large chunks of code

• Hardware Team requires:– Accuracy at the bus level– HDL debugging environment– Performance

• Software Team requires:– Software debugging

environment

SoftwareDebugger

HDLDebugger

– High performance to execute large chunks of code

Page 10: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Active-HDL w/ CoVer Design FlowActive-HDL w/ CoVer Design Flow

• Both HDL descriptions of system peripherals and C code can be entered and compiled within Active-HDL framework

• Initialization of simulation pushes MPU and some other elements into the Altera device on the hardware board

Page 11: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Verification EnvironmentVerification Environment

Page 12: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

User FlowUser Flow

• Nios/NiosII based design developed by the SOPC user

• CoVer wizard generates ready to useAHDL design

Import SOPC projectfile (PTF)

• CoVer wizard loads the PTF file and generates CoVer specific modules.• Using Quartus proper bitstream is generated for CoVer board.

Page 13: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

NIOS or NIOS II

Hardware - CoVer Board

SDRAM module

Software AHDL

GDB Insight

Avalon-A

valon Q

uick-BR

IDG

E

AVALON

VHDL / VERILOG

SWIFT model

VHPI /PLI OTHERBehavioral

model

Test-bench

CoVer Terminal

CoVer Debug Module

Avalon ARBITER

Avalon ARBITER

System DiagramSystem Diagram

TCP/IP

AVALON

Page 14: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Co-Verification EnvironmentCo-Verification Environment

Software Debugging for Nios™ or Nios II ™CoVer Nios/Nios II Wizardfor Active- HDL™

Hardware Debugging for Active-HDL™

Page 15: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Technical ParametersTechnical Parameters

MicroProcessor Nios or Nios II Core implemented in Altera Stratix (EP1S25)

Supported boards Altera PCI Development Kit, Stratix EditionAldec HES3-AS25EX

Memory SDRAM, 256 MBHardware Clock 33 MHzUser Bus Avalon BUSAltera tools Quartus II 4.1 and Nios 3.1 and higher

HDL simulator AHDL6.3 and higherOperation system Windows 2k/XP

Nios debugger GNU GDB InsightNios compiler Nios-gcc

Page 16: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Sample Design BenchmarkSample Design Benchmark

SW

Time [s]

•Nios processor core

•Program and Data memories

•Debug UART

•STDIO UART

HW Debug & IO modules

Simple_Ram core in software simulation

Simulation time:

Active-HDL: 246 seconds

Using CoVer: 3 seconds

Speed-up 82x

Page 17: Accelerated Hardware/Software Co-Verification …...Accelerated Hardware/Software Co-Verification Solution for NIOS Active-HDL w/ CoVer SOPC World 2004 Corporate Background • Established

Active-HDL w/ CoVer BenefitsActive-HDL w/ CoVer Benefits

• 100% visibility for debugging and verification• Simulation is accelerated dramatically because a software

simulator is not simulating the core• There is no need for the hardware engineer to continually make

prototypes for the software developer. This eliminates the time consuming runs of synthesis and implementation after each design iteration during the verification and design cycle

• Both the designer and the developer can work on the same configuration of the product in a common environment thus saving time and improving time to market

• When the processor is not communicating with the peripherals in software, high-speed performance is provided. Using patented Quick-Bridge technology the processor can run at emulation speed (MHz)