View Library Table of Contents Previous Next Open PDF to print book Email Comments Help Using Documentation Shut Down Cadence Documentation Server


DEF 5.8 C/C++ Programming Interface (Open Licensing Program)


Contents

Preface

What's New

Related Documents

Typographic and Syntax Conventions

1

Introduction

Overview

DEF Reader Working Modes

Comparison Utility

Compressed DEF Files

Orientation Codes

2

DEF Reader Setup and Control Routines

DEF API Routines

defrInit
defrInitSession
defrClear
defrRead
defrSetUserData
defrGetUserData
defrSetAddPathToNet
defrSetAllowComponentNets
defrGetAllowComponentNets
defrSetCommentChar
defrSetRegisterUnusedCallbacks
defrPrintUnusedCallbacks
defrUnusedCallbackCount
Example

3

DEF Reader Callback Routines

Callback Function Format

Callback Type
DEF_Data
User Data

Callback Types and Setting Routines

Examples

User Callback Routines

defrBlockageCbkFnType
defrBoxCbkFnType
defrComponentCbkFnType
defrComponentMaskShiftLayerCbkFnType
defrDoubleCbkFnType
defrFillCbkFnType
defrGcellGridCbkFnType
defrGroupCbkFnType
defrIntegerCbkFnType
defrNetCbkFnType
defrNonDefaultCbkFnType
defrPathCbkFnType
defrPinCbkFnType
defrPinPropCbkFnType
defrPropCbkFnType
defrRegionCbkFnType
defrRowCbkFnType
defrScanchainCbkFnType
defrSlotCbkFnType
defrStringCbkFnType
defrStylesCbkFnType
defrTrackCbkFnType
defrViaCbkFnType
defrVoidCbkFnType
Examples

4

DEF Reader Classes

Introduction

Callback Style Interface

Retrieving Repeating DEF Data

Deriving C Syntax from C++ Syntax

C++ Syntax
C Syntax

DEF Reader Class Routines

defiBlockage
defiBox
defiComponent
defiComponentMaskShiftLayer
defiFill
defiGcellGrid
defiGeometries
defiGroup
defiNet
defiNonDefault
defiOrdered
defiPath
defiPin
defiPinAntennaModel
defiPinPort
defiPinProp
defiPoints
defiProp
defiRegion
defiRow
defiScanchain
defiShield
defiSite
defiSlot
defiStyles
defiSubnet
defiTrack
defiVia
defiViaData
defiVpin
defiWire

5

DEF Writer Callback Routines

Callback Function Format

Callback Type
User Data

Callback Types and Setting Routines

6

DEF Writer Routines

DEF Writer Setup and Control

defwInit
defwInitCbk
defwEnd
defwCurrentLineNumber
defwNewLine
defwAddComment
defwAddIntent
defwPrintError
Setup Examples

Blockages

defwStartBlockages
defwEndBlockages
defwBlockageDesignRuleWidth
defwBlockagesLayerDesignRuleWidth
defwBlockageLayer
defwBlockagesLayer
defwBlockagesLayerComponent
defwBlockageLayerExceptpgnet
defwBlockagesLayerExceptpgnet
defwBlockageLayerFills
defwBlockagesLayerFills
defwBlockageLayerPushdown
defwBlockagesLayerPushdown
defwBlockageLayerSlots
defwBlockagePlacement
defwBlockagesPlacement
defwBlockagePlacementComponent
defwBlockagesPlacementComponent
defwBlockagePlacementPartial
defwBlockagesPlacementPartial
defwBlockagePlacementPushdown
defwBlockagesPlacementPushdown
defwBlockagePlacementSoft
defwBlockagesPlacementSoft
defwBlockagePolygon
defwBlockagesPolygon
defwBlockageRect
defwBlockagesRect
defwBlockagesLayerMask
defwBlockageSpacing

Bus Bit Characters

defwBusBitChars

Components

defwStartComponents
defwEndComponents
defwComponent
defwComponentStr
defwComponentHalo
defwComponentHaloSoft
defwComponentRouteHalo

Design Name

defwDesignName

Die Area

defwDieArea
defwDieAreaList
Die Area Example

Divider Character

defwDividerChar

Extensions

defwStartBeginext
defwEndBeginext
defwBeginextCreator
defwBeginextDate
defwBeginextRevision
defwBeginextSyntax
Extensions Example

Fills

defwStartFills
defwEndFills
defwFillLayer
defwFillLayerOPC
defwFillPoints
defwFillPolygon
defwFillRect
defwFillVia
defwFillViaOPC

GCell Grid

defwGcellGrid
Gcell Grid Example

Groups

defwStartGroups
defwEndGroups
defwGroup
defwGroupRegion

History

defwHistory

Nets

