The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta_target::MemoryRequest Struct Reference

Public Types

enum class  Command { READ , WRITE , UNKNOWN }
 

Public Attributes

Command cmd = Command::UNKNOWN
 
sparta::memory::addr_t addr = 0
 
uint32_t size = 0
 
uint8_t * data = nullptr
 
void * meta_data = nullptr
 

Detailed Description

Definition at line 10 of file MemoryRequest.hpp.

Member Enumeration Documentation

◆ Command

enum class sparta_target::MemoryRequest::Command
strong

Definition at line 12 of file MemoryRequest.hpp.

Member Data Documentation

◆ addr

sparta::memory::addr_t sparta_target::MemoryRequest::addr = 0

Definition at line 17 of file MemoryRequest.hpp.

◆ cmd

Command sparta_target::MemoryRequest::cmd = Command::UNKNOWN

Definition at line 16 of file MemoryRequest.hpp.

◆ data

uint8_t* sparta_target::MemoryRequest::data = nullptr

Definition at line 19 of file MemoryRequest.hpp.

◆ meta_data

void* sparta_target::MemoryRequest::meta_data = nullptr

Definition at line 20 of file MemoryRequest.hpp.

◆ size

uint32_t sparta_target::MemoryRequest::size = 0

Definition at line 18 of file MemoryRequest.hpp.


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