Product Documentation
Dracula Reference
Product Version IC23.1, September 2023


Contents

Preface

Related Documents

Typographic and Syntax Conventions

1

Overview

Introducing Dracula

Flat and Hierarchical Databases
Dracula Applications
Dracula Interfaces

Introducing Hierarchical Dracula

Hierarchical Structure
Functions Not Available in Hierarchical Rules Files
Hierarchical Dracula Modes

2

Using Dracula

Verifying a Design with Dracula

Creating a Rules File

Rules File Structure
Syntax
Rules File Example

Compiling the Rules File

Running PDRACULA
Using PDRACULA Commands
/ABORT
/CLEAR
/DCL
/FINISH
/GET
/HELP
/LIST
/NEXT
/PRINT
/RESTART
/STATUS
/STORE

Running Dracula

Interpreting Dracula Output

Dracula Distributed Processing

How Dracula Distributed Works
Setting Up for Dracula Distributed Processing
Creating a Node Configuration File
Running Dracula Distributed Processing
Distributed Dracula Files
Dracula Distributed Processing and the Dracula Graphical User Interface Tool
Dracula Distributed Processing in the Dracula 4.51 Release
Dracula Distributed Processing in the Dracula 4.6 release
Dracula Distributed Processing in the Dracula 4.7 release
Dracula Distributed Processing in the Dracula 4.8 release

Running Dracula in 32-bit or 64-bit Modes

3

Checking Design Rules (DRC)

Design Rules Checker

DRC Commands
Conjunctive Rules

DRC Example

Description Block
Input-Layer Block
Operation Block
Executing DRC from a Design Rule Library
Developing and Executing a Design Rule
Viewing the Results
Viewing the Violations
Database Comparison

Hierarchical and Multilevel Hierarchical Design Rules Checker

Prerequisites
Selecting HDRC Hcells
Creating Hcells, Hcell Environment, and Composite Plane
HDRC Modes
HDRC Error Reports
Sample HDRC Rules File

4

Checking Electrical Rules (ERC)

Electrical Rules Checker

ERC Commands
ERC Output

ERC Examples

Description Block
Input Layer Block
Operation Block
NMOS ERC Rules File
CMOS ERC Rules File

Hierarchical ERC

HERC Check Modes
HERC Limitations
HERC Commands

5

Compiling Network Descriptions (LOGLVS)

Overview

Initial Correspondence Nodes
Node Names

Preparing Netlists

LOGLVS Command Sequence

Control Commands
Parse Commands
Expand or Flatten Commands
LOGLVS Examples

CDL Control Commands

*.BIPOLAR
*.BUSDELIMITER
*.CAPA
*.CAPAREA
*.CAPVAL
*.DEFAULT
*.DIOAREA
*.DIOPERI
*.DIODE
*.EQUATION
*.EQUIV
*.GNONSWAP
*.LDD
*.MEGA
*.NONSWAP
*.NOPIN
*.NOSUB_M
*.PIN
*.PININFO
*.RESI
*.RESSIZE
*.RESVAL
*.REVERSE
*.SCALE
*.SPICE
*.UNSPEC
*.UNSPEC-MOS

SPICE and HSPICE Commands

.ENDS or .EOM
.GLOBAL
.INCLUDE
.PARAM
.SUBCKT or .MACRO
.SWAP and Special Elements
Subcircuit Calls
CDL Element Definition
Capacitor Syntax
Diode Syntax
Resistor Syntax
Transistor (BJT) Syntax
Transistor (JFET) Syntax
Transistor (MOSFET) Syntax
CDL Macro Expansion
CDL File Example

Preparing Data Files

Preparing SPICE Files
Preparing Verilog Files

Running LOGLVS

CASE
CELL
CIRCUIT
CONVERT
DATAFORMAT
DELCKT
DELECEL
DEVMAP
DXF
ENV
EQUIV
EXIT
FDELIMITER
FPIN
GENPAD
GET
GLOBAL
HELP
HTV/DRE
KCELL
KFPIN
LINK
MOS_EXTENDED_REP
NO_WARNING
NVER
PRECISION
PRINT
RESET
RESISTOR
SAVE
SET FANIN
SET FANOUT
STOP
STORE
SUMMARY
TNAME
TRANSISTOR
TYPE
UNLIMIT
Shell Environment Variables Used By LOGLVS
LOGLVS Example

Using Hierarchical LOGLVS

CDL and SPICE Formats
Hcell Definition Examples

LOGLVS Examples

SPICE

6

Comparing Layouts and Schematics (LVS)

LVS Overview

Layout Versus Layout
Schematic Versus Schematic
Hierarchical Layout Versus Schematic
Initial Correspondence Node Pairs
Trace and Discrepancy Points
Using LVS

