Source code for avl._core.monitor
# Copyright 2024 Apheleia
#
# Description:
# Apheleia Verification Library Monitor
import cocotb
from .component import Component
from .port import Port
[docs]
class Monitor(Component):
[docs]
def __init__(self, name: str, parent: Component) -> None:
"""
Initialize the Monitor instance.
:param name: Name of the monitor.
:type name: str
:param parent: Parent component.
:type parent: Component
"""
super().__init__(name, parent)
self.item_export = Port("item_export", self)
__all__ = ["Monitor"]