Introduction To System On Chip
Introduction To System On Chip
February 2022
Introduction
• Technological Advances
▫ today’s chip can contains 100M transistors to billions.
▫ 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 (System on Chip)
• SoCs are having a similar effect as ASICs, except the scale is
larger.
• 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 (System on Chip)
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 stack Integrated
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 (System on Chip)
7
SoC: Evolution
• Technologies implementing embedded systems
evolved from micro-controllers and discrete
components to fully integrated SoCs
System on a Chip
System on a board
SoC: Evolution Problems
Emerging new technologies:
– Greater complexity
– Increased performance
– Higher density
– Lower power dissipation
Key Challenges
– Improve productivity
– HW/SW co-design
– Integration of analog & RF IPs
– Improved DFT
Evolutionary techniques:
- IP (Intellectual Property) based design
- Platform-based design
System on Chip interconnection
• Design reuse is facilitated if “standard” internal connection buses
are used.
• These include:
– Lower cost per gate.
– Lower power consumption.
– Faster circuit operation.
– More reliable implementation.
– Smaller physical size.
– Greater design security.
17
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
SoC Design
Time and design effort required to integrate different types
of components on a chip: a bottleneck for SoC evolution
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
• But:
▫ No relation guaranteed between simulation and further
implementation
▫ Not meant for code production
▫ Formalisms: Matlab/Simulink, SystemC/C++,…
24
• RTL Design
▫ Converts user specification into register level description.
▫ Describes exact behavior of the chip, with I/O.
▫ 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
Platforms
• Embedded Applications built using
▫ Common architectural blocks and
▫ Customized application specific components
• Common architectures
▫ Processor, memory, peripherals, bus structures
Platform-based SoC
• Platform-based SoCs are systems embedded on a chip that contain:
Classes of Platforms
1. Full Application Platforms
▫ Platforms that let derivative product designers create
applications on top of hardware-software architectures
A set of hardware modules
Example: Complex dual processor architecture with
hierarchical bus system tailored to a specific product’s
requirements
A layer of firmware and driver software
Examples: Philips’ Nexperia, TI’s OMAP
29
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
- at 0.5 year mark : first prototypes Design with off-the shelf cores
- 1 year : ship with low margins/loss - at 0.5 year mark : first prototypes
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 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.
Solution: modeling of
several alternative
architectures
ASIC Typical Design Steps
Top Level Design Typical ASIC design
Unit Block Design can take up to two
Unit Block Verification
years to complete
Integration and Synthesis
Trial Netlists
Timing Convergence
& Verification
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
combination
al 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