LVL Overview

Preparing for LVL
Rules Files
Running LVL

SVS Overview

Running SVS in Flat Mode
Running SVS in Cell or Composite Mode
Running SVS in Hierarchical Mode

LVS Report Format

Sample LVS Report

Discrepancy Report Conventions

LVS Error Types

LVS Error Type 1
LVS Error Type 2
LVS Error Type 3
LVS Error Type 4
LVS Error Type 5
LVS Error Type 6
LVS Error Type 7
LVS Error Type 8
LVS Error Type 9
LVS Error Type 10
LVS Error Type 11
LVS Error Type 12
LVS Error Type 13
LVS Error Type 14
LVS Error Type 15

Device Recognition in LVS

NMOS Inverter
NMOS NOR Gate
NMOS NAND Gate
CMOS Inverter
Simple Parallel Pull-Up (PUP) Structure
Simple Series Pull-Up (SUP) Structure
Simple Parallel Pull-Down (PDW) Structure
Simple Series Pull-Down (SDW) Structure
Complex Gate Including PUPI, SUPI, PDWI, and SDWI
PUPI and SDWI
SUPI and PDWI
PUPI and SDWI
PUPI and SDWI
SUPI and SDWI
CMOS NAND
CMOS NOR
CMOS AOI
CMOS AOIs
Simple Parallel Middle (PMID) Structure
Simple Series Middle (SMID) Structure
Undefined Elements

Isolating and Debugging Errors

Interpreting an LVS Discrepancy

Logical Equivalence in MOS Digital Circuits

Calculations on Parallel MOS Devices for LVS

W/L Calculation
Weff MULDELW Calculation
MOS Devices Without Substrate Terminal

Calculations on Parallel and Series Resistor Devices width/length for LVS

Bipolar LVS Example

Hierarchical LVS

Basic Requirements
Selecting HLVS Hcells
Automatically Selecting HLVS Hcells
Hcell Pins
Hcell Text (Pin Names)
Adding to Text
Pin Text
Masking Hcells with Black Boxes
Hcells and the BASE-LAYER
Hcell Frames
Wire Types
Feedthroughs
GEN-TEXT Commands
HLVS Error Types
Sample HLVS Input Rules File

Inherited Connections for LVS in Dracula Verification

Example

7

Extracting Electrical Parameters (LPE)

LPE Overview

LPE Flow Diagram
LPE Flow Diagram (continued)

Extracting SPICE Parameters

MOS Transistors
Parasitic Diode Parameters
Parasitic Capacitor Parameters
Element Resistor Parameters
Bipolar Transistor Area and Perimeter

Flexible LPE

Geometric Primitives
Reserved Parameter Keywords
User-Defined Parameters

Selective LPE

Selective LPE Batch Example
Selective LPE Incremental Example

LPE Examples

Features of the Example
Rules File in a MOS Example
NMOS LPE Input File
CMOS LPE Input File

Hierarchical LPE

Cell Mode
Composite Mode

8

Using Parametric Data (LPEPRO)

LPEPRO Overview

Using LPEPRO

Terminal Commands

Administrative Commands

DISK
INPUT
RESET
SAVE
EXIT

Network and Gate Commands

GET
DELAY

Delay Value Command

CALCULATE

Path Analysis Commands

LPATH
SPATH
PATH
START
END
MASK
UNMASK

Report Commands

PRINT, TYPE, and STORE

Scanning Layout Parameters

Identifying Nodes in the Layout
MOS Subcommand
CAPACITANCE Subcommand
DIODE Subcommand
PARAMETER Subcommand

SPICE Generator

Whole Chip or Whole Cell
Selected Paths

Logic Gate Generator

Using the Logic Gate Generator
Gate Types
Wired-OR Examples

Calculating Delay

L/W Ratio, Capacitance, and Resistance
Using Delay Equation Options
Revising Schematic Data
Calculating Delays for Nonprimitive Gates
Reviewing Delay Information

9

Extracting Parasitic Resistance (PRE)

Overview of Parasitic Resistance Extraction

First PRE Pass
Second PRE Pass

Creating the Resistor and Resistor Terminal Layers

Using the CUT-TERM Command
Using a Command Sequence

Creating the Pad Terminal Layers

Examples
Error Conditions

Calculating Junction Resistance

Redistributing Parasitic Capacitances

Sample PRE Rules File

Considerations for Parasitic Resistance Extraction

Sample Data and Results

Hierarchical PRE

SPF File Overview
DSPF Format
RSPF Format
Dracula, CDC, DSPF and RSPF Flow

10

Using DRAC2CDL Netlist Generator

Overview

