Digital Design: An Embedded Systems Approach Using Verilog: Implementation Fabrics
Digital Design: An Embedded Systems Approach Using Verilog: Implementation Fabrics
An Embedded Systems
Approach Using Verilog
Chapter 6
Implementation Fabrics
Verilog
Integrated Circuits
Early digital circuits
Relays, vacuum tubes, discrete transistors
Integrated circuits (ICs, or “chips”)
Manufacture of multiple transistors and
connections on surface of silicon wafer
Invented in 1958: Jack Kilby at Texas
Instruments (TI)
Rapid growth since then, and ongoing
IC Manufacture: Wafers
Start with ingot of
pure silicon
Saw into wafers &
polish
Early wafers:
50mm
Now 300mm
IC manufacture: Processing
Chemical processing steps based on
photolithography
Ion implantation
Etching a deposited film
SiO2, polysilicon, metal
resist
mask
film
wafer
(a)
(b)
Exponential Trends
Circuit size and complexity depends on
minimum feature size
Which depends on manufacturing process
Mask resolution, wavelength of light
Process nodes (ITRS Roadmap)
350nm (1995), 250nm (1998),
180nm (2000), 130nm (2002),
90nm (2004), 65nm (2007), 45nm (2010),
32nm (2013), 22nm (2016), 16nm (2019)
Smaller feature size denser, faster
74LS08 glue
A a
CP CP0 Q0 A a
CP1 Q1 B b
Q2 C c
MR Q3 D d
e
+V f
LT g
RBI RBO
+V
CP0 Q0 A a
CP1 Q1 B b
Q2 C c
MR Q3 D d
e
+V f
LT g
RBI RBO
+V
CP0 Q0 A a
CP1 Q1 B b
Q2 C c
MR Q3 D d
e
+V f
LT g
RBI RBO
+V
CP0 Q0 A a
CP1 Q1 B b
Q2 C c
MR MR Q3 D d
e
+V f
LT g
RBI RBO
ASIC Economics
ASIC has lower unit cost than an FPGA
But more design/verification effort
Higher non-recurring engineering (NRE) cost
Amortized over production run
ASICs make sense for high volumes
Full custom
Design each transistor and wire
High NRE, but best performance & least area
Standard cell
Use basic components from a foundry’s library
PAL16L8
… I8 · I10
26
22
23
24
25
27
28
29
30
31
0
1
2
3
4
5
6
7
8
9
0
1
I1 · I2 + I3 · I10 2
3
4 O1
5
6
7
I2 I1
8
9
10
11
12 IO2
13
14
15
I3
…
…
48
49
50
51
52 IO7
53
54
55
I8
56
57
58
59
60 O8
61
62
63
I9 I1 0
AND D Q
array clk Q
10
E.g., GAL22V10
Programmable
AND array
OLMC
…
10
…
OLMC 0
1
…
D Q 2
SP 3
8
AR Q
clk
OLMC
0
1
M/C
I/O block
M/C
AND M/C
Interconnection network
array
…
M/C
Embedded
PAL
…
FPGAs
Field Programmable Gate Arrays
Smaller logic blocks, embedded SRAM
Thousands or millions of equivalent gates
… …
IO IO IO IO … … IO IO
IO LB LB LB LB … … LB LB IO
RAM
IO LB LB LB LB … … LB LB IO
IO LB LB LB LB … … LB LB IO
RAM
IO LB LB LB LB … … LB LB IO
…
…
…
…
IO LB LB LB LB … … LB LB IO Programmable
RAM
IO LB LB LB LB … … LB LB IO interconnect
IO IO IO IO … … IO IO
… …
Too complex to
an d S
G4 I4 O
G3 I3
Co n tro l
Lo g ic
D
CE
Q YQ
G2 I2
program LBs
G1 I1 clk
R
manually
F5 IN
BY
SR
XB
the interconnect BX
CIN
CE
CLK
I/O Blocks
registered or D
CE
Q 1
+V
combinational
clk
input/output, plus
0
D Q 1
tristates
CE
clk
Programmable logic
levels, slew rate, D
CE
Q
Platform FPGAs
Include embedded cores for special
applications
Processor cores
Signal processing arithmetic cores
Network interface cores
Embedded software can run from SRAM
in the FPGA
Single-chip solution, reduces cost
Avoids high NRE of ASIC
04-06-2021 Mrs. Swetha B V DSDV(15/17EC81) 24
Verilog
Structured ASICs
Array of very simple logic elements
Not programmable, no programmable
interconnect
Customized by designing top metal
interconnection layer(s)
Lower NRE than full ASIC design
Performance close to full ASIC
May become popular for mid-volume
applications
04-06-2021 Mrs. Swetha B V DSDV(15/17EC81) 25
Verilog
IC Packages
ICs are encapsulated in protective
packages
External pins for connected to circuit board
Bond-wires or flip-chip connections
Through-Hole PCBs
IC package pins pass through drilled
holes
Soldered to PCB wires that join the hole
Signal Integrity
Signals propagate over bond wires,
package pins, PCB traces
Various effects cause distortion and noise
Signal integrity: minimizing these effects
Propagation delay in PCB trace
≈½c ≈150mm/ns
If two traces differ in length
Skew at arrival point can be significant
Careful PCB design needed
Ground Bounce
Transient current flows when an output
switches logic level
Parasitic inductance causes
voltage shift on power supply
+V
Minimizing Bounce
Bypass capacitors between ground and +V
0.01µF – 0.1µF, close to package pins
Separate PCB planes for ground and +V
Limit output slew rate
Trade off against
high slew-rate
propagation delay
slew rate limited
signal layer
power plane
signal layers Vth
ground plane
signal layer
2.5V VOH
2.0V VIH
1.5V
1.0V ringing
VIL
0.5V VOL
0.0V
undershoot
Electromagnetic Interference
Transitions cause electromagnetic fields
Energy radiated from PCB traces
Induces noise in other systems
Subject to regulation
Crosstalk
Radiation to other traces in the system
Particularly adjacent parallel traces
PCB layout and slew-rate limiting can
minimize both
04-06-2021 Mrs. Swetha B V DSDV(15/17EC81) 35
Verilog
Differential Signaling
Reduces susceptibility to noise
Transmit a signal (SP) and negation (SN)
At receiver, sense difference between them
SP – SN
Noise induced on both SP and SN
(SP + VNoise) – (SN + VNoise) = SP – SN
SP
S
SN
Summary
Exponential improvements in IC
manufacturing
SSI and MSI TTL logic families
ASICs: full-custom and standard cell
PALs, CPLDs, FPGAs, platform FPGAs
IC packages for PCB assembly
Through-hole and surface mount
Signal integrity