Professional Documents
Culture Documents
Massimo Violante
Politecnico di Torino
Dip. Automatica e Informatica
Torino, Italy
Outline
n The reference architecture
n Processor families
Outline
n The reference architecture
n Processor families
Reference architecture internals
ARM, PowerPC, Intel,
NOR flash
ECU
Boot Flash
CPU
RAM
Memory Mass
Memory
I/O Flash
Boot Flash
I/O Mass
RAM Memory
Memory Flash
Read/Write*/
STB*/ACK*
5
Outline
n The reference architecture
n Processor families
Processor families
2 GHz
Hybrid
Performance
Microprocessor
120 MHz
Microcontroller
50 MHz
1$ 10 $ 20 $ 500 $
Cost 7
Processor families
n Microcontroller
n Embeds SRAM/Flash/Peripherals/Real-time Clock
n Needs only oscillator and power supply
n Suitable for low-cost bill of material
n Microprocessor
n Needs external RAM/Flash
n May include peripherals and memory interface
n May require bridge (more later)
8
Processor families
n Digital signal processor
n Same as microprocessor
n Optimize for specific applications
n Hybrid
n Microprocessor + Microcontroller
n Microprocessor + Microcontroller + DSP
n Microprocessor + FPGA
n Microprocessor + GPU
9
Processor families
10
Microcontroller
n Embeds SRAM/Flash/Peripherals/Real-time Clock
n Needs only oscillator and power supply
n Suitable for low-cost bill of material
PCB
Power
Supply
MCU
Oscillator
11
An example
12
ST STM32F7
13
5LFKFRQQHFWLYLW\DQG+0,HQDEOHG0&8ZLWKDQWLWDPSHUFDSDEL
Kinetis
Kinetis K70
K70 Family
Family Freescale Kinetis K70
Core System Memories Clocks
Internal and Program Flash SRAM Phase-Locked
ARM Cortex-M4 External (512 KB to 1 MB) (128 KB) Loop
120/150 MHz Watchdogs
FlexMemory External Frequency-
Debug Memory (512 KB) Bus Interface Locked Loop
DSP Protection Unit
Interfaces (16 KB EE) (FlexBus)
(MPU) Low/High-
Interrupt Floating Point Serial Cache Frequency
Controller Unit (FPU) Programming Oscillators
DMA Interface
(EzPort) DDR Controller Internal
Low-Leakage Reference
Wake-Up Unit NAND Flash Clocks
Controller
IEEE 1588
Timer
14
7KH.0&8IDPLO\LVDKLJKO\LQWHUJUDWHG 86%FRPSOLDQW27*PRGXOHZLWKLQWHJUDWHG
*HQHUDOSXUSRVHORZSRZHUPL[HGVLJQDO0&8
KinetisK10
Kinetis K10 Family
Entry Level Baseline MCUs Freescale K10 T
7
Core System Memories Clocks
Internal and Program Flash SRAM Phase-Locked I
ARM Cortex-M4 Loop
External (32 to 128 KB) (8 or 16 KB)
50 MHz
Watchdogs Frequency-Locked
M
FlexMemory Serial Programming Loop
Debug
Interfaces
DSP DMA (Up to 32 KB) Interface (EzPort)
Low/High-Frequency
S
(2 KB EE) Oscillators
Interrupt Low-Leakage p
Controller Wake Up Unit Internal Reference
Clocks f
Security Analog Timers Communication Interfaces HMI D
and Integrity
Cyclic
16-bit ADC FlexTimer I2C I2S GPIO c
Redundancy Analog Comparators
Check (CRC) Carrier Modulator
UART
Xtrinsic
Low Power
c
Transmitter SPI
6-bit DAC (ISO 7816 + LON) Touch-Sensing
Programmable Interface Q
Voltage Reference Delay Block
Periodic Interrupt K
Timers
Low-Power
Timer
Independent
Real-Time
Clock (RTC)
Optional
7KH.0&8IDPLO\LVWKHHQWU\SRLQWLQWR Features
15
WKH.LQHWLVSRUWIROLR'HYLFHVVWDUWIURP 8SWR0+]$50&RUWH[0FRUH
2. Overview
MEMORY INTERFACE
MSEO[1..0] INTERFACE
EVTI_N
AVR32UC CPU
EVTO_N NEXUS
TCK CLASS 2+
MEMORY PROTECTION UNIT
TDO JTAG OCD 32/16 KB
TDI INTERFACE INSTR DATA SRAM
TMS
DATAOUT INTERFACE INTERFACE
RESET_N aWire
M M M S
CONTROLLER
S/M
SAU
256/128/64
FLASH
HIGH SPEED KB
BUS MATRIX S FLASH
DP USB 2.0 S
Interface M
8EP
S S
DM
PERIPHERAL
HSB-PB HSB-PB
DMA
BRIDGE B BRIDGE A
CONTROLLER
GENERALPURPOSE I/Os
DIS
POWER MANAGER VDIVEN
CAPACITIVE TOUCH
DMA
CSA[16:0]
CLOCK MODULE CSB[16:0]
PA SMP
PB
CONTROLLER SYNC
SLEEP USART0
CONTROLLER USART1 RXD
DMA
TXD
USART2 CLK
RESET USART3 RTS, CTS
CONTROLLER
SCK
DMA
MISO, MOSI
GCLK_IN[2..0] SPI
GCLK[9..0] NPCS[3..0]
DMA
TWD PA
RC120M TWI MASTER 1 PB
SYSTEM CONTROL TWALM
XIN32
XOUT32 OSC32K INTERFACE
TWCK
XIN0
OSC0 TWI SLAVE 0
DMA
XOUT0 TWD
TWI SLAVE 1
DFLL TWALM
PLL ADP[1..0]
8-CHANNEL ADC
DMA
TRIGGER
INTERFACE AD[8..0]
ADVREFP
ISCK
IWS
INTER-IC SOUND
DMA ISDI
INTERRUPT CONTROLLER ISDO
IMCK
CONTROLLER
CLK
EXTERNAL INTERRUPT AUDIO BITSTREAM
DMA
ACBP[3..0]
PWMA[35..0] PWM CONTROLLER ACBN[3..0]
AC INTERFACE ACAP[3..0]
ACAN[3..0]
ASYNCHRONOUS ACREFN
TIMER
GLUE LOGIC OUT[1..0]
WATCHDOG IN[7..0]
CONTROLLER
TIMER
16
Freescale MPC564xL
17
Freescale MPC5777M
18
Microprocessor/DSP
n Needs external RAM/Flash
n May include peripherals and memory interface
n May require bridge to interface microprocessor/DSP
with external memory
PCB
Power
Supply
CPU/DSP Bridge Memory
Oscillator
19
An example
Memory
Processor
20
standard x8 DDR3 devices.
The SoC also features a 512 Kbyte on-die embedded SRAM (eSRAM) that can be
CPU Core
Clock
eSRAM
JTAG Host Bridge
DDR3
Memory
Controller
UART
HPET
GPIO
SDIO
APIC
ROM
PMC
8254
8259
RTC
SPI
SPI
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
21
Introduction
IO JTAG
1MiB L2 1MiB L2
Video P-Unit
IO
3D Graphics SVID
DDI SoC
Display
IO 2
Channel
Controller
Transaction
Memory
IO
0
IO VGA Router
Channel IO
1
MIPI-CSI
Camera
IO 3
ISP
IO GPIO Integrated Clock O
IO HD Audio APIC
8259
ILB
8254 O
RTC IO
O 2 PWM
GPIO IO
IO 2 HSUART
SIO
LPC IO
IO SPI
PMC IO
IO 7 I2C I/O
SPI IO
Fabric
UART IO
IO 4 PCIe*
SMB IO
1/2.0 (HS/FS) 4 IO
2.0 (HSIC) 2 IO
3.0 (SS) IO
USB
Dev
23
Freescale PowerPC 7448
2
Overview
Additional Features 128-Bit (4 Instructions)
Instruction Unit Instruction Queue Instruction MMU
Time Base Counter/Decrementer
Clock Multiplier (12-Word) SRs 128-Entry
Branch Processing Unit Fetcher
JTAG/COP Interface (Shadow) ITLB 32-Kbyte
Thermal/Power Management BTIC (128-Entry) CTR Tags
I Cache
Performance Monitor IBAT Array
Out-of-Order Issue of AltiVec Instr. BHT (2048-Entry) LR
Dispatch
Unit Data MMU
32-Kbyte
Completion Unit 96-Bit (3 Instructions) Tags
SRs 128-Entry D Cache
Completion Queue (Original) DTLB
(16-Entry) VR Issue GPR Issue FPR Issue
(4-Entry/2-Issue) (6-Entry/3-Issue) (2-Entry/1-Issue) DBAT Array
MPC7448 RISC Microprocessor Hardware Specifications, Rev. 4
Reservation
Stations (2-Entry)
EA
Figure 1. MPC7448 Block Diagram
Completes up Vector
to three Touch Load/Store Unit
instructions Queue PA
per clock Reservation Reservation
Reservation Vector Touch Engine Reservation
Reservation
Stations (2) Station
Station
Station + (EA Calculation) Stations (2)
VR File GPR File FPR File
Memory Subsystem
L1 Store Queue
1-Mbyte Unified L2 Cache Controller System Bus Interface
(LSQ)
L1 Service Line Block 0 (32-Byte) Load
Block 1 (32-Byte)
Queues Tags Status Queue (11) Bus Store Queue
L1 Load Queue (LLQ) Status
Castout
Queue (5) /
L1 Load Miss (5)
Freescale Semiconductor
Push
L2 Store Queue (L2SQ) Queue (6)1
L2 Prefetch (3) L1 Castouts Snoop Push/
(4) Interventions
Instruction Fetch (2)
Bus Accumulator
Cacheable Store Miss (2)
36-Bit 64-Bit
Notes: The Castout Queue and Push Queue share resources such for a combined total of 6 entries.
The Castout Queue itself is limited to 5 entries, ensuring 1 entry will be available for a push.
Address Bus Data Bus 24
Freescale QorIQ P1010
25
Freescale P2040
26
Freescale T4240
27
Freescale i.MX6
28
www.ti.com SPRS717G OCTOBER 2011 REVISED JUNE 2014
TI AM335x
1.4 Functional Block Diagram
Figure 1-1 shows the AM335x microprocessor functional block diagram.
Graphics Display
ARM
Cortex-A8 PowerVR 24-bit LCD controller
Up to 1 GHz SGX
3D GFX Touch screen controller
Crypto PRU-ICSS
32K and 32K L1 + SED
256K L2 + ECC EtherCAT, PROFINET,
64K EtherNet/IP,
176K ROM 64K RAM shared and more
RAM
L3 and L4 interconnect
29
Figure 1-1. AM335x Functional Block Diagram
AM5K2E04, AM5K2E02
Multicore ARM KeyStone II System-on-Chip (SoC)
SPRS864CAugust 2014
Boot ROM
32KB L1 32KB L1 32KB L1 32KB L1
Semaphore P-Cache D-Cache P-Cache D-Cache
HyperLink TeraNet
Multicore Navigator
Queue Packet
Manager DMA
Network Coprocessor
3-Port 9-Port Security
Ethernet Ethernet Accelerator
2! USB 3.0
2! PCIe !2
GPIO !32
2! UART
EMIF16
3! SPI
Switch Switch
3! I2C
USIM
TSIP
Packet
Accelerator
10GBE
10GBE
10GBE
1GBE
1GBE
1GBE
1GBE
1GBE
1GBE
1GBE
1GBE
30
TMS320C6655/57
Fixed and Floating-Point Digital Signal Processor
SPRS814AAugust 2012
TI TMS320C6655/57
www.ti.com
TCI6655/57
Memory Subsystem
1MB
32-Bit MSM
DDR3 EMIF SRAM
MSMC
Boot ROM
2nd core, C6657 only
Semaphore
Timers
C66x
Security /
Key Manager
CorePac
Coprocessors
Power
Management
32KB L1 32KB L1
P-Cache D-Cache TCP3d
PLL
!2 1024KB L2 Cache
VCP2 !2
EDMA
1 or 2 Cores @ up to 1.25 GHz
HyperLink TeraNet
Multicore Navigator
Queue Packet
Manager DMA
McBSP !2
UART !2
SRIO !4
PCIe !2
Ethernet
EMIF16
GPIO
UPP
SPI
I2C
MAC
SGMII
31
Hybrid
n Microprocessor + Microcontroller
n Microprocessor + Microcontroller + DSP
n Microprocessor + FPGA/
n Microprocessor + GPU
PCB
Power
Supply
Hybrid Bridge Memory
Oscillator
32
Multicore DSP+ARM KeyStone II System-on-Chip (SoC)
SPRS866ENovember 2013
66AK2H14
Memory Subsystem C66x
C66x
C66x
C66x
6MB C66x
C66x
C66x
C66x
CorePac
72-Bit
MSM CorePac
CorePac
CorePac
CorePac
DDR3 EMIF
SRAM CorePac
CorePac
CorePac
72-Bit 32KBL1
32KB L1 32KB
32KBL1 L1
MSMC 32KB
32KB
32KB
L1 32KB
L1
L1
P-Cache
32KBL1
32KB
L1
L1
D-Cache
DDR3 EMIF 32KB
32KB L1
P-Cache
L1
P-Cache 32KB
32KB L1
D-Cache
L1
D-Cache
32KB L1
P-Cache 32KB
P-Cache D-Cache L1
D-Cache
D-Cache
P-Cache
P-Cache D-Cache
P-Cache 1024KB D-Cache
L2Cache
Cache
1024KB
1024KB L2
L2 Cache
Debug & Trace 1024KBL2
1024KB L2Cache
Cache
1024KB
1024KB L2 L2 Cache
L2 Cache
Cache
1024KB
ARM ARM
PLL
A15 A15
5! 32KB L1 32KB L1 32KB L1 32KB L1
P-Cache D-Cache P-Cache D-Cache
EDMA
8 C66x DSP Cores @ up to 1.2 GHz
5! 4 ARM Cores @ up to 1.4 GHz
2! HyperLink TeraNet
Multicore Navigator
Queue Packet
Manager DMA
2! UART
SRIO !4
Switch
PCIe !2
Switch
USB 3.0
EMIF16
3! SPI
3! I2C
Packet
Accelerator
10GBE
10GBE
10GBE
1GBE
1GBE
1GBE
1GBE
Network
Coprocessor
33
Zynq-7000 All Programmable SoC Overview
UART
UART
CAN
OCM 256K
CAN
Interconnect SRAM
I2C
I2C Memory
SPI Central Interfaces
SPI Interconnect DDR2/3,
CoreSight DDR3L,
Memory
Interfaces Components LPDDR2
Controller
SRAM/
NOR
DAP
ONFI 1.0
NAND DevC Programmable Logic to
Q-SPI Memory Interconnect
CTRL
35