|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbyucc.edif.EdifUtils
public class EdifUtils
Contains a collection of static utility methods. These methods will likely be moved to other classes and packages as their usefullness is better understood.
| Constructor Summary | |
|---|---|
EdifUtils()
|
|
| Method Summary | |
|---|---|
static int |
countPortRefs(EdifCell cell,
boolean primsOnly)
Count the number of EdifPortRefs in the cell. |
static int |
countRecursiveNets(EdifCell cell)
Count the number of nets in the EdifCell. |
static int |
countRecursivePrimitives(EdifCell cell)
Count the number of leaf cells in the EdifCell. |
static java.util.Map |
getUniqueInstanceTypes(EdifCell cell,
java.util.Map map)
Return a Map of all unique instance types found within the given EdifCell object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EdifUtils()
| Method Detail |
|---|
public static int countPortRefs(EdifCell cell,
boolean primsOnly)
cell - primsOnly - If true, count only port refs that are connected to
leaf-cells. If false, count all port refs.
public static int countRecursiveNets(EdifCell cell)
cell -
public static int countRecursivePrimitives(EdifCell cell)
cell -
public static java.util.Map getUniqueInstanceTypes(EdifCell cell,
java.util.Map map)
cell - The EdifCell to investigatemap - A Map object to add the entries to. If this is null, a
new Map will be created. This parameter is used to allow recursive
calling of this method.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||