defwStartNets
defwEndNets
defwNet
defwNetMustjoinConnection
defwNetEndOneNet
defwNetConnection
defwNetEstCap
defwNetFixedBump
defwNetFrequency
defwNetNondefaultRule
defwNetOriginal
defwNetPattern
defwNetSource
defwNetUse
defwNetVpin
defwNetVpinStr
defwNetWeight
defwNetXtalk
Nets Example

Regular Wiring

defwNetPathStart
defwNetPathEnd
defwNetPathLayer
defwNetPathPoint
defwNetPathStyle
defwNetPathVia
defwNetPathViaWithOrient
defwNetPathViaWithOrientStr
Regular Wiring Example

Subnet

defwNetSubnetStart
defwNetSubnetEnd
defwNetSubnetPin
Subnet Example

Nondefault Rules

defwStartNonDefaultRules
defwEndNonDefaultRules
defwNonDefaultRule
defwNonDefaultRuleLayer
defwNonDefaultRuleMinCuts
defwNonDefaultRuleVia
defwNonDefaultRuleViaRule

Pins

defwStartPins
defwEndPins
defwPin
defwPinStr
defwPinAntennaModel
defwPinAntennaPinDiffArea
defwPinAntennaPinGateArea
defwPinAntennaPinMaxAreaCar
defwPinAntennaPinMaxCutCar
defwPinAntennaPinMaxSideAreaCar
defwPinAntennaPinPartialCutArea
defwPinAntennaPinPartialMetalArea
defwPinAntennaPinPartialMetalSideArea
defwPinGroundSensitivity
defwPinLayer
defwPinNetExpr
defwPinPolygon
defwPinPort
defwPinPortLayer
defwPinPortLocation
defwPinPortPolygon
defwPinPortVia
defwPinSupplySensitivity
defwPinVia
Pins Example

Pin Properties

defwStartPinProperties
defwEndPinProperties
defwPinProperty
Pin Properties Example

Property Definitions

defwStartPropDef
defwEndPropDef
defwIntPropDef
defwRealPropDef
defwStringPropDef
Property Definitions Example

Property Statements

defwIntProperty
defwRealProperty
defwStringProperty
Property Statements Example

Regions

defwStartRegions
defwEndRegions
defwRegionName
defwRegionPoints
defwRegionType
Regions Example

Rows

defwRow
defwRowStr
Rows Example

Scan Chains

defwStartScanchains
defwEndScanchains
defwScanchain
defwScanchainCommonscanpins
defwScanchainFloating
defwScanchainFloatingBits
defwScanchainOrdered
defwScanchainOrderedBits
defwScanchainPartition
defwScanchainStart
defwScanchainStop
Scan Chain Example

Special Nets

defwStartSpecialNets
defwEndSpecialNets
defwSpecialNet
defwSpecialNetEndOneNet
defwSpecialNetConnection
defwSpecialNetEstCap
defwSpecialNetFixedBump
defwSpecialNetOriginal
defwSpecialNetPattern
defwSpecialNetSource
defwSpecialNetUse
defwSpecialNetVoltage
defwSpecialNetWeight
Special Nets Example

Special Wiring

defwSpecialNetPathStart
defwSpecialNetPathEnd
defwSpecialNetPathLayer
defwSpecialNetPathPoint
defwSpecialNetPathPointWithWireExt
defwSpecialNetPathShape
defwSpecialNetPathStyle
defwSpecialNetPathVia
defwSpecialNetPathViaData
defwSpecialNetPathWidth
defwSpecialNetShieldNetName
defwSpecialNetPolygon
defwSpecialNetRect
Special Wiring Example

Shielded Routing

defwSpecialNetShieldStart
defwSpecialNetShieldEnd
defwSpecialNetShieldLayer
defwSpecialNetShieldPoint
defwSpecialNetShieldShape
defwSpecialNetShieldVia
defwSpecialNetShieldViaData
defwSpecialNetShieldWidth
Shielded Routing Example

Slots

defwStartSlots
defwEndSlots
defwSlotLayer
defwSlotPolygon
defwSlotRect

Styles

defwStartStyles
defwEndStyles
defwStyles

Technology

defwTechnology

Tracks

defwTracks
Tracks Example

Units

defwUnits

Version

defwVersion

Vias

defwStartVias
defwEndVias
defwViaName
defwOneViaEnd
defwViaPolygon
defwViaRect
defwViaViarule
defwViaViaruleRowCol
defwViaViaruleOrigin
defwViaViaruleOffset
defwViaViarulePattern
Vias Example

7

DEF Compressed File Routines

defGZipOpen
defGZipClose
Example

8

DEF File Comparison Utility

lefdefdiff
Example

A

DEF Reader and Writer Examples

DEF Reader Example

DEF Writer Example


Return to top of page

View Library Table of Contents Previous Next Open PDF to print book Email Comments Help Using Documentation Shut Down Cadence Documentation Server

For support, see Cadence Online Support service.

Copyright © 2016, Cadence Design Systems, Inc.
All rights reserved.