rohd_bridge library

Classes

AdHocConnection
A connection between two PortReferences.
BridgeInterface
A custom interface created dynamically from a provided specification.
BridgeModule
A specialized module class that extends ROHD's Module with advanced connectivity and hierarchy management capabilities.
Connection<RefType extends Reference>
Represents a connection between two References.
ConnectionExtractor
Analyzes a set of modules and provides connection information between them.
InterfaceConnection
A connection between two InterfaceReferences.
InterfaceReference<InterfaceType extends PairInterface>
A Reference to an interface on a BridgeModule.
PortMap
Represents a mapping between a PortReference and an InterfacePortReference on a particular BridgeModule.
PortReference
A Reference to a port on a BridgeModule.
RohdBridgeLogger
Loggger for ROHD Bridge tool
SliceInterfacePortReference
A reference to a sliced portion of an interface port.
SlicePortReference
A PortReference that provides access to sliced or indexed portions of a port.
StandardInterfacePortReference
A reference to a complete, unsliced port within an interface.
StandardPortReference
A PortReference that refers to a complete, unsliced port.

Enums

PortDirection
A direction type for a port of a Module.

Mixins

InterfacePortReference
A mixin that provides interface-specific behavior for port references.

Extensions

BridgeModuleFromJson on BridgeModule
Extension methods for BridgeModule to support JSON parsing.
LoggerError on Logger
Extension on Logger to throw an exception if an error is encountered.
RohdBridgeModuleExtensions on Module
Extension methods for Module to provide additional functionality related to ROHD Bridge.

Functions

connectInterfaces(InterfaceReference<PairInterface> intf1, InterfaceReference<PairInterface> intf2, {String? intf1PathNewName, String? intf2PathNewName, bool allowIntf1PathUniquification = true, bool allowIntf2PathUniquification = true, Set<String> exceptPorts = const {}}) → void
Connects intf1 to intf2, creating all necessary ports through the hierarchy.
connectPorts(PortReference driver, PortReference receiver, {String? driverPathNewPortName, String? receiverPathNewPortName, bool allowDriverPathUniquification = true, bool allowReceiverPathUniquification = true}) → void
Makes a connection from driver to receiver, punching ports along the way as necessary.
findCommonParent(Module firstChild, Module secondChild) Module?
Returns the common parent of two modules firstChild and secondChild Assuming at least one common parent exists

Exceptions / Errors

RohdBridgeException
Base class for Exceptions thrown by ROHD Bridge.