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

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

#include <AxiAddWriteResponse.h>

Inheritance diagram for AxiAddWriteResponse< CfgManager, CfgSubordinate >:

Public Member Functions

 AxiAddWriteResponse (sc_module_name name)
 

Public Attributes

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

Detailed Description

template<typename CfgManager, typename CfgSubordinate>
class AxiAddWriteResponse< CfgManager, CfgSubordinate >

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

Template Parameters
CfgManagerA valid AXI config describing the manager port, with no write responses.
CfgSubordinateA valid AXI config describing the subordinate port, with write responses.
Overview
This block converts between an AXI manager that does not use write responses and an AXI subordinate that does use write responses. Most signals are simply passed through from manager to subordinate. Write responses generated by the subordinate 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
A simple shim that converts between two AXI configs by adding write responses.

This may reduce area/power.

Definition at line 51 of file AxiAddWriteResponse.h.


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