const PortID id
A numeric identifier to distinguish ports in a vector, and set to InvalidPortID in case this port is ...
Port(const std::string &_name, PortID _id)
Abstract base class for ports.
const std::string name() const
Return port name (for DPRINTF).
bool _connected
Whether this port is currently connected to a peer port.
virtual ~Port()
Virtual destructor due to inheritance.
Port * _peer
A pointer to this port's peer.
const std::string portName
Descriptive name (for DPRINTF output)
void reportUnbound() const
#define fatal(...)
This implements a cprintf based fatal() function.
Copyright (c) 2024 Arm Limited All rights reserved.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.