<<-- File: IPChWidthEst.mesa>> <> <<>> DIRECTORY IPParams, IPCTG, IPNetTab, IPTop; <<>> IPChWidthEst: CEDAR DEFINITIONS <<--Intro: This module estimates channel width based on various factors >> IMPORTS IPNetTab = BEGIN ChWidthEstimator: TYPE = PROC[ch: IPCTG.Channel, totalNetLength, totalActivePins, totalNonActivePins, xDim, yDim, activeComps, nonActiveComps: INT] RETURNS [est: INT]; SimpleChWidthEstimator: ChWidthEstimator; EstimateAndAssignChWidth: PROC[ top: IPTop.Ref, estimator: ChWidthEstimator _ SimpleChWidthEstimator, chNetFactorProc: IPNetTab.ChNetFactorEstimator _ IPNetTab.SimpleChNetFactorEstimator] RETURNS [ totalNetLength, totalActivePins, totalNonActivePins, xDim, yDim, activeComps, nonActiveComps: INT]; END.