cadence mixed-signal/low-power flow for embedded · pdf filecadence mixed-signal/low-power...
TRANSCRIPT
2014 ARM 物理IP技术研讨会
Cadence Mixed-signal/Low-Power Flow for Embedded ARM® Cortex® -M0 Designs
2 © 2014 Cadence Design Systems, Inc. All rights reserved.
Trends driving MS and LP design needs Mixed-signal is pervasive throughout applications experiencing dramatic market growth
Mobility Wireless connectivity / broadband
Compact size, handheld, thinner, lighter
Battery operated
Performance and features
Automotive Safety
Reliability
Fuel /electrical efficiency
Infotainment and convenience
IoT/Home /Industrial automation Smart sensors and metering
Microcontrollers everywhere
Everything connected (Internet of every thing)
Health monitors and medical devices
3 © 2014 Cadence Design Systems, Inc. All rights reserved.
Easiest way to get started with Cortex-M processors − Smallest and most accessible Cortex-M processor family
− Access wide ARM ecosystem
− Get to silicon faster with the System Design Kit
− Upwards compatible with all Cortex-M processor family
Add a sophisticated processor into your design
Performance headroom for advanced features
Longer battery life through efficient 32-bit architecture
Reduced system cost through code density
Extends ARM architecture to new applications
Mixed signal devices
IoT end points
ARM® Cortex® -M0 Processor
4 © 2014 Cadence Design Systems, Inc. All rights reserved.
Integrated MS Flow for Embedded Cortex-M0
System-Level Mixed-Signal
Simulation and Verification
System Specifications
Low-Power Intent Verification
IP Selection and Chip Planning
Chip Integration
Embedded
Software
Development
Hardware Development/Modeling
RTL (Core) RTL Digital
Peripherals AMS Modeling
Silicon Signoff
• Debug system across HW / SW and analog / digital
boundaries
• Optimize system partitioning
• Model analog functionality using simulation-efficient
RNM
• Model power reduction strategies
• Verify power intent using static and dynamic methods
• Use advanced verification methodology
• Explore floorplan option for best area
and power
• Implement AMS blocks in OA-integrated mixed-signal
flow
• Manage ECOs effectively at any stage
of design
RTL and Test Synthesis
Digital
Block
Layout
Analog/AMS
Block Layout
5 © 2014 Cadence Design Systems, Inc. All rights reserved.
Design Flow for embedded Cortex-M
Cortex-M System Design Kit
(CMSDK)
Cortex-M RTL (Verilog)
ARM DS-5 and ARM Keil®
Software Development C code
Cortex-M
instructions
System Specifications
Virtuoso
Schematic and
ADE
Incisive/AMSD
Simulation and
Verification
Testbench
Analog Models
Low Power Intent (CPF)
Verified Design
Virtuoso-EDI OA
integrated flow
Floorplanning
Analog
Block
Digital
Block
Chip Integration
Signoff
Synthesis & Test
Provided by ARM
Provided by Cadence
ARM Artisan®
physical IP
Flash
Memory
Provided by 3rd Party
SRAM
AMS IP
6 © 2014 Cadence Design Systems, Inc. All rights reserved.
Controller
Te
stb
en
ch
Block Diagram of the Control System
Ps Vp(t)
DOUT
DIN
Pr Vr(t)
APB
Bus
Interrupt
RTL
DAC
ADC Fuel Pressure
Sensor [pressure => Vp(t)]
Fuel Pressure
Regulator Δ pressure <=Vt(t)]
RNM or Transistor
Cortex-M0
AP
B S
lave
Verilog-AMS
Coolant
Temperature
Sensor
Cooling Fan
Control
MX
D
MX
Vr(t)
Vt(t) T
Fc
7 © 2014 Cadence Design Systems, Inc. All rights reserved.
Representative Mixed-Signal Device
Processor
SRAM Flash
Analogue
Block Diagram Design Domains
Power
Management Connectivity
8 © 2014 Cadence Design Systems, Inc. All rights reserved.
CM SDK Example Peripheral (APB) Subsystem
Addition to CM SDK
Analog Interface to Cortex-M System Design Kit
Cortex-M0
ROM RAM GPIO Default
Slave
AHB to APB
Bridge
UARTs
Timers
Watchdog
DAC data
DAC ctrl
ADC data
ADC ctrl
Analog Interface
DAC
ADC
16-bit data + ctrl
16-bit data + ctrl
AHB™
AP
B
9 © 2014 Cadence Design Systems, Inc. All rights reserved.
Embedded Cortex-M0 Flow Modules
Describe Automotive Sensor System in VSE
Model analog block (DAC) in RNM (wreal) using SMG
Compile C code into processor instruction set using Keil
Run functional RNM/SPICE/RTL/SW Simulation from Virtuoso ADE in Incisive for different scenarios and
present results in SimVision
Run CPF-driven AMS simulation by Incisive
Export CPF for Custom part and top level using VSE PIEA
Run structural Low Power checks from VSE using CLP
Create top level chip floorplan in VFP
Analog block (DAC) schematic design
RNM vs schematic model validation
Physical layout
Digital Block (Cortex-M0) RTL and Test synthesis by RTL Compiler; equivalency checking by Conformal
P&R using VDI-XL in OA abstract passed from Virtuoso;
Bring implemented digital block back to Virtuoso using OA
Chip Integration and Sign-off
10 © 2014 Cadence Design Systems, Inc. All rights reserved.
Pressure/Temperature Control System in Virtuoso Schematic Editor (VSE)
Pressure range: 0 to 120 psi
Nominal pressure: 78 psi
Normal operating range: 75-82psu
Temperature range: -40 to 100 oC
11 © 2014 Cadence Design Systems, Inc. All rights reserved.
Analog Behavioral Model Generation and Validation
Building blocks are placed, wired, configured, and calibrated using
Virtuoso Schematic Editor
No need to write code
Model-schematic can be reused, shared, reconfigured, and maintained
Easily understandable graphical representation of the design
functionality
Less dependent of language and modelling skills of an engineer
Model Validation Flow integrated in Virtuoso ADE-XL (amsDMV)
12 © 2014 Cadence Design Systems, Inc. All rights reserved.
Results of System Simulation Temperature = 0 C
Initial Pressure = 0psi
System clock = 50 MHz (clk)
ADC Sampling Event = 128 clk (2.56us)
System achieves 78psi in 28 cycles
13 © 2014 Cadence Design Systems, Inc. All rights reserved.
Simulation and Debugging w/Software Trace
C Code
Analog Waveform Digital Waveform
Assembly Code
14 © 2014 Cadence Design Systems, Inc. All rights reserved.
MIXED-SIGNAL SIMULATION CPF-BASED FOR LOW POWER
Logic
Cells
Analog
Cells
SW
Logic
Cells
Logic
Cells
SW SW
Mode D
Mode1
Mode2
directly provide power supply to
analog
power domain
CPF Controlled Mixed-Signal Simulation
SW
PD3 PD4 PD1 PD2
VSS
CPF
15 © 2014 Cadence Design Systems, Inc. All rights reserved.
MIXED-SIGNAL SIMULATION CPF-BASED FOR LOW POWER
Logic
Cells
Analog
Cells
SW
Logic
Cells
Logic
Cells
SW SW
Mode D
Mode1
Mode2
directly provide power supply to
analog
power domain
CPF Controlled Mixed-Signal Simulation
SW
PD3 PD4 PD1 PD2
VSS
CPF
16 © 2014 Cadence Design Systems, Inc. All rights reserved.
CPF Generation from Schematic Virtuoso Power Intent Export Assistant (PIEA)
17 © 2014 Cadence Design Systems, Inc. All rights reserved.
Schematic-Driven Physical Implementation Flow
Top Level Floorplan RTL netlist Library Constraints
Clock Tree
Timing Opt.
Routing
STA
Physi.Verification
Chip Integration &
Signoff
Power Planning
Synthesis
Test Insertion
Op
en
Ac
cess Floor planning
Analog/Custom
Blocks
Top Level
Lo
w P
ow
er
Op
timiz
atio
n
Invoke customizable script
for digital block
implementation from Virtuoso
18 © 2014 Cadence Design Systems, Inc. All rights reserved.
Configure Physical Hierarchy to use
preliminary floorplan views
Level-1 Editing for block PR boundary and
pins
Output
Generate Physical Hierarchy (top and soft
blocks)
Input Schematic-driven layout:
You start from here.
Dynamic measurement to adjust
PR boundary:
Pin optimization
Pin alignment
Block Placement, Pin Optimization, Pin
Alignment
Chip Floor Planning in Virtuoso
19 © 2014 Cadence Design Systems, Inc. All rights reserved.
Initial Floorplan in Virtuoso-XL
20 © 2014 Cadence Design Systems, Inc. All rights reserved.
RTL Synthesis and DFT Insertion Flow RTL, .libs, .cpf, .sdc
Synthesis Elaboration
Low Power Synthesis
Compression Insertion
DFT Inserted Netlist
write_et_atpg
True Time ATPG
IEEE1500 Insertion
Scan Insertion
Test Point Analysis/Insertion
Technology Map
LBIST Insertion
Incremental Optimization
write_et_lbist
write_do_lec
DFT Rule Check/Testability
EDI
Low Power Synthesis of Cortex-M0 System (CPF driven)
Includes Cortex-M0 Integration level core
AMBA® AHB Lite interface to external ROM and RAM
Power management unit
Clock Control & IO
Test Insertion in RC cockpit
Insert Full Scan and Compressed Scan (2 SI/2SO)
Isolate Digital Core (from Analog) with IEEE1500
Insert Test Points to improve Coverage (RRFA analysis)
Insert Wrapper logic for embedded ROM and RAM
Implement Direct Access LBIST for Post-manufacturing
Validation & Pattern Generation
Verify synthesis Netlist using Conformal Low Power/LEC
Verify Test Structures
Generate ATPG patterns and Signature for LBIST
Validate patterns in Incisive
21 © 2014 Cadence Design Systems, Inc. All rights reserved.
Partnership for Success
Productivity
Quality of silicon
Time to market
Smart Analogue
IoT
Compact, energy efficient processors
Optimized physical IP
System IP
Mixed-Signal Device
Integrated flow for mixed-signal design
Low power design and verification
Analog and mixed-signal IP