MatchLib
All Classes Namespaces Files Functions Modules Pages
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.

Constructor & Destructor Documentation

◆ AxiAddWriteResponse()

template<typename CfgManager , typename CfgSubordinate >
AxiAddWriteResponse< CfgManager, CfgSubordinate >::AxiAddWriteResponse ( sc_module_name  name)
inline

Definition at line 80 of file AxiAddWriteResponse.h.

Member Data Documentation

◆ clk

template<typename CfgManager , typename CfgSubordinate >
sc_in_clk AxiAddWriteResponse< CfgManager, CfgSubordinate >::clk

Definition at line 59 of file AxiAddWriteResponse.h.

◆ rst

template<typename CfgManager , typename CfgSubordinate >
sc_in<bool> AxiAddWriteResponse< CfgManager, CfgSubordinate >::rst

Definition at line 60 of file AxiAddWriteResponse.h.

◆ axiM_read

template<typename CfgManager , typename CfgSubordinate >
axiM::read::template subordinate AxiAddWriteResponse< CfgManager, CfgSubordinate >::axiM_read

Definition at line 62 of file AxiAddWriteResponse.h.

◆ axiM_write

template<typename CfgManager , typename CfgSubordinate >
axiM::write::template subordinate AxiAddWriteResponse< CfgManager, CfgSubordinate >::axiM_write

Definition at line 63 of file AxiAddWriteResponse.h.

◆ axiS_read

template<typename CfgManager , typename CfgSubordinate >
axiS::read::template manager AxiAddWriteResponse< CfgManager, CfgSubordinate >::axiS_read

Definition at line 64 of file AxiAddWriteResponse.h.

◆ axiS_write

template<typename CfgManager , typename CfgSubordinate >
axiS::write::template manager AxiAddWriteResponse< CfgManager, CfgSubordinate >::axiS_write

Definition at line 65 of file AxiAddWriteResponse.h.


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