ta_width_s2mm :>-1 DOWNTO 0);
    s_axi_rresp : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
    s_axi_rlast : OUT STD_LOGIC;
    s_axi_rvalid : OUT STD_LOGIC;
    s_axi_rready : IN STD_LOGIC
  );
END component;

<: if {$is_stsctrl} { :>

component axis_sts_master is
     port (
       s_axi_clk : in std_logic;
       s_axi_resetn : in std_logic;

       s_axis_tdata : out std_logic_vector (31 downto 0);
       s_axis_tkeep : out std_logic_vector (3 downto 0);
       s_axis_tvalid : out std_logic;
       s_axis_tlast : out std_logic;
       m_axis_tready : in std_logic
      );
end component;

<: } :>

<: } :>

component axi_traffic_gen_0 is 
  port (
  s_axi_aclk : in std_logic;
  s_axi_aresetn : in std_logic;
  m_axi_lite_ch1_awaddr : out std_logic_vector (31 downto 0);
  m_axi_lite_ch1_awprot : out std_logic_vector (2 downto 0);
  m_axi_lite_ch1_awvalid : out std_logic;
  m_axi_lite_ch1_awready : in std_logic;
  m_axi_lite_ch1_wdata : out std_logic_vector (31 downto 0);
  m_axi_lite_ch1_wstrb : out std_logic_vector (3 downto 0);
  m_axi_lite_ch1_wvalid : out std_logic;
  m_axi_lite_ch1_wready : in std_logic; 
  m_axi_lite_ch1_bresp : in std_logic_vector (1 downto 0);
  m_axi_lite_ch1_bvalid : in std_logic;
  m_axi_lite_ch1_bready : out std_logic;
  m_axi_lite_ch1_araddr : out std_logic_vector (31 downto 0);
  m_axi_lite_ch1_arvalid : out std_logic;
  m_axi_lite_ch1_arready : in std_logic;
  m_axi_lite_ch1_rdata : in std_logic_vector (31 downto 0);
  m_axi_lite_ch1_rvalid : in std_logic;
  m_axi_lite_ch1_rready : out std_logic;
  m_axi_lite_ch1_rresp : in std_logic_vector (1 downto 0);
  done : out std_logic;
  status : out std_logic_vector (31 downto 0)
);
end component;


component axi_lite_sm is
   generic (
    C_M_AXI_ADDR_WIDTH : integer := 32;
    C_M_AXI_DATA_WIDTH : integer := 32
    );
   port (
    -- System Signals
    D_WIDTH : in std_logic;
    M_AXI_ACLK : in std_logic;
    M_AXI_ARESETN : in std_logic;

    -- Master Interface Write Address
    M_AXI_AWADDR : out std_logic_vector (C_M_AXI_ADDR_WIDTH-1 down