RohdHclModuleInterfacePorts extension
Convenience methods for registering ROHD interfaces on HCL modules.
These methods are the HCL migration seam for alternate ROHD interface-port
layouts. Module implementations should use them instead of calling
connectIO or pairConnectIO directly.
- on
Methods
-
addInterface<
InterfaceType extends Interface< (TagType> , TagType extends Enum>InterfaceType source, {Iterable< TagType> ? inputTags, Iterable<TagType> ? outputTags, Iterable<TagType> ? inOutTags, String uniquify(String original)?}) → InterfaceType -
Available on Module, provided by the RohdHclModuleInterfacePorts extension
Clonessource, registers its selected ports on this module, and returns the clone for use by the module implementation. -
addPairInterface<
InterfaceType extends PairInterface> (InterfaceType source, PairRole role, {String uniquify(String original)?}) → InterfaceType -
Available on Module, provided by the RohdHclModuleInterfacePorts extension
Clonessource, registers it for the selectedrole, and returns the clone for use by the module implementation. -
addPairInterfaceFrom<
InterfaceType extends PairInterface> (InterfaceType target, PairInterface source, PairRole role, {String uniquify(String original)?}) → InterfaceType -
Available on Module, provided by the RohdHclModuleInterfacePorts extension
Registers an already-constructedtargetagainstsourcefor cases where a module intentionally changes the concrete pair-interface type.