ESL design 소개 (1시간)
-
Upload
joonhwan-yi -
Category
Documents
-
view
232 -
download
0
Transcript of ESL design 소개 (1시간)
-
8/2/2019 ESL design (1 )
1/23
Electronic System Level (ESL)Electronic System Level (ESL)DesignDesign 2008. 9
(([email protected]@kw.ac.kr))
Copyrighted by Joonhwan Yi ([email protected])
-
8/2/2019 ESL design (1 )
2/23
vvBackgroundBackground
vvElectronic system level (ESL) designElectronic system level (ESL) design
vvESL design tasksESL design tasks
vv
vv
Copyrighted by Joonhwan Yi ([email protected]) 2
-
8/2/2019 ESL design (1 )
3/23
Back round
-
8/2/2019 ESL design (1 )
4/23
Computer Based SystemComputer Based System
vv SystemSystem--onon--chips (chips (SoCsSoCs) are computer based systems) are computer based systems Processors and software control the system
Hardware accelerators perform dedicated tasks On-chip communication and interface IP handles data traffic
vv Many hardware and software components are coMany hardware and software components are co--working in aworking in acomplex mannercomplex manner System behavior cannot be predicted and optimized easily
Processors / Accelerators On-chip communicationMemory
- OS, device driver- Middleware- Application software
- Bus fabric- Arbiter, bus matrix- Bus bridges
- USIM, SDIO, USB, PCMCIA, UART, etc.- CDMA/Wibro modem
- CPUs- DSPs- Interrupt controller, DMA controller, etc.- HW accelerators
SoC
Interfaces
Software
CPU
CPU
PCMCIA
DSP
USB Modem
Memorycontroller
DSP
GPS
MPEG
Bus bridge
SDIOUSIM
Software Software
-
8/2/2019 ESL design (1 )
5/23
Increasing Design ComplexityIncreasing Design Complexity
vvData transfer rate for communication standardsData transfer rate for communication standards
2G (GSM/GPRS/EDGE/CDMA2000 1x) 100 Kbps
3G (WCDMA/CDMA2000 1x EV-DO ~ 3 Mbps
Beyond 3G (HSPA/WiBro/LTE) 10 ~ 200 Mbps
4G 100 Mbps ~ 1 Gbps
10,000 x
Voice + broadcasting + entertainment + camera + security +etc.
vvMore functionality, more data movement, moreMore functionality, more data movement, morecomputationcomputation
The performance of each IP as well as SoC architecturematters
Architecture design based on scientific analysis is necessary
-
8/2/2019 ESL design (1 )
6/23
Problems inProblems in SoCSoC Architecture DesignArchitecture Design
vv Slow simulation speed !!!Slow simulation speed !!!
More than 10M gates for modern mobile modem SoCs ormultimedia processors
At register transfer level (RTL), for SoC size, the simulation speedis about 3~30 cycles per second
For example, consider a CDMA modem SoC.
Takes about 4 hours to simulate 20 ms of real time scenario
,should be simulated many times
To simulate a real time scenario of 3 seconds, it takes more than 60years
At FPGA, its fast but has many limitations
Limited design space, long time for design changes, bad visibility forinternal signals, etc.
vv Late availability of executable designsLate availability of executable designs
Copyrighted by Joonhwan Yi ([email protected]) 6
HigherHigher level of abstractionlevel of abstraction addresses these problems nicely!
-
8/2/2019 ESL design (1 )
7/23
Design AbstractionsDesign Abstractions
Time Level of abstractions Design size Languages
2000s Electronic system level 10M+ C/C++/SystemC
1990s RTL 100K ~ 1M Verilog, VHDL
Higher levelof abstraction
1980s Gate level 1K ~ 10K Schematic
1970s Transistor level ~ 100 SPICE netlist, layout
Copyrighted by Joonhwan Yi ([email protected]) 7
-
8/2/2019 ESL design (1 )
8/23
Electronic System Level (ESL)
es gn
-
8/2/2019 ESL design (1 )
9/23
Electronic System Level (ESL)Electronic System Level (ESL)
vv An abstraction level of electronic circuit designsAn abstraction level of electronic circuit designs
Higher than register transfer level (RTL) Lower than algorithm level
Design abstraction RTL ESL Algorithm level
Function accuracy Register (flip-flop) level Block levelBus-functional level
Behavior level
Copyrighted by Joonhwan Yi ([email protected])
cycle accuracy) arepossible
Communicationmethod
Signal (bit-level) SignalTransactionFunction calls
Function calls
Descriptionlanguages
HDL (Verilog, VHDL) C/C++/SystemC C/C++/SystemC
abstraction layer 1: bus-functional transaction level model w/ cycle-accuracy ()2: bus-functional transaction level model w/o cycle-accuracy (SW )
9
-
8/2/2019 ESL design (1 )
10/23
-
8/2/2019 ESL design (1 )
11/23
ESL DesignESL Design
v Efficient hardware-software co-design in early design stage
/ hardware-software co-simulation
ESL design
(Virtual platform)RTL FGPA
Availability Early Late Very late
Copyrighted by Joonhwan Yi ([email protected])
( ) ( ~ ) ( ~ )
Simulation
Simulation
(RTL 3000 )
Hardware-softwareco-design
11
-
8/2/2019 ESL design (1 )
12/23
ESL DesignESL Design
Requirements
IP(algorithm / SW)
HW-SWpartitioning
HWIPs
SWIPs
IPs
ESL 1
+
Architectureexploration
ESL 2
Initialarchitecture
Yes
ArchitectureLate HW-SW
co-verification
Copyrighted by Joonhwan Yi ([email protected])
Architecture
design
Architecture
design
ESL 3
HW-SWco-
verification
Implementation
Verification
Implementation
Verification
HW on silicon + SW(integration + verification)
Problem?
Success
No
Time to marketadvantage
Early HW-SWco-verification
Time to siliconadvantage
12
-
8/2/2019 ESL design (1 )
13/23
ESL Desi n Tasks
-
8/2/2019 ESL design (1 )
14/23
ESL Design TasksESL Design Tasks
vv Architecture explorationArchitecture exploration
vv HardwareHardware--software cosoftware co--designdesignvv HardwareHardware--software partitioningsoftware partitioning
vv HardwareHardware--software cosoftware co--verificationverification
vv Performance analysisPerformance analysis
Copyrighted by Joonhwan Yi ([email protected])
vv RTL generationRTL generation
vv Power analysisPower analysis
14
-
8/2/2019 ESL design (1 )
15/23
Architecture ExplorationArchitecture Exploration
gate-level
Exploration spaceat differentabstraction levels
(with same design effort)Perform
ance
Initial architecture
Legend
Infeasibleregion
Copyrighted by Joonhwan Yi ([email protected])
ESL
Specification
CostIntersection of the curve within a circle represents the set ofoptimum architecture solutions searchable at the abstraction level
Optimumarchitecture curve
oor qua yregion
15
-
8/2/2019 ESL design (1 )
16/23
HardwareHardware--Software CoSoftware Co--DesignDesign
vv
Sequential development: hardware software vv ESL designESL design
Parallel development: hardware software
Copyrighted by Joonhwan Yi ([email protected])
rc ec ure ar ware o ware
Architecture Hardware
Software
ESL design
ow
New flow
ESL design
16
-
8/2/2019 ESL design (1 )
17/23
HardwareHardware--Software PartitioningSoftware Partitioning
vv DefinitionDefinition
A process that makes decisions whether a required functionality
of a system is more advantageously implemented in hardware orin software
Fundamental phase of hardware-software co-design
vv ESL design technique plays an crucial roleESL design technique plays an crucial role
Fast iterative performance analysis is essential
S i S i i
Copyrighted by Joonhwan Yi ([email protected])
Is the performancerequirement met?
Optimum system architecture
Change HW-SW partitionsReschedule jobs
Yes
Is it optimum?
Yes
No
NoESL design
ESL design
17
-
8/2/2019 ESL design (1 )
18/23
HardwareHardware--Software CoSoftware Co--VerificationVerification
vv sequential developmentsequential development
Hardware-software co-verification
Big surprise (/ ) long iteration
vv ESL designESL design parallel developmentparallel development
Hardware-software co-verification
co-verification big surprise iteration
Copyrighted by Joonhwan Yi ([email protected])
Architecture Hardware Software
Architecture Hardware
Software
Old flow
New flow
ESL designESL design
Short iterations
Long iterations
18
-
8/2/2019 ESL design (1 )
19/23
Performance AnalysisPerformance Analysis
ESL design tool
data
Information
(Data )
Function call trace Cache hit rate Function execution time Variable value
Function call overhead Cache size optimization Software execution time Software bug
SW
Copyrighted by Joonhwan Yi ([email protected])
Bus and signal waveform Bus utilization Register value waveform
HW-SW co-verification Bus & system architecture Hardware initialization
HW
System performance HW-SW partitioning system
System HW & SW data
19
-
8/2/2019 ESL design (1 )
20/23
RTL GenerationRTL Generation
vv Behavioral synthesisBehavioral synthesis
Automatic ESL to RTL mapping
Architecture explorationArchitecture design
ESL design
Copyrighted by Joonhwan Yi ([email protected])
Hardwaredesign
Softwaredesign
ESL designInitial
software
Hardwaredesign
Start fromscratch
document
Softwaredesign
Start fromscratch
Short time for RTL generationShort time for HW-SW co-verificationBroken links
(manual conversion)
Behavioral synthesis(RTL generation)
Behavioral synthesis(RTL generation)
20
-
8/2/2019 ESL design (1 )
21/23
Power AnalysisPower Analysis
vv Why ESL power analysis?Why ESL power analysis?
Realistic scenario for power analysis
Short analysis time for power analysis
Base for system (HW & SW) power optimization
vv : Samsung: Samsung--Sequence ESL power analysis flowSequence ESL power analysis flow
Scenario @ESL & analysis @RTLPowerTheater-ESL
Copyrighted by Joonhwan Yi ([email protected])
ESL
RTL
Gate-level
Transistor-level
Unrealistic
scenario
ea s cscenario
Analysis
Analysisspeed PowerTheater
PrimePower
ORINOCOMapae ()
PowerTheaterPrimePower
PowerMillHSPICE
21
-
8/2/2019 ESL design (1 )
22/23
-
8/2/2019 ESL design (1 )
23/23
vv ESL designESL design very fast hardware simulation modelvery fast hardware simulation model
FPGA chip RTL 3000
RTL available
-- --
Copyrighted by Joonhwan Yi ([email protected])
ESL design hardware software
(early system verification)
(optimum system design)
vv Early stage system (HW+SW) performance analysisEarly stage system (HW+SW) performance analysis
23