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

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

#include <AxiLiteSlaveToMem.h>

Inheritance diagram for AxiLiteSlaveToMem< capacity >:

Public Member Functions

 SC_CTOR (AxiLiteSlaveToMem)
 

Public Attributes

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

Protected Member Functions

void run ()
 

Detailed Description

template<int capacity>
class AxiLiteSlaveToMem< capacity >

An AXI slave SRAM for the AXI-Lite protocol.

Template Parameters
capacityThe capacity in bytes of the local SRAM.
Overview
AxiLiteSlaveToMem is an AXI slave 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/AxiLiteSlaveToMem/run/while -PIPELINE_STALL_MODE stall

This may reduce area/power.

Definition at line 54 of file AxiLiteSlaveToMem.h.


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