Running DRAC2CDL

Interactive Mode
Batch Mode

Examples

11

Description Block Commands

ABORT-MULT-STAMP
ABORT-P-G-SHORT
ABORT-SOFTCHK
ACUTE-CLIP
ALLOW-RECONNECT
ANGLED-EDGE-TOL
ARRAY
ARRAY-ENABLED
AUTOMATCH
BLACKBOX-FILE
BLOCK-NAME-ONLY
BOUNDING-BOX
BOXMAP
BOX-M-COMPARE
BOX-M-FACTOR
BOX-M-IGNORE
CAP-POLARITY
CARE-SPLIT-ORDER
CELLBOX-LAYER
CELL-CHILD-TEXT
CELL-ERROR-REP
CELL-LIBRARY
CHECK-MODE
CHECK-PATH
CMOS-NTYPE
CMOS-PTYPE
CNAMES-CHK-OFF
CNAMES-CSEN
CONN-ALL-WIRE
CONN-INTER-WIRE
CONN-OPEN-WIRE
CONVERT-DATABASE
CPOINT-FILE
CSH-F-OPTION
DATAFORMAT
DD-RSH-COMMAND
DELCEL
DEL-VIR-WIRE
DIODE-P-TO-G
DIODESEQ
DRACBATCH-EMAIL
EBOX-SHORT-PIN
EMPTY-BLACKBOX
EMPTY-ENC
END-MACRO
ENVIRONMENT-MAX
ERROR-PATH-WIDTH
EXPAND-GATE-DELI
EXPAND-INST-DELI
EXPAND-NODE-DELI
EXTERM-NOWARN
FASTSIZE
FDELIMITER
FILTER Commands
FILTER-LDD
FILTER-REPORT
FIX-INPUT-ORDER
FLAG-ACUTEANGLE
FLAG-NON45
FLG-EXPTH-OFFGRD
FLAG-OFFGRID
FLAG-PTH-OFFGRID
FLAG-SELFINTERS
FLAG-SELFTOUCH
FLAT-GDS-SMALL
FLATTEN-PWRGND
FNODE-CONNECT
GATE-RES-EXT
GEN-TEXT-FILE
GEN-TEXT-FLTNODE
GEN-TEXT-FRAME
GEN-TEXT-WIRE
GEN-XRF-RPT
GROUND-NODE
HCELL
HCELL-COLUMN-1
HCELL-FILE
HCELL-IN-HCELL
HCELL-MAX-PLACEMENTS
HCELL-MAX-SEGMENTS
HCELL-OPTIMIZE-PLACEMENTS
HCELL-RULE
HIER-OUTDISK
IGNORE-SCH-SUB
INAME-TOPDOWN
INDISK
INDISK-FILE
INSTPIN-FILE
INTERNAL-NODE
INTERNODE-PREFIX
KCELL-FILE
KEEPDATA
KEEP-INST-FPIN
KEEP-SHORT-BJT
KEEP-SHORT-CAP
KEEP-SHORT-DIO
KEEP-SHORT-MOS
KEEP-SHORT-RES
KEEP-TEXT
LAYER-FILE
LAYER-FILE-TYPE
LEGAL-CHAR-SET
LIBRARY
LIMIT-DRC-ERROR
LIMIT-RUN-TO
LISTERROR
LONG-SUM-LEN
LOOP-TWO-CAP
LOOP-TWO-RES
LPE-FORMAT
LPE-GROUND
LPE-PRECISION
LPE-QUERY
LUMPCAP
LVL-PART
LVS-OPTION
LVSRPT-ONLY
M-Factor Commands
M-Factor Tolerance Commands
MAG-BEF-GRID
MAGNIFY-IN
MAGNIFY-OUT
MAP-TEXT-FILE
MATCH-P-G-BY-TYP
MEMORY-CORE
MINI-SUMMARY
MIRROR
MODEL
MOS-CAP
MOS-M-COMPARE
MULTICPU
MULTI-GDS2-IN
MULTI-PIN-FILE
MULTIPLE-DISK
NO-SUB-TERM
NOT-HCELL
NRX-EXTRACT
NRX-SAVE
OAOUTTYPE
OPTIMIZE-RULE
OUTCELL
OUTDISK
OUTLIB
OUTPUT-ONE-LAYER
OVPR-TOLERANCE
PARALLEL-FILE
PAR-COMPARE
PAROUTNAM
PARSET
PATH-W-OFFGRID
PATH-W-ROUND
PINCAP-FILE
POINT-CONNECT
POWER-NODE
PREFIX-PARASITIC
PREINTERACTIVE
PRIMARY
PRINTFILE
PROB-GEOM-LIST
PROCESS-VAR
PROGRAM-DIR
PULL-DOWN
PULL-UP
RAM-CELL
RAM-CORE
RCX-MODE
REDUCER
REP-UNM-INST-PG
RERUN-FILTER
RESOLUTION
RESWSMASH
ROTATION
ROUND-OFF-TOLER
SCALE and REV-SCALE
SCALEOUT and REV-SCALEOUT
SCHEMATIC
SELECT-MODE
SIZE-MAX-VERTEX
SIZE-MIN-WIDTH
SIZENOT
SKILL-LOADER
SMART-LPE
SMASH-CAP-TYP
SMASH-FLOAT-RES
SMASH-MOS-TYP
SMASH-RES-TYP
SMOOTH-SIZE
S-OPTION-CLASS
SPF-MAP-FILE
START-MACRO
STATUS-COMMAND
SUBCKT-NAME
SUBNODE-DELIM
SUB-PROGRAM-NAME
SUBTYPE-CSENS
SUMMARY-ONLY
SVS-LAYOUT
SVS-SCHEMATIC
SYSOUT
SYSTEM or SYSIN
TEXT-HEIGHT
TEXT-LEVEL
TEXT-PRI-ONLY
TNAMES-CSEN
TRANSISTOR
UNIT
UNSPEC-LAY-PARA
UNSPEC-PARA
UNSPEC-SCH-PARA
WINDEL
WINDOW
WINDOW-CUT
WORK-DIR
ZERO-SPAC-F-EQU

