public class Schematics extends Technology
Technology.ArcLayer, Technology.ExtraField, Technology.MultiCutData, Technology.NodeLayer, Technology.SizeCorrector, Technology.TechPoint
cachedRules, DISK_VERSION_1, DISK_VERSION_2, EMPTY_LIST, factoryMenuPalette, factoryRules, foundries, N_TYPE, NULL_ARRAY, oldArcNames, oldNodeNames, P_TYPE, paramFoundry, paramNumMetalLayers, SPECIALMENUCELL, SPECIALMENUEXPORT, SPECIALMENUHIGH, SPECIALMENUMISC, SPECIALMENUPORT, SPECIALMENUPURE, SPECIALMENUSEPARATOR, SPECIALMENUSPICE, SPECIALMENUTEXT, TECH_NODE, techFactory, TRANS_CONTACT, xmlTech
Constructor and Description |
---|
Schematics(Generic generic,
TechFactory techFactory) |
Schematics(Generic generic,
TechFactory techFactory,
boolean old) |
Modifier and Type | Method and Description |
---|---|
PrimitivePort |
convertOldPortName(java.lang.String portName,
PrimitiveNode np)
Method to convert old primitive port names to their proper PortProtos.
|
static Technology |
getDefaultSchematicTechnology()
Method to determine the default schematic technology.
|
java.lang.String |
getFactoryVHDLNames(PrimitiveNode np)
Method to tell the VHDL names for a primitive in this technology, by default.
|
double |
getNegatingBubbleSize()
Method to tell the size of negating bubbles.
|
ERectangle |
getNodeInstBaseRectangle(NodeInst ni)
Method to get the base (highlight) ERectangle associated with a NodeInst
in this PrimitiveNode.
|
PrimitiveNodeSize |
getResistorSize(NodeInst ni,
VarContext context)
Method to return the size of a resistor-type NodeInst in this Technology.
|
PortInst |
getTransistorBiasPort(NodeInst ni)
Return a substrate PortInst for this transistor NodeInst
|
PortInst |
getTransistorDrainPort(NodeInst ni)
Method to return a gate PortInst for this transistor NodeInst.
|
TransistorSize |
getTransistorSize(NodeInst ni,
VarContext context)
Method to return the size of a transistor NodeInst in this Technology.
|
void |
setPrimitiveNodeSize(NodeInst ni,
double width,
double length,
EditingPreferences ep)
Method to set the size of a transistor NodeInst in this technology.
|
void |
setPrimitiveNodeSize(NodeInst ni,
java.lang.Object width,
java.lang.Object length,
EditingPreferences ep)
Method to set the size of a transistor NodeInst in this technology.
|
static Schematics |
tech()
the Schematics Technology object.
|
addArcProto, addLayer, addNodeProto, checkParamValues, cleanUnusedNodesInLibrary, compareTo, convertOldArcName, convertOldNodeName, convertOldVariable, dump, dumpExtraProjectSettings, findArcProto, findFoundry, findLayer, findLayerFromFunction, findNodeProto, findTechnology, findTechnology, getArc, getArcProto, getArcs, getArcsCollection, getCachedRules, getCMOS90Technology, getColorMap, getCurrent, getDiffAlpha, getDiffAlphaSetting, getExtraFields, getFactoryDesignRules, getFactoryMenuPalette, getFactoryResolution, getFactoryTransparentLayerColors, getFoundries, getGateCapacitance, getGateCapacitanceSetting, getGateIncludedSetting, getGateLengthSubtraction, getGateLengthSubtractionSetting, getGDSLayers, getGroundNetIncludedSetting, getId, getLayer, getLayerFromOverride, getLayers, getLayersPerGDSNumber, getLayersSortedByRule, getLayersSortedByUserPreference, getMaxSeriesResistance, getMaxSeriesResistanceSetting, getMetalContactCluster, getMinCapacitance, getMinCapacitanceSetting, getMinResistance, getMinResistanceSetting, getMocmosTechnology, getMultiCutData, getNodes, getNodesCollection, getNodesSortedByName, getNumArcs, getNumLayers, getNumMetals, getNumMetalsSetting, getNumNodes, getNumTransparentLayers, getOldArcNames, getOldNodeNames, getParamValues, getParamValuesByXmlPath, getPrefFoundry, getPrefFoundrySetting, getPrimitiveNode, getPrimNodeIndexInTech, getProjectSettings, getProjectSettingsRoot, getRuleDifferences, getRuleIndex, getRuleNodeIndex, getScale, getScaleSetting, getScaleVariableName, getSelectedFoundry, getSetting, getSetting, getShapeOfArc, getShapeOfArc, getShapeOfNode, getShapeOfNode, getShapeOfPort, getSizeCorrector, getSpacingDistances, getSpiceHeaderLevel1, getSpiceHeaderLevel2, getSpiceHeaderLevel3, getTechDesc, getTechName, getTechnologies, getTechShortName, getTransistorActiveLength, getTransistorAltGatePort, getTransistorBasePort, getTransistorCollectorPort, getTransistorEmitterPort, getTransistorGatePort, getTransistorSourcePort, getTransparentLayerColors, getTSMC180Technology, getWireRatio, getWireRatioSetting, getXmlTech, hasColoredMetalLayer, hasPhotonics, initPreinstalledTechnologies, isEasyShape, isGateIncluded, isGroundNetIncluded, isLayout, isMultiCutCase, isMultiCutInTechnology, isNoDirectionalArcs, isNoNegatedArcs, isNonElectrical, isNonStandard, isNoPrimitiveNodes, isScaleRelevant, isSchematics, isStaticTechnology, isUniversalConnectivityPort, isValidVTPolyRule, isXmlTechAvailable, loadFactoryMenuPalette, makeBooleanSetting, makeColorMap, makeDoubleSetting, makeFactoryDesignRules, makeInitialEnvironment, makeIntSetting, makeStringSetting, makeXml, makeXml, newArcProto, newFoundry, newPrimitiveNode, parseComponentMenuXML, printlnBits, printlnSetting, sameLayer, setArcCorrection, setCachedRules, setColorMapFromLayers, setDefaultOutline, setFactoryLESettings, setFactoryParasitics, setFactoryResolution, setFactoryScale, setFactoryTransparentLayers, setNodeCorrection, setNoDirectionalArcs, setNoNegatedArcs, setNonElectrical, setNonStandard, setNoPrimitiveNodes, setNotUsed, setRuleVariables, setSpiceHeaderLevel1, setSpiceHeaderLevel2, setSpiceHeaderLevel3, setStaticTechnology, setTechDesc, setTechName, setTechShortName, setup, toString, whatTechnology, whatTechnology, withTechParams, writeReplace
public static final Variable.Key SCHEM_GLOBAL_NAME
public static final Variable.Key SCHEM_RESISTANCE
public static final Variable.Key SCHEM_CAPACITANCE
public static final Variable.Key SCHEM_INDUCTANCE
public static final Variable.Key SCHEM_DIODE
public static final Variable.Key SCHEM_FUNCTION
public static final Variable.Key ATTR_WIDTH
public static final Variable.Key ATTR_LENGTH
public static final Variable.Key ATTR_AREA
public final Layer node_lay
public final ArcProto wire_arc
public final ArcProto bus_arc
public final PrimitiveNode wirePinNode
public final PrimitiveNode busPinNode
public final PrimitiveNode wireConNode
public final PrimitiveNode bufferNode
public final PrimitiveNode andNode
public final PrimitiveNode orNode
public final PrimitiveNode xorNode
public final PrimitiveNode flipflopNode
public final PrimitiveNode muxNode
public final PrimitiveNode bboxNode
public final PrimitiveNode switchNode
public final PrimitiveNode offpageNode
public final PrimitiveNode powerNode
public final PrimitiveNode groundNode
public final PrimitiveNode sourceNode
public final PrimitiveNode transistorNode
public final PrimitiveNode resistorNode
public final PrimitiveNode capacitorNode
public final PrimitiveNode diodeNode
public final PrimitiveNode inductorNode
public final PrimitiveNode meterNode
public final PrimitiveNode wellNode
public final PrimitiveNode substrateNode
public final PrimitiveNode twoportNode
public final PrimitiveNode transistor4Node
public final PrimitiveNode globalNode
public final PrimitiveNode globalPartitionNode
public Schematics(Generic generic, TechFactory techFactory)
public Schematics(Generic generic, TechFactory techFactory, boolean old)
public static Schematics tech()
public ERectangle getNodeInstBaseRectangle(NodeInst ni)
getNodeInstBaseRectangle
in class Technology
ni
- the NodeInst to query.public PrimitivePort convertOldPortName(java.lang.String portName, PrimitiveNode np)
convertOldPortName
in class Technology
portName
- the unknown port name, read from an old Library.np
- the PrimitiveNode on which this port resides.public PrimitiveNodeSize getResistorSize(NodeInst ni, VarContext context)
getResistorSize
in class Technology
ni
- the NodeInst.context
- the VarContext in which any vars will be evaluated,
pass in VarContext.globalContext if no context needed, or set to null
to avoid evaluation of variables (if any).public TransistorSize getTransistorSize(NodeInst ni, VarContext context)
getTransistorSize
in class Technology
ni
- the NodeInst.context
- the VarContext, set to VarContext.globalContext if not needed.
set to Null to avoid evaluation of variable.public void setPrimitiveNodeSize(NodeInst ni, double width, double length, EditingPreferences ep)
setPrimitiveNodeSize
in class Technology
ni
- the NodeInstwidth
- the new widthlength
- the new lengthep
- EditingPreferences with default TextDescriptorspublic void setPrimitiveNodeSize(NodeInst ni, java.lang.Object width, java.lang.Object length, EditingPreferences ep)
ni
- the NodeInstwidth
- the new widthlength
- the new lengthep
- EditingPreferences with default TextDescriptorspublic static Technology getDefaultSchematicTechnology()
public PortInst getTransistorDrainPort(NodeInst ni)
getTransistorDrainPort
in class Technology
ni
- the NodeInstpublic PortInst getTransistorBiasPort(NodeInst ni)
getTransistorBiasPort
in class Technology
ni
- the NodeInstpublic double getNegatingBubbleSize()
public java.lang.String getFactoryVHDLNames(PrimitiveNode np)
np
- the primitive to query.