|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.byu.ece.edif.tools.sterilize.lutreplace.BasicReplacementContext
public class BasicReplacementContext
| Field Summary | |
|---|---|
protected EdifCell |
_newParentCell
|
protected EdifCellInstance |
_oldInstanceToReplace
|
protected java.util.HashMap<EdifSingleBitPort,EdifNet> |
_oldSBPortNewNetMap
|
| Constructor Summary | |
|---|---|
BasicReplacementContext(EdifCell newParent,
EdifCellInstance oldInstance)
|
|
| Method Summary | |
|---|---|
void |
addOldSBPortNewNetAssociation(EdifSingleBitPort oldSBPort,
EdifNet newNet)
|
EdifNet |
getNewNetToConnect(EdifSingleBitPort oldPort)
This method will provide the "new" net that was created in the new EdifCell That would have otherwise been hooked up to the given Port if replacement did not occur. |
EdifNet |
getNewNetToConnect(java.lang.String portName)
Return the new net. |
EdifNet |
getNewNetToConnect(java.lang.String portName,
int bitNum)
This method will provide the "new" net that was created in the new EdifCell that would have otherwise been hooked up to the given port. |
EdifCell |
getNewParentCell()
|
EdifCell |
getOldCellToReplace()
Returns the EdifCell in the old environment that is being replaced. |
EdifCellInstance |
getOldInstanceToReplace()
Returns the EdifCellInstance in the old design that needs to be replaced This provides the replacer with any property information (such as INIT) |
java.util.Collection<EdifSingleBitPort> |
getOldSBPorts()
|
protected EdifSingleBitPort |
getOldSingleBitPort(java.lang.String portName,
int bitNum)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EdifCellInstance _oldInstanceToReplace
protected java.util.HashMap<EdifSingleBitPort,EdifNet> _oldSBPortNewNetMap
protected EdifCell _newParentCell
| Constructor Detail |
|---|
public BasicReplacementContext(EdifCell newParent,
EdifCellInstance oldInstance)
| Method Detail |
|---|
public EdifCell getNewParentCell()
getNewParentCell in interface ReplacementContextpublic EdifNet getNewNetToConnect(EdifSingleBitPort oldPort)
ReplacementContext
getNewNetToConnect in interface ReplacementContext
public void addOldSBPortNewNetAssociation(EdifSingleBitPort oldSBPort,
EdifNet newNet)
addOldSBPortNewNetAssociation in interface ReplacementContext
public EdifNet getNewNetToConnect(java.lang.String portName,
int bitNum)
ReplacementContext
getNewNetToConnect in interface ReplacementContextpublic EdifCell getOldCellToReplace()
ReplacementContext
getOldCellToReplace in interface ReplacementContextpublic EdifCellInstance getOldInstanceToReplace()
ReplacementContext
getOldInstanceToReplace in interface ReplacementContextpublic EdifNet getNewNetToConnect(java.lang.String portName)
ReplacementContext
getNewNetToConnect in interface ReplacementContext
protected EdifSingleBitPort getOldSingleBitPort(java.lang.String portName,
int bitNum)
public java.util.Collection<EdifSingleBitPort> getOldSBPorts()
getOldSBPorts in interface ReplacementContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||