rohd_bridge library
Classes
- AdHocConnection
- A connection between two PortReferences or ConstReferences.
- 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.
- ConstReference
- A reference to a constant value.
- InterfaceConnection
- A connection between two InterfaceReferences.
-
InterfaceReference<
InterfaceType extends PairInterface> -
A
Referenceto an interface on a BridgeModule. - PortMap
- Represents a mapping between a PortReference and an InterfacePortReference on a particular BridgeModule.
- PortReference
-
A
Referenceto a port on a BridgeModule. - RohdBridgeLogger
- Logger 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.
- TieOffConnection
- A connection that represents a tie-off with a constant value.
Enums
- PortDirection
- A direction type for a port of a Module.
Mixins
- InterfacePortReference
- A mixin that provides interface-specific behavior for port references.
-
PortDrivenConnection<
ReferenceType extends Reference> - A mixin for connections that are a single port driven by a signal (as opposed to an interface.)
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}) → void -
Connects
intf1tointf2, 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
drivertoreceiver, punching ports along the way as necessary. -
findCommonParent(
Module firstChild, Module secondChild) → Module? -
Returns the common parent of two modules
firstChildandsecondChild. If the two modules are the same, returns that module. If no common parent is found and they are not the same module, returns null.
Exceptions / Errors
- RohdBridgeException
- Base class for Exceptions thrown by ROHD Bridge.