Skip to content

Class simple::PrintBuf

ClassList > simple > PrintBuf

Inherits the following classes: sc_module

Public Types

Type Name
typedef sol::as_table_t< std::vector< uint8_t > > LuaBytes

Public Attributes

Type Name
tlm_utils::simple_target_socket< PrintBuf > port_

Public Functions

Type Name
void CloseFile ()
void FlushAll ()
void FlushBuffer (uint64_t addr)
PrintBuf (const sc_module_name & name, uint64_t num_entries, std::string filename)
void ProcessRequest ()
void Response ()
sc_clock * clock () const
virtual tlm::tlm_sync_enum nb_transport_fw (tlm::tlm_generic_payload & trans, tlm::tlm_phase & phase, sc_time & t)
uint64_t num_entries () const
void set_clock (sc_clock * clock)
virtual unsigned int transport_dbg (tlm::tlm_generic_payload & trans)
void write_bytes (uint64_t addr, const LuaBytes & data)
~PrintBuf ()

Public Types Documentation

typedef LuaBytes

using simple::PrintBuf::LuaBytes =  sol::as_table_t<std::vector<uint8_t> >;

Public Attributes Documentation

variable port_

tlm_utils::simple_target_socket<PrintBuf> simple::PrintBuf::port_;

Public Functions Documentation

function CloseFile

void simple::PrintBuf::CloseFile () 

function FlushAll

void simple::PrintBuf::FlushAll () 

function FlushBuffer

void simple::PrintBuf::FlushBuffer (
    uint64_t addr
) 

function PrintBuf

simple::PrintBuf::PrintBuf (
    const sc_module_name & name,
    uint64_t num_entries,
    std::string filename
) 

function ProcessRequest

void simple::PrintBuf::ProcessRequest () 

function Response

void simple::PrintBuf::Response () 

function clock

sc_clock * simple::PrintBuf::clock () const

function nb_transport_fw

virtual tlm::tlm_sync_enum simple::PrintBuf::nb_transport_fw (
    tlm::tlm_generic_payload & trans,
    tlm::tlm_phase & phase,
    sc_time & t
) 

function num_entries

inline uint64_t simple::PrintBuf::num_entries () const

function set_clock

void simple::PrintBuf::set_clock (
    sc_clock * clock
) 

function transport_dbg

virtual unsigned int simple::PrintBuf::transport_dbg (
    tlm::tlm_generic_payload & trans
) 

function write_bytes

void simple::PrintBuf::write_bytes (
    uint64_t addr,
    const LuaBytes & data
) 

function ~PrintBuf

simple::PrintBuf::~PrintBuf () 


The documentation for this class was generated from the following file projects/casvp/src/bindings/simple/print_buf.h