## # @file as_automatics_2d_window_module.py # @ingroup automatics_intrep # @ingroup automatics_2dwpl # @author Philip Manke # @brief Class representing a window module for 2D-Window-Pipelines. # ----------------------------------------------------------------------------- from as_automatics_module import AsModule from as_automatics_port import Port, StandardPort from as_automatics_2d_window_interface import AsWindowInterface import as_automatics_logging as as_log LOG = as_log.get_log() ## # @addtogroup automatics_2dwpl # @{ ## @ingroup automatics_intrep class AsWindowModule(AsModule): """! @brief Class representing a module for use in 2D Window Pipelines. Based on the AsModule class. Adds multiple attributes for managing aspects of the pipeline.""" standard_port_templates = [ StandardPort(name="clk", port_type="external"), StandardPort( "strobe",
# # --------------------- DOXYGEN ----------------------------------------------- ## # @file as_AXI_Master_spec.py # @author Philip Manke # @brief Specifics for AXI_Master used by as_automatics # ----------------------------------------------------------------------------- import os from as_automatics_module import AsModule from as_automatics_interface import Interface from as_automatics_port import Port from as_automatics_generic import Generic from as_automatics_logging import get_log LOG = get_log() xilinx_path = None try: xilinx_path = os.environ.get("XILINX_VIVADO") except KeyError: LOG.warning( ("Xilinx Vivado is not sourced! Files required to use module " "AXI_Master may not be automatically included in the project.")) class AXIMasterExternal(Interface): def __init__(self): super().__init__("AXI_Master_external") self.add_port(Port("m_axi_aclk"))