12

Input-Layer Block Commands

Introduction

Using Text
BASE-LAYER
CELLBNDY
CONNECT-LAYER
CTEXT and ATTACH
EXPORT
FRAME-EXCLUDE-LAYER
FRAME-HOLE-LAYER
GEN-TEXT-LAYER
IDTEXT
IMPORT-LAYERS
KTEXT
Layer Name Definition
OUT-ANNOTATED-LAYER
PAD-LAYER
PIN-TEXT-LAYER
RCONNECT-LAYER
RCX-LAYERS
SUBSTRATE
TEMPORARY-LAYER
TEXTSEQUENCE

13

Operation Block Commands

Introduction

Logical Operations
Electrical Node Extraction
Sizing Operations
Spacing Checks
Circuit Element Extraction
Electrical Rule Checking
Layout Versus Schematic
Layout Parameter Extraction
AND
ANDNOT
ANGLED-EDGE-TOL
AREA
ATTACH
ATTRIBUTE CAP
ATTRIBUTE RES
BBOX
*BREAK
CALCULATE
CAT
CHKPAR
COEFFICIENT CAP
COMPUTE
CONNECT
CORNER
COVERAGE
CUT
CUT-TERM
DENC
DEVTAG
drcAntenna
ECONNECT
EDGECHK
EDTEXT
ELCOUNT
ELEMENT BJT
ELEMENT BOX
ELEMENT CAP
ELEMENT DIO
ELEMENT IN?
ELEMENT LDD
ELEMENT MOS
ELEMENT PAD
ELEMENT RES
ENC
ENCBASEDOVLP
ENCRECT
EQUATION
EXPLODE
EXT
extractParasitic
FLATTEN
FLOATCHK
FRINGE CAP
GENRECT
GLOBAL-SCONNECT
GPATHCHK
GPATHDEF
GROW
HEDTEXT
HIERARCHEN
HOLE
INT
KEDTEXT
LCONNECT
LENGTH
LEXTRACT
LINK
LPECHK
LPESELECT
LVSCHK
MULTILAB
MULTI-SHEETRES
NDCOUNT
NEIGHBOR
NODE-FILE
NODE-SELECT
NOT
OCTBIAS
OR
OVERLAP
OVL
PARAMETER CAP
PARAMETER RES
PARASITIC CAP
PARASITIC DIO
PARASITIC RES
PATHCHK
PERI
PLENGTH
POSTENC
PROBE
RCONNECT
RECTCHK
RELOCATE
RLENGTH
RSPFSELECT
SAMELAB
SCONNECT
SELECT
SHRINK
SIZE
SNAP
SOFTCHK
SPFSELECT
STAMP
TRIANGLE
WIDTH
XBOX
XCELL
XDEVICE
XOR
XVIA

A

Supported Database Records

Introduction

GDSII Records

B

Data Structure Translator

Running the Translator

Examples

C

Running Dracula

Running a Dracula DRC/ERC Job

Submitting the jxrun.com File
Running Other Dracula Programs
UNIX Commands

System Requirements

UNIX Case-Sensitivity Enhancements

PDRACULA
LOGLVS

Batch Job Queuing Utility

Glossary

Index


Return to top
 ⠀
X