DIRECTORY Core, CoreFlat, SC, SCPrivate; SCNetUtil: CEDAR DEFINITIONS = BEGIN DefineNet: PROC [handle: SC.Handle, flatWire: CoreFlat.FlatWire] RETURNS [net: SCPrivate.Net]; FindNet: PROC [handle: SC.Handle, flatWire: CoreFlat.FlatWire] RETURNS [net: SCPrivate.Net]; FindPublicNet: PROC [handle: SC.Handle, wire: Core.Wire] RETURNS [net: SCPrivate.Net]; EachNetProc: TYPE = PROC [net: SCPrivate.Net] RETURNS [quit: BOOL _ FALSE]; EnumerateNets: PROC [handle: SC.Handle, eachNet: EachNetProc] RETURNS [quit: BOOL]; NetsOnInst: PROC[insts: SCPrivate.InstanceList] RETURNS [nets: SCPrivate.NetList]; InstsOnNets: PROC[nets: SCPrivate.NetList] RETURNS [insts: SCPrivate.InstanceList]; EachInstProc: TYPE = PROC [instance: SCPrivate.Instance] RETURNS [quit: BOOL _ FALSE]; EnumerateInstsOnNets: PROC [nets: SCPrivate.NetList, eachInst: EachInstProc] RETURNS [quit: BOOL]; EachPinProc: TYPE = PROC [netPin: SCPrivate.NetPin] RETURNS [quit: BOOL _ FALSE]; EnumeratePinsOnNet: PROC [net: SCPrivate.Net, eachPin: EachPinProc] RETURNS [quit: BOOL]; AddConnection: PROC [handle: SC.Handle, net: SCPrivate.Net, instance: SCPrivate.Instance, pin: SCPrivate.ObjectPin, pinIndex: NAT, pinClass: SCPrivate.PinType]; RemoveConnections: PROC [handle: SC.Handle, instance: SCPrivate.Instance]; RemoveFtsOnNet: PROC[handle: SC.Handle, net: SCPrivate.Net]; ExitOnSide: PROC [handle: SC.Handle, net: SCPrivate.Net, side: SC.Side] RETURNS [onThisSide: BOOLEAN]; END. ΆSCNetUtil.mesa Copyright c 1986 by Xerox Corporation. All rights reserved. last changed by Preas June 17, 1986 2:06:41 pm PDT Jean-Marc Frailong October 11, 1987 5:23:18 pm PDT net utility routines Global data structure maintenance Create a net corresponding to a canonical flat wire & scream if already defined Locate a net by its canonical flat wire name & scream if not found Locate a public net by its public wire & scream if not found Enumerate all nets that have pins on them Nets and instances Find nets attached to component Determine Instances on net Nets and pins Connections Utilities Remove the fts on a net list Return TRUE if net has an exit on the indicated side ΚF˜šœ™Icodešœ Οmœ1™