Mixed-Signal IC Design
Mixed-Signal IC Design
Mixed-Signal IC Design
國家晶片系統設計中心
Jan. 2002
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
91/01 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
91/01 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
Dracula
佈局後驗證模擬 TimeMill
RC Extraction
光罩製作
Tapeout
91/01 14 Mixed-Signal IC Design Kit
Mixed-Signal Top Down Design Flow
System simulation SPW/Matlab
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/etc/ic.cshrc Waveform
Result Browsing
source /usr/cadence/etc/ldv.cshrc Display
to define the tool environment
91/01 29 Mixed-Signal IC Design Kit
Reference for Affirma Flow
Use openbook or help menu from tool window to invoke the manual
V
V
Results
IPC
Verimix
Analog Artist
Verilog-XL Simulation
environment
Waveform Calculator
91/01 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
91/01 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
91/01 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
設定所使用的cell view
顯示 所用的cell
用的 view,
及其顏色設定
Schematic editor 中的
Hierarchy-Editor 及 Mixed-
Signal 兩項menu係由選單
Tools->Mixed Signal Opts.
而產生。
設定顯示的顏色及項目
顯示所有的區塊劃分結果
顯示類比電路區塊
顯示數位電路區塊
顯示混合信號電路區塊
(即內同時包含數位及類比電路區塊)
即內同時包含數位及類比電路區塊
顯示無法歸類之電路區塊
清除所有顯示的內容
開啟 Analog Artist
Simulation 模擬環境
顯示這兩項menu
顯示這兩項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
stream out
• On Layout view:
– Using Create ! Label to define all pins with text2 layer.
– Add Cellview Properties:
• Name: prCellType
• Valus:macro
• Modify a parameter in .autoAbgen file:
– aabsSetProp(`libName “Your_Design_Lib”)
• Invoke AutoAbgen skill
– In the CIW, enter:
load(“/usr/cadence/ic445/tools/autoAbgen/etc/autoAbgen/aaicca.ile”)
– Choose AutoAbgen ! Flow Sequencer to generate the abstract
view automatically.
91/01 103 Mixed-Signal IC Design Kit
Setting the autoAbgen
CIC
Stream out Cell GDSII
Replacement Foundry
GDSII
I/O Physical
library
prdiode pad
Power pad pvdd1p1 pvdd2p,pvdd4p
Ground pad pvss1p1 pvss2p, pvss4p
prdiode pad
Power pad pvdd3p
Ground pad pvss3p
pvdd2z
pvss1z
pvss2z
pvdd1a
pdianax
pvss1a
ESD ESD
prdiode
prdiode
Device ESD Device
Device
ESD
ESD ESD Device
Device Device
VSS TAVSS VSS
pvdd1p
pvdd3p
pdianaXp
pvss3p
TVSS1P C TVDD1P
VDD TAVDD VDD
VSS TAVSS VSS
VDD TAVDD VDD
prdiode
Device Device Device
pvdd5p
pdianaXp
pvss1p
pvss5p
91/01 117 Mixed-Signal IC Design Kit
Power Pad Selection
• In this case, the power rails of pre-driver and post-driver
are provided by pvdd4p/pvss4p and pvdd2p/pvss2p.
To analog macro
TVSS1P1 C TVDD1P1
VDD TAVDD VDD
VSS TAVSS VSS
VDD TAVDDPST VDD
prdiode
Device Device Device
pvdd1p1
pvss1p1
pvdd2p
pvdd4p
pvss2p
2
• Netlist Data Netlist Data
PDRACULA
– TSMC35_V1.blackbox 3 Command Processor
– TSMC35_V1.hcell LOGLVS
Netlist Processor Command File
– TSMS35_V1.spi Run Files
Errors
4
• Dracula Reports
Layout Data Dracula Program
– DRC text files (*.sum and *.drc)
– LVS text files (*.lvs and *.sum) 5
Replace
Layout View qepiclpe35: replace cell layout view
qepiclpe
Generate
Technology File gentech : generate technology file
vi/edit stimulus file, configuration
Edit Files commands
Timemill
powrmill perform simulation
Output
91/01 139 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>>>>)
Extract View
Diva LVS
Build_Mixed
IPC
Spectre Verilog-XL
91/01 141 Mixed-Signal IC Design Kit
The DIVA LVS Window
Before creating analog_extracted
or mixed_extracted view, be sure
to complete LVS check.
The analog_extracted view is for
analog block
Creating
mixed_extracted view
Extracted device
Select parasitics
Click Update
• 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