sonar/interfaces/axi4_lite_slave.py
def prologue(indent):
        """
        Any text that should be part of the testbench as a prologue outside any
        blocks such as variable declarations.

        Args:
            indent (str): Indentation to add to each line

        Returns:
            str: Updated prologue
        """
        prologue = indent + "logic [$$dataWidth-1:0] rdata_$$index;\n"
        prologue += indent + "xil_axi_resp_t rresp_$$index;\n"
        prologue += indent + "xil_axi_resp_t wresp_$$index;\n"
        prologue += (
            indent + "vip_bd_$$index_axi_vip_0_0_mst_t master_agent_$$index;\n"
        )
        return prologue

        Any text that should be part of the testbench as a prologue outside any
        blocks such as variable declarations.

        Args:
            indent (str): Indentation to add to each line

        Returns:
            str: Updated prologue
        
Any text that should be part of the testbench as a prologue outside any
blocks such as variable declarations.
Any text that should be part of the testbench as a prologue outside any blocks such as variable declarations .
def prologue(indent):
        prologue = indent + "logic [$$dataWidth-1:0] rdata_$$index;\n"
        prologue += indent + "xil_axi_resp_t rresp_$$index;\n"
        prologue += indent + "xil_axi_resp_t wresp_$$index;\n"
        prologue += (
            indent + "vip_bd_$$index_axi_vip_0_0_mst_t master_agent_$$index;\n"
        )
        return prologue
def prologue ( indent ) : prologue = indent + "logic [$$dataWidth-1:0] rdata_$$index;\n" prologue += indent + "xil_axi_resp_t rresp_$$index;\n" prologue += indent + "xil_axi_resp_t wresp_$$index;\n" prologue += ( indent + "vip_bd_$$index_axi_vip_0_0_mst_t master_agent_$$index;\n" ) return prologue
Any text that should be part of the testbench as a prologue outside any
blocks such as variable declarations.
Any text that should be part of the testbench as a prologue outside any blocks such as variable declarations .
"""
        Any text that should be part of the testbench as a prologue outside any
        blocks such as variable declarations.

        Args:
            indent (str): Indentation to add to each line

        Returns:
            str: Updated prologue
        """
None
str
indent
Indentation to add to each line
Indentation to add to each line