It d ti t Introduction to Intelligent MixedIntelligent ... · ETM (Optional) MPU (Optional) ITM...
Transcript of It d ti t Introduction to Intelligent MixedIntelligent ... · ETM (Optional) MPU (Optional) ITM...
I t d ti t™
Introduction to
Intelligent Mixed-Signal FPGAIntelligent Mixed Signal FPGA
Rajiv Nema [email protected]. Product marketing Manager, Actel Corporation
September 8th, 2010
Agenda
Introduction to SmartFusion
Deeper Look inside SmartFusion
Benefits & Examples
Software & Eco-System
Hardware Kits & Solutions
Actel Corporation Confidential © 2010 2
SmartFusion: Innovative, Intelligent, Integration
Proven FPGA fabric
Complete ARM® Cortex™-M3 MCU subsystem...& it’s ‘hard’
Programmable analog
In a flash-based device
In production now!
Off f ll t i ti IP t ti d f
Actel Corporation Confidential © 2010 3
Offers full customization, IP protection and ease-of-use
The Actel Embedded Advantage
Flash-based FPGA SRAM-based FPGA
ARM C t M3 N d t l fl hARM Cortex-M3 processor with its ownembedded flash memory
CODE STORAGE
Needs external flash memory
On-chip nonvolatile FPGA configuration CONFIGURATION
Needs external configuration devices
High-voltage analog co-exists with digital circuits ANALOG
Standard CMOS process not conducive to high voltage analogvoltage analog
Actel Corporation Confidential © 2010 4
Flash Technology Enables Innovative, Intelligent Integration
Customer Engagement To-Date: Some Applications
Battery Operated EKG/ECG Servers and Switches Ind controllers: Motion, Process & Safety
Target Applications System Management Power Management Motor Control
Synchronized Train Computers System Management for ATCA boards
Industrial Networking ….and more
Actel Corporation Confidential © 2010 5
An Inside Look at SmartFusion
No-Compromise FPGA Fabric
Proven flash based FPGA fabric Proven flash-based FPGA fabric 60,000 to 500,000 system gates 350 MHz system performance
E b dd d SRAM d FIFO Embedded SRAMs and FIFOs Ultimate Differentiator
Off load some often used or CPU intensive function into fabric
Actel Corporation Confidential © 2010 7
Add additional peripherals to meet design needs
No-Compromise Microcontroller Subsystem (MSS)
100 MHz 32-bit ARM Cortex-M3 processor Bus matrix with up to 16 Gbps throughput 10/100 Ethernet MAC SPI, I2C, UART, 32-bit Timers Up to 512 KB flash and 64 KB of SRAM External memory controller 8-channel DMA controller 8 channel DMA controller Up to 41 MSS I/Os
Actel Corporation Confidential © 2010 8
Cortex-M3 Processor Feature Summary
Configurable Interrupt Controller:1:240 Interrupts1:255 Priority LevelsNMI & SysTick
Central Core:1.25 DMIPS/MHzThumb-2 / Thumb ISAHardware Divide 1cycle Multiply
Wake-Up Interrupt Controller:Low gate count Configurable Numberof InterruptsSuitable for separatepower domain
ETM (Optional)
MPU (Optional) ITM (Optional)L iMPU (Optional)
8-Region Memory Protection Unit
Debug Access Port: JTAG S i l Wi
Low-cost trace via single wire output
JTAG or Serial Wire
DWT (Optional)4x Data Watchpoints & Event Monitors
FPB (Optional)8x Hardware Breakpoints w. program patching
Event Monitors
2x AHB-Lite BusesI CODE (Instruction Code Bus)
1x AHB-Lite BusesSYSTEM (SRAM & Fast Peripherals)
Actel Corporation Confidential © 2010 9
I_CODE (Instruction Code Bus)D_CODE (Data / Coefficients Code Bus)
( p )1x APB BusARM Peripheral Bus (Internal & Slow Peripherals)
Cortex-M3 Implementation Options
150 Interrupts (151 including NMI) 32 levels of interrupt priority
Optional Memory Protection Unit (MPU) is present
The Data Watchpoint and Trace (DWT) unit is configured to include data matching
Optional Embedded Trace Macrocell (ETM) is not included
The debug port implementation uses Serial Wire JTAG Debug Port (SWJ-DP) rather than Serial Wire Debug Port (SW-DP) Enables JTAG or SW protocol to be used for debugging
Actel Corporation Confidential © 2010 10
Enables JTAG or SW protocol to be used for debugging
SmartFusion AHB Bus Matrix
Masters1. M3 – I/D Address/Data Bus2 M3 - System Address/Data
Slaves1. S0 - Embedded SRAM block 02 S1 - Embedded SRAM block 12. M3 - System Address/Data
Bus3. Ethernet MAC4. DMA
2. S1 - Embedded SRAM block 13. S2 - Embedded eNVM block4. S3 - External Memory Interface5. S4 - APB 2
5. FPGA Fabric Master_
ACE6. S5 - Fabric Slave7. S6 - APB_0
SPI, I2C, UART, IAP, FROM8. S7 - APB_1
SPI, I2C, UART, Timer 1, Timer 2Cortex™‐M3
I D S
PPBSysReg
PeriperhalDMA
M4
10/100Ethernet MAC
M3
M1M0 Fabric Interface
Controller
M2
AHB Bus Matrix
AHB to
S4
AHB to
S6
AHB to
S7
eSRAM_0AHB
S0
eSRAM_1AHB
S1
eNVMAHB
S2
External Memory
S3
MM0MM1 MM3 MM4
MS0 MS1 MS2 MS3 MS4 MS6 MS7
Fabric Interface
S5
MS5
MM2
Actel Corporation Confidential © 2010 11
ACE APB_P0 APB_P1AHBController
AHBController
AHBController
MemoryController
Interface Controller
External Memory Controller
2 Chip selects, each addressing 64 MB address space Programmable timing for each chip select
8 and 16 bit data bus Asynchronous Memory Support:
Static Random Access Memory (SRAM)S a c a do ccess e o y (S ) NOR Flash Memory PSRAM (async mode)
Synchronous Memory Support: Synchronous Memory Support: Synchronous Static Random Access Memory (SSRAM)
Slave on the AHB Bus Matrix Can be used by any Master on the bus
I/O Pads multiplexed with FPGA I/O signals
Actel Corporation Confidential © 2010 12
Programmable Analog
Analog compute engine (ACE) offloads CPU from analog tasks
Voltage, current and temp monitors 12-bit (SAR) ADCs @ up to 600 Ksps Sigma-Delta DACs Up to ten 15 ns high-speed comparators Up to 32 analog inputs and 3 outputsp g p p
Actel Corporation Confidential © 2010 13
Programmable Analog: A Closer Look
Typical SmartFusion analog building block : 1 ADC, 1 DAC, 2 SCBs
Actel Corporation Confidential © 2010 14
Programmable Analog: A Closer Look
SmartFusion analog building block: 1 ADC, 1DAC, 2SCBs
Actel Corporation Confidential © 2010 15
•SDD= Sigma-Delta DAC•TM = temp. monitor•CM = current monitor•ABPS = active bi-polar pre-scaler
g g , ,(A2F200 has 2 of these)
Innovative Intelligent Integration
Actel Corporation Confidential © 2010 16
In-Application Programming (IAP)
APB bus slave under control of Cortex-M3 Basically an APB slave interface into Fabric TAP controller
Interface to internal FPGA programming circuitry New FPGA image can come from any MSS port
Store redundant images in SPI flash memoryS o e edu da ages S as e o y
Actel Corporation Confidential © 2010 17
Clock Sources
100 MHz RC oscillator ± 1% 0 to 85 C
N t l t i d No external components required Always on except for Sleep mode
Main Oscillator 32KHz to 20 MHz With External Crystal With External Crystal
Low Power Crystal OscillatorDesigned to work with a low power 32 KHz watch crystal Designed to work with a low-power 32 KHz watch crystal
Can be powered externally by a CR2032 lithium cell Can be enabled and disabled by setting and clearing bit 0 of the
CTRL STAT REG in the RTC
Actel Corporation Confidential © 2010 18
CTRL_STAT_REG in the RTC
Clock Hierarchy
Actel Corporation Confidential © 2010 19
SmartFusion Family: Key FeaturesDevice A2F060* A2F200 A2F500System Gates (Kgates) 60 200 500
Tiles (D-flip-flops) 1,536 4,608 11,520
RAM Blocks (4,608 bits) 8 8 24
MCU Sub-System (MSS)Analog Front EndProASIC3 Fabric
MSS Yes Yes Yes
10/100 Ethernet MAC No Yes Yes
eNVM 128K 256K 512K
eSRAM 16K 64K 64K
ProASIC3 Fabric
MSS Common to all Family MemberseSRAM 16K 64K 64K
Analog Compute Engine (ACE) Yes Yes Yes
ADCs (8-/10-/12-bit SAR) 1 2 3
DACs (12-bit Sig-Del) 1 2 3
Cortex M3 (100MHz)2 – SPI2 – UART2 - I2C2 – 32-bit TimersComparators 2 8 10
Current Monitors 1 4 5
Temperature Monitors 1 4 5
Bipolar HV Monitors 2 8 10
2 32 bit TimersDMAWatch DogRTCExternal Memory
ControllerDirect Analog Input 8 8 12
Total Analog Input 12 24 32
Total Analog Output 1 2 3
MSS I/O 25 41 41
Availability:Now: A2F200
Actel Corporation Confidential © 2010 20
MSS I/O 25 41 41
FPGA I/O 66 94 128
Total I/O 104 161 204* Under definition. Subject to change.
Now: A2F500Nov’10: A2F060
SmartFusion Package Offering
Device A2F060* A2F200 A2F500
CS288 (11x11; 0.5mm pitch)
FG256 (17x17 mm; 1mm pitch)
FG484 (23 23 1 it h)FG484 (23 x 23 mm; 1mm pitch)
* Under definition. Subject to change.
Packages currently under consideration 144TQFP (20 mm x 20mm; 0.5mm pitch; 1.4mm height)
Actel Corporation Confidential © 2010 21
SmartFusion Multi-Function I/OsMSS I/O
DeviceA2F200
484FBGA
MSS I/O
484FBGA
Total Analog Inputs 24
Total Analog Outputs 2
MSS I/Os1,2,3 41
FPGA I/Os4 94
Total I/Os 161
Not connected to I/O pad
To Fabric I/O
1 16 MSS I/Os are multiplexed and can be used as FPGA I/Os if not needed for MSS1. 16 MSS I/Os are multiplexed and can be used as FPGA I/Os, if not needed for MSS2. 9 MSS I/Os are primarily for 10/00 Ethernet MAC and are also multiplexed and can be used
as FPGA I/Os if Ethernet MAC is not used in a design.3. 16 MSS I/Os shared between I2C/UART/SPI and GPIOs
Actel Corporation Confidential © 2010 22
3 6 SS /Os s a ed bet ee C/U /S a d G Os4. 50 of 94 FPGA I/Os are multiplexed as EMC (Ext Mem Controller IOs)
Why SmartFusion is aWhy SmartFusion is a Smart Decision?
Why SmartFusion is a Smart Decision
No-compromise integration Complete ARM Cortex-M3
subsystem running at 100 MHz
Reliability Smaller footprint Fewer vendorssubsystem running at 100 MHz
Proven flash-based FPGA fabric Programmable high-voltage analog
Lower TCO
Extend product life In field upgrades
Full customization Design the exact system you need Hardware and software co-design
In-field upgrades One platform for
multiple products
IP protection FlashLock® technology with 128-bit
AES encryption
Protection Against: Overbuilding Cloning TamperingAES encryption
Ease-of-use Independent design flows for
Tampering
GUI based design Complete Eco-System
I d t l di
Actel Corporation Confidential © 2010 24
p ghardware and software design Industry leading
partners
System Management
Actel Corporation Confidential © 2010 25
Fewer components, less board space, fewer vendors
System ManagementUser
Interface
Power Mgmt
Data LoggingMgmt gg g
Protocol MgmtClock Mgmt
Errors and Alarms
Hot Plugging
Diagnostics
Actel Corporation Confidential © 2010 26
Fewer components, less board space, fewer vendors
SmartFusion Offers Unparalleled IP Protection
Microcontroller and FPGA interface not exposed
No bitstream at boot-up
FlashLock protects against FlashLock protects against tampering and reprogramming
AES-encrypted in-system AES encrypted in system programming
Protects against overbuilding Protects against overbuilding with programmable device key
e
Actel Corporation Confidential © 2010 27
Motor Control: Integration Benefit
SmartFusionARM9
SmartFusion replaces:- ARM9SRAM FPGA
Actel Corporation Confidential © 2010 28
Discrete Analog Components
ARM9- SRAM FPGA- Analog acquisition device array
SRAM FPGA
SmartFusion:SmartFusion: Software & Eco-System
SmartFusion Design Environment
Full-featured traditional FPGA design flow
Industry-leading software IDEs for embedded designg
Simulation, timing and power analysis reducepower analysis reduce debug time
Debug through FlashPro or standard RealView® header
Actel Corporation Confidential © 2010 30
MSS Configurator
Configure the MSS peripherals and I/Os
Create or import hardware configuration
Automatically generate drivers for peripherals
Configure programmable analog components
MSS configurator enables co-design between multiple users
Actel Corporation Confidential © 2010 31
SmartFusion Software Stack Application Layer
Middleware TCP/IP HTTP SMTP DHCP LCD
Customer Secret Sauce
OS/RTOS µC/OS-III, RTX, FreeRTOS
TCP/IP, HTTP, SMTP, DHCP, LCD
Drivers Driv
er
Driv
er
et D
river
r Driv
er
M D
river
T D
river
Hardware Abstraction
I2 C D
SP
I
Eth
ern
Tim
er
eNV
M
UA
RT
Hardware Abstraction Layer
Hardware Platform Actel SmartFusion
Actel CMSIS-based HAL
Actel Corporation Confidential © 2010 32
SmartFusion stack accelerates application development
Industry Leading Ecosystem Partners
Actel HAL, drivers and IDE
ARM Cortex-M3 processor Leverage ARM ecosystem
RTOS GNU, Keil and IAR
Compilers and debuggers
EDACompile/
Micrium RTOS, TCP/IP and middleware
pDebug Mentor and Synopsys
Synthesis and simulation
Actel Corporation Confidential © 2010 33
SmartFusion:SmartFusion: Hardware & Solution Kits
Evaluation and Development Kits
$99 – evaluate SmartFusion Evaluate and debug the entire system Tutorials and sample code Tutorials and sample code
to accelerate learning curve
$999 Development Kit $999 Development Kit More on-board memory I/O expansion header External memory expansion headery p Industrial automation interfaces
Actel Corporation Confidential © 2010 35
Mixed-Signal Power Management (MPM)
Demonstrates power management using SmartFusion Power-up, monitor, voltage trim, data log and power-down
All fi bl i t d l GUI t l PC All configurable via standalone GUI tool on PC Configuration changes via changing register values
S SmartFusion MPM solution includes MPM daughter card : attaches to Evaluation kit SmartFusion MPM design example Standalone graphical configurator PC tool: Simplifies analog design
Actel Corporation Confidential © 2010 36
xTCA Hardware Platform Management
SmartFusion-based solutions for the xTCA™ marketfor the xTCA market
IPM Controllers (IPMCs) for ATCA boards
Carrier IPMCs for ATCA AMC carrier boards
Module Management Controllers for AMC modules
Pigeon Point Systems, An Actel Company,http://www.pigeonpoint.com/
Actel Corporation Confidential © 2010 37
ga dominant supplier of hardware platform management
Motor Control: Co-processing Benefit
Actel Corporation Confidential © 2010 38
Efficient co-processing performance between FPGA and MCU
SmartFusion Motor Control Partners
Power and Control Design, Incorporated (PCD)www.powerandcontroldesign.com
TRINAMIC M ti C t l G bH & C TRINAMIC Motion Control GmbH & Co. www.trinamic.com
Actel Corporation Confidential © 2010 39
Summary
SmartFusion is the only device of its kind FPGA + MCU subsystem + programmable analog
Innovative, intelligent, integration made possible by Actel’s unique flash technology
Easy-to-use tools for both FPGA and embedded designers
In production now
For more information: www.actel.com/SmartFusion
Actel Corporation Confidential © 2010 40
For Hands-on & Online Trainings : www.actel.com/training