MatchLib
Public Member Functions | Public Attributes | List of all members
AxiAddWriteResponse< CfgMaster, CfgSlave > Class Template Reference

A simple shim that converts between two AXI configs by adding write responses. More...

#include <AxiAddWriteResponse.h>

Inheritance diagram for AxiAddWriteResponse< CfgMaster, CfgSlave >:

Public Member Functions

 AxiAddWriteResponse (sc_module_name name)
 

Public Attributes

sc_in_clk clk
 
sc_in< bool > rst
 
axiM::read::template slave axiM_read
 
axiM::write::template slave axiM_write
 
axiS::read::template master axiS_read
 
axiS::write::template master axiS_write
 

Detailed Description

template<typename CfgMaster, typename CfgSlave>
class AxiAddWriteResponse< CfgMaster, CfgSlave >

A simple shim that converts between two AXI configs by adding write responses.

Template Parameters
CfgMasterA valid AXI config describing the master port, with no write responses.
CfgSlaveA valid AXI config describing the slave port, with write responses.
Overview
This block converts between an AXI master that does not use write responses and an AXI slave that does use write responses. Most signals are simply passed through from master to slave. Write responses generated by the slave are received and discarded.
  • Apart from support for write responses, the two AXI configs must otherwise be the same.
Usage Guidelines

This module sets the stall mode to flush by default to mitigate possible RTL bugs that can occur in the default stall mode. If you are confident that this class of bugs will not occur in your use case, you can change the stall mode via TCL directive:

directive set /path/to/AxiAddWriteResponse/axi_read_ar/while -PIPELINE_STALL_MODE stall

This may reduce area/power.

Definition at line 51 of file AxiAddWriteResponse.h.


The documentation for this class was generated from the following file: