edu.byu.ece.edif.tools.replicate.nmr
Interface OrganSpecification

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractOrganSpecification, DetectorOrganSpecification, RestoringOrganSpecification

public interface OrganSpecification
extends java.io.Serializable

An organ specification is an indication of where to put a particular kind of organ during replication, how many to place, and what to do with the outputs. OrganSpecifications come in two main types: RestoringOrganSpecifications and DetectorOrganSpecifications.


Method Summary
 EdifNet getEdifNet()
           
 int getOrganCount()
           
 Organ getOrganType()
           
 java.util.List<EdifPortRef> getSinksGettingOrganOutputs()
           
 void promoteOrganCountUpTo(int organCount)
          Increase the number of organs in the specification up to organCount
 

Method Detail

getOrganType

Organ getOrganType()
Returns:
the type of organ this specification refers to

getOrganCount

int getOrganCount()
Returns:
the number of organs to place on the net indicated by this specification

getSinksGettingOrganOutputs

java.util.List<EdifPortRef> getSinksGettingOrganOutputs()
Returns:
a list of portRefs indicating net sinks that should get the organ's outputs instead of the pre-organ drivers

promoteOrganCountUpTo

void promoteOrganCountUpTo(int organCount)
Increase the number of organs in the specification up to organCount


getEdifNet

EdifNet getEdifNet()
Returns:
the net which this specification refers to