MatchLib
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
AxiLiteSubordinateToMem< capacity > Class Template Reference

An AXI subordinate SRAM for the AXI-Lite protocol. More...

#include <AxiLiteSubordinateToMem.h>

Inheritance diagram for AxiLiteSubordinateToMem< capacity >:

Public Member Functions

 SC_CTOR (AxiLiteSubordinateToMem)
 

Public Attributes

axi_::read::template subordinate if_rd
 
axi_::write::template subordinate if_wr
 
sc_in< bool > reset_bar
 
sc_in< bool > clk
 

Protected Member Functions

void run ()
 

Detailed Description

template<int capacity>
class AxiLiteSubordinateToMem< capacity >

An AXI subordinate SRAM for the AXI-Lite protocol.

Template Parameters
capacityThe capacity in bytes of the local SRAM.
Overview
AxiLiteSubordinateToMem is an AXI subordinate compliant with the AXI-Lite protocol (32-bit data words, no bursts). The module only handles AXI addresses within the range of its internal memory, with a base address of 0. It does not support write strobes.
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/AxiLiteSubordinateToMem/run/while -PIPELINE_STALL_MODE stall
An AXI subordinate SRAM for the AXI-Lite protocol.

This may reduce area/power.

Definition at line 54 of file AxiLiteSubordinateToMem.h.


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