edu.byu.ece.edif.tools.replicate.nmr
Class ReducedPrecisionNMR

java.lang.Object
  extended by edu.byu.ece.edif.tools.replicate.nmr.ReducedPrecisionNMR

public class ReducedPrecisionNMR
extends java.lang.Object

ReducedPrecisionNMR takes a set of instances or ports and replicates all of the descendants of those objects

Author:
Brian Pratt

Field Summary
static boolean DEBUG
           
 
Constructor Summary
ReducedPrecisionNMR()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.lang.String msToString(long milliseconds)
           
protected static boolean nmrECIGroups(EdifCellInstanceCollectionGraph groupConn, ReplicationUtilizationTracker resourceTracker, java.util.List<EdifCellInstanceCollection> groupsToNMR, ReplicationType replicationType, boolean override)
           
static void reducedPrecisionNMR(EdifCell cell, EdifCellInstanceGraph connectivity, EdifCellBadCutGroupings badCutGroupings, ReplicationUtilizationTracker resourceTracker, java.util.List<java.lang.Object> seedNodes, NMRArchitecture nmrArch, ReplicationType replicationType, boolean override)
          Take the Collection of "seedNodes" and mark all descendants of the Collection for replication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
Constructor Detail

ReducedPrecisionNMR

public ReducedPrecisionNMR()
Method Detail

reducedPrecisionNMR

public static void reducedPrecisionNMR(EdifCell cell,
                                       EdifCellInstanceGraph connectivity,
                                       EdifCellBadCutGroupings badCutGroupings,
                                       ReplicationUtilizationTracker resourceTracker,
                                       java.util.List<java.lang.Object> seedNodes,
                                       NMRArchitecture nmrArch,
                                       ReplicationType replicationType,
                                       boolean override)
Take the Collection of "seedNodes" and mark all descendants of the Collection for replication.

Parameters:
cell - The given EdifCell
connectivity - The Cell's connectivity information
badCutGroupings - The EdifCellBadCutGroupings object for this graph
resourceTracker - The DeviceUtilizationTracker being used
seedNodes - The nodes in the graph to start replication from, in a List ordered by MSB->LSB
nmrArch - The NMRArchitecture

nmrECIGroups

protected static boolean nmrECIGroups(EdifCellInstanceCollectionGraph groupConn,
                                      ReplicationUtilizationTracker resourceTracker,
                                      java.util.List<EdifCellInstanceCollection> groupsToNMR,
                                      ReplicationType replicationType,
                                      boolean override)
                               throws OverutilizationEstimatedStopException
Parameters:
groupConn -
resourceTracker -
groupsToNMR -
Returns:
Status of replication: true if ALL instance were replicated, false if some were skipped or wouldn't fit.
Throws:
OverutilizationEstimatedStopException

main

public static void main(java.lang.String[] args)
                 throws OverutilizationException
Throws:
OverutilizationException

msToString

public static java.lang.String msToString(long milliseconds)