public class ModuleImplsInst extends AbstractModuleInst<ModuleImpls,ModulePlacement,ModuleImplsInst>
ModuleImpls
' list
of implementations as well.
Before exporting designs containing instances of this class to a DCP, they have to be lowered to ModuleInst
s.
This is achieved by calling DesignTools.createModuleInstsFromModuleImplsInsts(Design, Collection, Collection)
Constructor and Description |
---|
ModuleImplsInst(String name,
EDIFCellInst cellInst,
ModuleImpls module) |
ModuleImplsInst(String name,
ModuleImpls module) |
Modifier and Type | Method and Description |
---|---|
RelocatableTileRectangle |
getBoundingBox() |
Module |
getCurrentModuleImplementation() |
ModuleImpls |
getModule() |
ModulePlacement |
getPlacement() |
ImplsInstancePort |
getPort(String name) |
Collection<ImplsInstancePort.InstPort> |
getPorts() |
boolean |
overlaps(ModuleImplsInst other) |
void |
place(ModulePlacement placement) |
void |
unplace() |
connect, connect, connect, connect, connect, equals, getCellInst, getName, getNewNetName, hashCode, setCellInst, setName, toString
public ModuleImplsInst(String name, EDIFCellInst cellInst, ModuleImpls module)
public ModuleImplsInst(String name, ModuleImpls module)
public void unplace()
unplace
in class AbstractModuleInst<ModuleImpls,ModulePlacement,ModuleImplsInst>
public ModulePlacement getPlacement()
getPlacement
in class AbstractModuleInst<ModuleImpls,ModulePlacement,ModuleImplsInst>
public void place(ModulePlacement placement)
public ModuleImpls getModule()
getModule
in class AbstractModuleInst<ModuleImpls,ModulePlacement,ModuleImplsInst>
public Module getCurrentModuleImplementation()
public boolean overlaps(ModuleImplsInst other)
overlaps
in class AbstractModuleInst<ModuleImpls,ModulePlacement,ModuleImplsInst>
public RelocatableTileRectangle getBoundingBox()
getBoundingBox
in class AbstractModuleInst<ModuleImpls,ModulePlacement,ModuleImplsInst>
public ImplsInstancePort getPort(String name)
public Collection<ImplsInstancePort.InstPort> getPorts()