scc 2025.09
SystemC components library
axi::fsm::fsm_handle Struct Reference

#include <types.h>

Collaboration diagram for axi::fsm::fsm_handle:

Public Member Functions

void reset ()

Public Attributes

AxiProtocolFsm *const fsm
 pointer to the FSM
tlm::scc::tlm_gp_shared_ptr trans {nullptr}
 pointer to the associated AXITLM payload
size_t beat_count = 0
 beat count of this transaction
bool is_snoop = false
 indicator if this is a snoop access
sc_core::sc_event finish
 event indicating the end of the transaction
tlm::scc::tlm_gp_shared_ptr gp {}
 additional data being used in the various adapters,
union { 
   uint64_t   i64 
   struct { 
      uint32_t   i0 
      uint32_t   i1 
   }   i32
   void *   p 
aux
sc_core::sc_time start
unsigned state {0}

Detailed Description

a handle class holding the FSM and associated data

Definition at line 58 of file types.h.

Constructor & Destructor Documentation

◆ fsm_handle()

axi::fsm::fsm_handle::fsm_handle ( )

Definition at line 34 of file base.cpp.

◆ ~fsm_handle()

axi::fsm::fsm_handle::~fsm_handle ( )

Definition at line 38 of file base.cpp.

Member Function Documentation

◆ reset()

void axi::fsm::fsm_handle::reset ( )
inline

reset all data members to their default

Definition at line 84 of file types.h.

Member Data Documentation

◆ beat_count

size_t axi::fsm::fsm_handle::beat_count = 0

beat count of this transaction

Definition at line 64 of file types.h.

◆ finish

sc_core::sc_event axi::fsm::fsm_handle::finish

event indicating the end of the transaction

Definition at line 68 of file types.h.

◆ fsm

AxiProtocolFsm* const axi::fsm::fsm_handle::fsm

pointer to the FSM

Definition at line 60 of file types.h.

◆ gp

tlm::scc::tlm_gp_shared_ptr axi::fsm::fsm_handle::gp {}

additional data being used in the various adapters,

Todo
refactor to remove this forward definitions

Definition at line 70 of file types.h.

◆ i0

uint32_t axi::fsm::fsm_handle::i0

Definition at line 74 of file types.h.

◆ i1

uint32_t axi::fsm::fsm_handle::i1

Definition at line 75 of file types.h.

◆ i64

uint64_t axi::fsm::fsm_handle::i64

Definition at line 72 of file types.h.

◆ is_snoop

bool axi::fsm::fsm_handle::is_snoop = false

indicator if this is a snoop access

Definition at line 66 of file types.h.

◆ p

void* axi::fsm::fsm_handle::p

Definition at line 77 of file types.h.

◆ start

sc_core::sc_time axi::fsm::fsm_handle::start

Definition at line 79 of file types.h.

◆ state

unsigned axi::fsm::fsm_handle::state {0}

Definition at line 80 of file types.h.

◆ trans

tlm::scc::tlm_gp_shared_ptr axi::fsm::fsm_handle::trans {nullptr}

pointer to the associated AXITLM payload

Definition at line 62 of file types.h.


The documentation for this struct was generated from the following files:
  • /home/eyck/Projects/MINRES/SystemC-Components/third_party/axi_chi/axi/fsm/types.h
  • /home/eyck/Projects/MINRES/SystemC-Components/third_party/axi_chi/axi/fsm/base.cpp