Professional Documents
Culture Documents
Mixed-Signal IC Design Kit Training Manual: Chip Implementation Center
Mixed-Signal IC Design Kit Training Manual: Chip Implementation Center
Training Manual
許志賢
chhsu@cic.edu.tw
(03)5773693 ext 147
1 Mixed-Signal IC Design Kit
Agenda
Day 1
¾ Introduction of Mixed-Signal Simulation
¾ Using Analog Artist Environment for Mixed-Signal Design
Day 2
¾ Layout Integration for Mixed-Signal Design
¾ Verification & Post-Layout Simulation for Mixed-Signal Design
System Software
Environment
Zone 4: Global
Satellite
Embedded Software
Zone 3: Suburban Zone 2: Urban
Zone 1: In-Building
µP/C
Micro-Cell Pico-Cell
Analog
Macro-Cell
Embedded
SoC Systems Design
Memory
SoC IP
Based Design Firmware
CORE
PCB
Design
4 Mixed-Signal IC Design Kit
System in the Real World
Analog is the Real
Sensor
Transmission Actuators
Media
Cable,fiber
antenna
Display
VLSI Image
Power
Source Digital System
Storage Media
Disks, Audio I/O
Tapes
Digital Block
系統分割成數顆晶片,每顆晶片分開設計,再經電路板整合。
為確保系統運作之正確,晶片間之界面規格需經嚴謹之定義。
Analog chip
Transistor level
post simulation
10 Mixed-Signal IC Design Kit
Conventional Design Concept for
Analog Block
Problem of Flow :
Block Definition • Lack of good block description
which reflect the complete block
Circuit Design characteristics for system simulation
• No efficient translator available for
proceeding to the next level
Layout Design • No good methodology to check the
validation of lower level design
Visual Architect
Composer/S-Edit
電路階層設計模擬 Virtuoso/Laker Silicon Ensemble
Calibre
Hspice, SBTspice,
佈局階層設計驗證 DRC/LVS/
Spectre, SMASH
RC Extraction
Calibre
佈局後驗證模擬 TimeMill
DRC/LVS/
RC Extraction
光罩製作
Tapeout
14 Mixed-Signal IC Design Kit
Mixed-Signal Top Down Design Flow
System simulation
Partition
Digital Blocks Analog Blocks
P&R
Layout Integration
Mixed-Level Simulation
With the aims to :
One or some blocks at detailed level Improve simulation efficiency
Abstract models for remaining blocks Reduce design iterations
Analog HDL Digital HDL
Analog Schematic
Low Pass
Filter
DSP
vtone ADC
Analog Layout
Analog Behavior
Power
Amplifier diapragm
macro level
Timemill
SPICE star-time
SPICE +Verilog/VHDL
circuit level
circuit level
Synchronize at minimum
Lock-Step Digital
time step
Analog
Roll-Back2 Digital
Analog
Verilog-A Verilog
Debugger Debugger
use
source /usr/cadence/cic_setup/ic.cshrc Waveform
source /usr/cadence/cic_setup/ldv.cshrc Result Browsing
Display
to define the tool environment
29 Mixed-Signal IC Design Kit
Reference for Affirma Flow
Use cdsdoc or help menu from tool window to invoke the manual
Results
IPC
Verimix
Analog Artist
Verilog-XL Simulation
environment
Waveform Calculator
31 Mixed-Signal IC Design Kit
Mixed-Signal Top Down Design Flow
System simulation
Partition
Digital Blocks Analog Blocks
P&R
Layout Integration
symbol symbol
Instance 4 Instance 5
veriloga verilog
symbol symbol
Instance 4 Instance 5 Wire delay
layout verilog information
Analog Analog
a2d
block block
MOS_a2d
TTL_a2d
CML_a2d
38 Mixed-Signal IC Design Kit
Interface Elements
• Generated automatically for input/output terminals of
digital components
• Model the loading and driving impedance of digital
instance terminals
• Convert voltages to logic levels, and vice versa
• Transport events between two simulators
• No Bi-directional Interface Element provided
• Nonsupply global net can’t be an interface net, ex. clock
net can not drive digital and analog blocks simultaneously
Potential Flow
Disciplines
Nature Access Units Nature Access Units
Electrical Voltage V V Current I A
magnetic Magnetomotive MMF A-turn Flux Phi Wb
force
veriloga
Composer schematic Design Composition
behavioral
Verilog-A Verilog
Debugger Debugger
AWD : Waveform
Display Result Browsing
48 Mixed-Signal IC Design Kit
MS HDL Simulation Flow
Kirchhoff’s Laws
Set
Set of
of Equations
Equations
System
System Response
Response
digital block
analog block
v0
output
symbol +
cdsTerm(“ref”) -
gnd
rlc // VerilogA for mylib, rlc, schematic
veriloga
Digital Stimuli
Analog Stimuli
symbol
Instance 4
veriloga
開啟 hierarchy editor
設定所使用的cell view
顯示 所用的cell view,
及其顏色設定
Schematic editor 中的
Hierarchy-Editor 及 Mixed-
Signal 兩項menu係由選單
Tools->Mixed Signal Opts.
而產生。
設定顯示的顏色及項目
顯示所有的區塊劃分結果
顯示類比電路區塊
顯示數位電路區塊
顯示混合信號電路區塊
(即內同時包含數位及類比電路區塊)
顯示無法歸類之電路區塊
清除所有顯示的內容
開啟 Analog Artist
Simulation 模擬環境
顯示這兩項menu
cdsSpice
cdsSpice
hspiceS
hspiceS
spectre
spectre
spectreS
spectreS
cdsSpiceVerilog
cdsSpiceVerilog
hspiceSVerilog
hspiceSVerilog
spectreSVerilog
spectreSVerilog
spectreVerilog
spectreVerilog
Model Parameters
MOS2_d2a
Model parameters
D2A_VL
D2A_VH
D2A_TR
D2A_TF
D2A_HI_TH
D2A_LOW_TH
D2A_R1
D2A_R2
MOS3_d2a
model parameters
D2A_VL
D2A_VH
D2A_TR
D2A_TF
D2A_TRANS_W : for NMOS
MOS1_a2d A2D_V0
A2D_V1
A2D_TX : voltage between V0 and V1 after TX will yield a logic X
Use tt corner
For Mixed-Signal
simulation, only
tran is meaningful
start simulation
Saved node
voltages
Press middle
button to bring
the menu
Choose plot to
plot the
waveform
Simulation
Netlist
Netlist and
and Run
Run
Run
Run
Stop
Stop
Options
Options
Netlist
Netlist
Output
Output Log…
Log…
Convergence
Convergence Aids
Aids
Netlist
Netlist and
and Debug
Debug AHDL
AHDL
or Debug
Debug AHDL
AHDL
Note : Most of the layout design issues follow the cell-based design
approach, please refer to the Cell-Based Physical Design and
Verification training manual and CIC PDS document PDS-
030612-01-000.pdf
• LEF file
• Verilog file
• CTLF/TLF file
• Definition:
LEF (Library Exchange Format) – pin and boundary information
• Place and Route tool needs pin and boundary information
for block routing.
• The manual layout contains only geometry information,
need to define pin location and information for P&R tool.
Opening
Opening aa Library
Library Set the location where your cell views are stored.
Export
Export LEF
LEF Generate LEF descriptions of the abstracts generated.
LEF
Technology File
GDSII tech.dpux
Editor
DFII
Cadence
Abstract Generator
Import Logical Data
Verilog TLF
• Pins:
– The Abstract Generator creates a place-and-route boundary for the
cell and starting pin shapes for each of the nets to be extracted.
• Extract:
– The Abstract Generator derives which shapes are connected to
which nets by tracing the connectivity from the pin purpose shapes
created during the Pins step.
• Verify:
– During the verify step, terminals are compared for any differences
that might exist between logical and abstract views. Pin and
geometry information on manufacturing grids is checked and each
abstract is tested within the target place-and-route system.
• LEF file
• Verilog file
• CTLF/TLF file
• LEF file
• Verilog file
• CTLF/TLF file
• After preparing the data for SE, standard Place & Route
flow with hard macro can be used for mixed-signal circuit
layout generation.
• The major differences are the I/O pads and power/ground
route.
• 0.35um cell library used TSMC I/O pads for digital pads
and analog pads.
Replace
Layout View qepiclpe35a: replace cell layout view
Generate
Technology File gentech : generate technology file
vi/edit stimulus file, configuration
Edit Files commands
Timemill
powrmill perform simulation
Output
155 Mixed-Signal IC Design Kit
Timemill Input Stimulus File
• Create input stimulus file which specify type of input signals
SIN voltage source
– TimeMill syntax:
(t=VSIN)(en=element_name)(so=n+)(dr=n-)(v=dc,pa,<freq,<td,<df,<pd>>>>);
– SPICE syntax:
Vname n+ n- dc SIN(dc pa <freq <td <df <pd>>>>)
• Mixed-Mode Simulation and Analog Multilevel Simulation Resve Saleh, Shyh-Jye Jou,
A. Richard Newton Kluwer Academic 1994
• Affirma Mixed-Signal Circuit Design Environment User Guide, Cadence
• Affirma Analog Artist Mixed-Signal Design Series, cadence
• Analog Modeling with Verilog-A,cadence
• Understanding Mixed-Signal Simulation, http://www.vhdl-ams.com/literature_link.htm
• VHDL-AMS Guide to Mixed-Signal Simulation,
http://www.vhdl-ams.com/literature_link.htm