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.