Skip to content

Class cp::CommandProcessor

ClassList > cp > CommandProcessor

Inherits the following classes: sc_module

Public Types

Type Name
typedef tlm_utils::simple_initiator_socket< TLM_MemIF >::base_target_socket_type Target

Public Functions

Type Name
CommandProcessor (const sc_module_name & name, bool trace, bool debug, int stub_port=8765, bool rsp_trace=false)
sc_clock * get_clk () const
Target * get_target () const
void read_ext_interrupt ()
void read_sw_interrupt ()
void read_timer_interrupt ()
void set_clk (sc_clock * t)
void set_ext_int (sc_signal< bool > * s)
void set_pc (uint64_t pc)
void set_sw_int (sc_signal< bool > * s)
void set_target (Target * t)
void set_timer_int (sc_signal< bool > * s)
void thread_proc ()

Public Types Documentation

typedef Target

using cp::CommandProcessor::Target =  tlm_utils::simple_initiator_socket<TLM_MemIF>::base_target_socket_type;

Public Functions Documentation

function CommandProcessor

cp::CommandProcessor::CommandProcessor (
    const sc_module_name & name,
    bool trace,
    bool debug,
    int stub_port=8765,
    bool rsp_trace=false
) 

function get_clk

sc_clock * cp::CommandProcessor::get_clk () const

function get_target

Target * cp::CommandProcessor::get_target () const

function read_ext_interrupt

void cp::CommandProcessor::read_ext_interrupt () 

function read_sw_interrupt

void cp::CommandProcessor::read_sw_interrupt () 

function read_timer_interrupt

void cp::CommandProcessor::read_timer_interrupt () 

function set_clk

void cp::CommandProcessor::set_clk (
    sc_clock * t
) 

function set_ext_int

void cp::CommandProcessor::set_ext_int (
    sc_signal< bool > * s
) 

function set_pc

void cp::CommandProcessor::set_pc (
    uint64_t pc
) 

function set_sw_int

void cp::CommandProcessor::set_sw_int (
    sc_signal< bool > * s
) 

function set_target

void cp::CommandProcessor::set_target (
    Target * t
) 

function set_timer_int

void cp::CommandProcessor::set_timer_int (
    sc_signal< bool > * s
) 

function thread_proc

void cp::CommandProcessor::thread_proc () 


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