Module 5 (ch-2)notes
Module 5 (ch-2)notes
Behavioral level
Structural (circuit) level
Physical (layout) level
These stages are part of a structured design flow that transforms a high-level problem
specification into a working silicon chip.
To maintain clarity and avoid errors, the design flow must handle abstractions and
descriptions consistently at each level.
Tools simplify the flow by automating steps like simulation, synthesis, and layout.
Use of abstractions and constraints reduces complexity and speeds up design.
Helps manage repetition and optimization in large, complex VLSI systems.
Design Strategy
The goal is to choose the most efficient design flow that leads to a reliable and testable chip
with minimal effort and maximum performance.
(a) CURRENT DESIGN APPROACH
This is the traditional method that many designers follow, which involves multiple manual
steps and iterative simulations to ensure correctness at each stage.
1. Problem Specification
2. Architecture Definition
Decide the overall system architecture (e.g., processor type, memory structure, data
paths).
3. Simulate & Compare
4. Logic Design
Create the logical representation using Boolean expressions, truth tables, or state
machines.
Define how the system will behave logically.
6. Circuit Design
8. Layout
Design the physical layout of the chip, placing and routing components.
Translate the schematic into a geometrical representation suitable for fabrication.
Note: This approach involves multiple iterations and manual simulations at each stage,
making it time-consuming and error-prone.
This method represents a streamlined, automated design flow using high-level synthesis
tools and compilers. It's the vision for the future of digital design.
1. Problem Specification
As in the current method, the design begins with defining what the system should do.
2. Behavioral Compiler
3. Behavioral Description
A high-level description of the system's behavior (not logic gates, but algorithms or
operations like "add" or "compare").
4. Structural Compiler
6. Physical Compiler
Automatically converts the structural design into a physical layout (placement and
routing).
It handles delays, area, power, and other physical constraints.
8. FAB (Fabrication)
Note: This approach eliminates the need for repeated manual simulations and comparisons at
each step. The compilers take care of translation, verification, and optimization, making
the flow faster, more reliable, and less error-prone.
Structured design strategies
Objective of Structured Design
Goal: Reduce the complexity of IC design so that even non-experts can design efficient chips.
Inspired by Mead and Conway, structured strategies aim to make the chip design process
more systematic and manageable.
1. Hierarchy
In design flow:
Used during design entry and planning to organize and structure the chip design process.
2. Modularity
In design flow:
Supports RTL design, where different blocks (ALU, control unit, etc.) are developed
separately.
3. Regularity
In design flow:
Used in physical design and layout generation, where repeated blocks are placed and
routed.
4. Locality
Locality means making sure each part does most of its work on its own—without
needing to talk too much to far-away parts.
This keeps the connections short and simple (less "global wiring").
It helps the machine run faster, and it's easier to fix if something goes wrong.
Also, if two parts often work together, it's smart to place them near each other.
In design flow:
Important in floorplanning and placement steps to reduce interconnect delay and wiring
complexity.
Design styles
HANDCRAFTED MASK LAYOUT:
A gate array is design where most of the transistor structures and layers are pre-
manufactured, and only a few metal layers are customized to create the desired logic
function. The metal layers define how these transistors are connected to form the logic circuit
the customer needs.
A key disadvantage of gate arrays is the predefined location of transistors. Because the
silicon wafer comes with transistors already diffused (placed), you can’t move them to
optimize for space or logic density.
As a result:
Routing Channels:
These are spaces left between rows of cells for placing metal interconnects. You need enough
channels to connect all gates without congestion.
Has fixed empty spaces (channels) between rows of transistors for wiring.
Easier to route wires but takes more chip area.
Layout is simple and predictable.
No fixed wiring spaces; wires run over the transistors using multiple metal layers.
Saves chip area, so the chip is smaller and cheaper.
Routing is more complex and needs advanced tools.
TYPICAL gate array Floor Plan:
Fig a:
Core (Centre Area):
is the main part of the chip where all the logic work happens.
filled with logic cells — tiny building blocks that perform basic operations like AND,
OR, NOT, etc.
Phase 3: Fabrication
10. Intersil fabricates chips, tests them, packages, and ships prototypes.
This flow ensures the gate array design is correct, optimized, and ready for fabrication.
STRAND CELL DESIGN:
They are pre-designed and stored in a library by the foundry or EDA tool provider
(like Synopsys, Cadence).
Symbolic layout methods are high-level techniques ,Instead of immediately designing the
chip at the geometric (physical) level, symbolic layout allows you to represent circuit
components and their connections abstractly.
Instead of defining exact geometries (like metal/poly layers), symbols are used to
represent cells, wires, power rails, and contacts.
Designers define logical structure and interconnections between blocks.
The CAD tools later translate (compile) this symbolic representation into mask-level
geometric layout (actual layers for fabrication).
DESIGN FOR TESTABILITY (DFT)
Design for Testability (DFT) is a technique used in digital circuit design to make it easier to
test whether the hardware is working correctly after manufacturing.
Stuck-at Faults:
The most fundamental and widely used fault model is the stuck-at fault. This model assumes
a single fault in a circuit that forces a particular net (wire) to be stuck at either a logic 0 or a
logic 1, regardless of the intended signal. Imagine a broken wire stuck in the ground (logic 0)
or a faulty transistor permanently turned on (stuck-at-1). Stuck-at faults can be further
categorized as:
1. Controllability
o It is the ability to set a particular node (point) in the circuit to 0 or 1.
o Example: If you can force a flip-flop to 0 or 1 through inputs, it's controllable.
o Helps in applying test patterns.
2. Observability
o It is the ability to observe the value of an internal node from outside the
circuit.
o Example: If a change at a node reflects at the output, it is observable.
o Helps in detecting faults.
Ad Hoc Testing:
A design made by repeating small blocks (slices) to create bigger circuits (e.g., 4-bit
ALU made of four 1-bit slices).
Type Description
C-testable Needs constant number of test patterns, no matter how many blocks.
I-testable All blocks give the same output for the same input. Easy to compare.
CI-testable Combines both above. Most efficient testing.
Fig (a) Basic 1-bit counter cell with inputs (CI), outputs (CO), and a flip-flop (FF).
Fig (b) Modified version with:
o A 2:1 multiplexer (MUX)
o Extra gates for controlling and comparing values
o Added logic makes it I-testable (same test works for all cells)
Level-sensitive scan design (LSSD) is a DFT scan design method in which latches are used
in pairs, the two latches form a master/slave pair.
Normal-Mode: clk1 is on and data input is taken as input . we receive output at Q.
Clk2 and clk3 are off. It work as normal D flip flop.
Scan Mode: clk2 and clk3 are on and scan input is given as input .we receive output at scan
out. Clk1 is off. It works as scan D flip flop.
COMPONENTS:
MUX: Multiplexer to select between functional data input and feedback data (for
LFSR)
XOR gates: Used for LFSR feedback logic
AND gates: Controlled by control signals (C0 and C1)
Flip-flops (D-type): Store the state Q1, Q2, Q3
Control Lines (C0, C1): Define the operating mode of the BILBO
OPERATING MODES:
Controlled by C1 and C0, which select one of the four modes of operation:
C1 C0 Mode Function
DATA FLOW:
The MUX takes Din or the XOR of outputs from flip-flops (used during test modes).
Selection controlled by the XOR gate and control signals.
2. AND Gates:
Control signals C0 and C1 ANDed with a1, a2, a3 to selectively enable feedback
paths.
3. Feedback and XORing:
The XOR gates combine feedback from previous stages to generate new inputs in
LFSR mode.
4. Flip-Flops: