Introduction To System On Chip
Introduction To System On Chip
Introduction
• Technological Advances
▫ today’s chip can contains 100M transistors .
▫ transistor gate lengths are now in term of nano meters .
▫ approximately every 18 months the number of transistors on
a chip doubles – Moore’s law .
• The Consequences
▫ components connected on a Printed Circuit Board can now
be integrated onto single chip .
▫ hence the development of System-On-Chip design .
What is Soc
• SoCs are having a similar effect as ASICs, except
the scale is larger.
• The promise of an efficient “mix-and-match”
approach to product development, enabled at a
new level of design abstraction, holds the
potential to dramatically reduce the time, costs
and resources required to introduce new
products at consumer-market pace.
What is SoC ?
People A:
The VLSI manufacturing technology advances has made possible to put
millions of transistors on a single die. It enables designers to put systems-
on-a-chip that move everything from the board onto the chip eventually.
People B:
SoC is a high performance microprocessor, since we can program and
give instruction to the uP to do whatever you want to do.
People C:
SoC is the efforts to integrate heterogeneous or different types of silicon
IPs on to the same chip, like memory, uP, random logics, and analog
circuitry.
All of the above are partially right, but not very accurate!!!
What is SoC ?
SoC not only chip, but more on “system”.
SoC = Chip + Software + Integration
The SoC chip includes:
Embedded processor
ASIC Logics and analog circuitry
Embedded memory
The SoC Software includes:
OS, compiler, simulator, firmware, driver, protocol stackIntegrated
development environment (debugger, linker, ICE)Application interface
(C/C++, assembly)
The SoC Integration includes :
The whole system solution
Manufacture consultant
Technical Supporting
What is SoC ?
7
SoC
• (System On a Chip) The electronics for a
complete, working product contained on a single
chip
• Complex functionalities that previously required
heterogeneous components to be connected on a
PCB, are integrated within one single silicon
chip
8
SoC: Evolution
• Technologies implementing embedded systems
evolved from micro-controllers and discrete
components to fully integrated SoCs
• Reason: advances in silicon process technology
enabling a complete system to be designed into
one or few integrated devices
▫ Space and Power reductions
▫ Increased Performance
Evolution of Microelectronics: the SoC Paradigm
Silicon Process Technology
• 0.13μm CMOS
• ~100 millions of devices, 3 GHz internal Clock
Paradigm Shift in SoC Design
System on a Chip
System on a board
Evolutionary Problems
Emerging new technologies:
– Greater complexity
– Increased performance
– Higher density
– Lower power dissipation
Key Challenges
– Improve productivity
– HW/SW codesign
– Integration of analog & RF IPs
– Improved DFT
Evolutionary techniques:
- IP (Intellectual Property) based design
- Platform-based design
System on Chip interconnection
Features of SoC
Typically SoC incorporates
▫ A programmable processor
▫ On-chip memory
▫ Accelerated Functional Units (e.g., Digital
Encryption Standard block, MPEG2 decoder)
▫ Peripheral devices
Often mixed technology designs integrating
▫ Analog, RF Components
▫ Micro-electro-Mechanical Systems (MEMS)
▫ Optical input/output
20
SoC Design
Time and design effort required to integrate
different types of components on a chip: a
bottleneck for SoC evolution
Design reuse to reduce time to market
▫ Use of parts from previous designs
▫ Making use of parts designed by third parties
Hardware and Software component model!
▫ All for PROVEN and tested solutions, avoiding re-
design and re-verification of real-time hardware
and real-time software
21
Global testing
(Initial) specification
IP component
reuse Component design
/ programming Component testing
libraries
Implementation
23
Simulation models
Sometimes physical prototypes, sometimes software
approximation of desired system
• Very helpful for:
▫ Tuning the specification (runs faster than full implementation)
▫ Predicting the system’s behavior and suggesting tests
▫ Performing crude early analysis of performance and
dimensioning
• But:
▫ No relation guaranteed between simulation and
further implementation
▫ Not meant for code production
▫ Formalisms: Matlab/Simulink, SystemC/C++,…
24
• ESL Design
▫ User functional level description
▫ C/C++, SystemC + TLM, Simulink, Matlab, UML.
• RTL Design
▫ Converts user specification into register level
description.
▫ Describes exact behavior of the chip, with I/O cxns.
▫ Verilog, VHDL, SystemC(!)
• Physical Design
▫ Takes the RTL + library of available logic gates
▫ Defines places for gates + wires them
25
IP-based Design
• Intellectual Property Cores
▫ Parameterized components with standard interfaces facilitating
high level synthesis
• Cores available in three forms
▫ Hard
Black-box in optimized layout form and encrypted simulation
model. Example: microprocessors
▫ Firm
Synthesized netlist which can be simulated and changed if
needed
▫ Soft
Register transfer level (RTL) HDLs; user is responsible for
synthesis and layout
26
Platforms
• Embedded Applications built using
▫ Common architectural blocks and
▫ Customized application specific components
• Common architectures
▫ Processor, memory, peripherals, bus structures
• Common architectures and supporting
technologies (IP libraries and tools) together
called as platforms or platform-based designs
• Latest trend in the Embedded Systems
27
Platform-based SoC
• Platform-based SoCs are systems embedded on a
chip that contain
▫ IP blocks like embedded CPU, embedded memory,
▫ Real-world interfaces (e.g., PCI, USB),
▫ Mixed signal blocks and
▫ Software components
Device drivers, real-time operating systems and
application code
28
Classes of Platforms
1. ASIC vendor design: This refers to the design in which all the
components in the chip are designed as well as fabricated by
an ASIC vendor.
2. Integrated design: This refers to the design by an ASIC vendor
in which all components are not designed by that vendor. It
implies the use of cores obtained from some other source
such as a core/IP vendor or a foundry.
3. Desktop design: This refers to the design by a fabless
company that uses cores which for the most part have been
obtained from other source such as IP companies, EDA
companies, design services companies, or a foundry.
SoC Design Challenges
Why does it take longer to design SOCs compared to traditional ASICs?
The key factor that influences TAT for SOCs is system integration (integrating
different silicon IPs on the same IC).
SoC Design Challenges
Proc IP cores
Up to now : collection of chips mem
mem
Ip- USB CPU DSP USB
CPU Sec hub hub
Soft
core
Resusability
portability
flexibility
Firm
core
Hard
core
The design process is the set of design tasks that transform an abstract
specification model into an architectural model.
SoC Co-design Flow
Design Proces
A canonical or generic
form of an SoC design
Type of of specifications:
Formal specifications – the desired characteristics of the design are
defined independently of any implementation.
Executable specifications – are typically an abstract model for the
hardware and/or software being specified, and currently more useful for
describing functional behavior in most design situations.
The System Design
Process
Determining the optimal architecture
(cost and performance) involves a
set of complex decisions, such as:
• What goes in software and what
goes in hardware
• What processor(s) to use, and how
many
• What bus architecture is required
to achieve the required system
performance
• What memory architecture to use
to reach an appropriate balance
between power, area, and speed.
Fabrication
DVT Prep
DVT
6 12 12 4 14 ?? 5 8 Time in Weeks
I/O pads
Main SOC testing challenges
CPU Self-test
core control • Core level test: Embedded cores are
User-defined logic
Memory DSP
tested as a part of the system
I/O pads
I/O pads
array core
• Test access: Due to absence of physical
Legacy Interface access to the core peripheries, electronic
core control
access mechanism required
IP hard Embedded
core DRAM • SOC level test: SOC test is a single
composite test including individual core,
1149.1 TAP controller
and UDL test and test scheduling
There is no standard for OCBs; they are chosen almost exclusively by the
specific application for which they will be used and by the designer's preference.
Therefore,
resource sharing
becomes an issue,
communication between
IPs becomes very
complicated.
82
Philips Nexperia
Philips Nexperia
85
TI OMAP
• Targets
communications 2D/3D Imaging &
ARM11 TMS320C55x Graphics Video
, multimedia. + VFP DSP Accelerator Accelerator
(IVA)
• Multiprocessor
with DSP, RISC L3 Interconnect
L4 Interconnect
LCD
Peripherals
I/F Memory Internal
Security
Camera
Video Controller SRAM
I/F
Out
OMAP2420
86
ST Nomadik
• Targets mobile multimedia.
• A multiprocessor-of-multiprocessors.
87
Open Multimedia
Applications Platform
88
OMAP
• OMAP Application processor has a dual-core
architecture: ARM9 + TMS320C55
• OMAP design chain includes
▫ Software IPs: OMAP supports several
RTOS’s to suit different applications
▫ Application and Middleware: Ported
applications and middleware like MPEG-
4 decoding and audio playback
89
Example Application
• Video-conferencing
▫ C55x DSP can process in real-time full video
conferencing application (audio and video at 15
images/sec) using only 40% of the available
computational capability
Can manage other applications concurrently
▫ ARM processor can handle OS operations and
other OS applications (may be Word, Excel, etc.)
▫ Less power consumption on the whole
93
Peripherals
• Includes numerous interfaces to connect
peripherals or external devices from either the
DSP or GPP
• Some interfaces
▫ Camera and Display interface
Serial unidirectional compact camera port, 8-bit
parallel interface, 8/16 bit bi-directional display
interface, OMAP internal LCD controller
▫ Several Serial interfaces
SPI, McBSP, I2C, USB, UART
94
Software Architecture
• Defines an interface scheme that allows GPP to
be the system master
▫ Called the DSP/BIOS Bridge
• DSP/BIOS Bridge provides communications
between GPP tasks and DSP tasks
• High level application developers use a set of
DLLs and drivers
95
OMAP2
• Includes multiple engines executing multiple tasks
• An ARM 11 based microprocessor runs the OS and
performs supervisory control
• DSP core focuses on audio codecs, echo cancellation and
noise suppression
• 3D graphics engine enables sophisticated graphics
rendering
• Video/imaging accelerator handles streaming MPEG4
video and mega-pixel resolution camera
• Digital baseband processor implements network
communications as a cellular modem handling voice and
data
96
OMAP 2 Architecture
97
OMAP2
All blocks operate simultaneously
▫ No degradation in quality of any service
▫ Devices remain highly responsive
To conserve power each of these subsystems can
be shut down when not used
SoC suited for implementation of Smart Phone
98
TMS320DM310 Architecture
101
Configurable SoC
• Consisting of
▫ Processor
▫ Memory
▫ On-chip reconfigurable hardware parts for
customization to application
• Towards application specific programmable
products
104
FPGA-based RC
• Programmable fabric that can be dynamically
reconfigured
• Mapping to FPGA
▫ Only the time consuming computations are
mapped
▫ Computation expressed in HDL
• Structure
▫ FPGA + Memory
105
Programmable Platforms
• Several
products
incorporate
microprocessor
and FPGA on
one chip
106
Triscent A7 SoC
CSL:
performs
basic
combinational
and
sequential
logic functions
107
Configurable processors
• Configurability:
▫ Processor parameters (cache size,
registers, etc.)
▫ Instructions
• Result:
▫ HDL model for processor.
▫ Software development environment.
The Drawbacks
• The principle drawbacks of SoC design are
associated with the design pressures imposed
on today’s engineers , such as :
– Time-to-market demands .
– Exponential fabrication cost .
– Increased system complexity .
– Increased verification requirements .
Major SoC Applications
• Speech Signal Processing .
• Image and Video Signal Processing .
• Information Technologies
▫ PC interface (USB, PCI,PCI-Express, IDE,..etc)
Computer peripheries (printer control, LCD monitor
controller, DVD controller,.etc) .
• Data Communication
▫ Wireline Communication: 10/100 Based-T, xDSL,
Gigabit Ethernet,.. Etc
▫ Wireless communication: BlueTooth, WLAN,
2G/3G/4G, WiMax, UWB, …,etc