ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
Public Member Functions | Public Attributes | Protected Attributes | List of all members
MReadPort Class Reference

#include <memu.h>

Inheritance diagram for MReadPort:
Inheritance graph
[legend]
Collaboration diagram for MReadPort:
Collaboration graph
[legend]

Public Member Functions

 MReadPort (sc_module_name name)
 
void Trace (sc_trace_file *tf, int level=1)
 
void HitMethod ()
 
void TransitionMethod ()
 
void MainMethod ()
 

Public Attributes

sc_in< bool > clk
 
sc_in< bool > reset
 
sc_in< bool > port_rd
 
sc_in< bool > port_direct
 
sc_out< bool > port_ack
 
sc_in< sc_uint< 32 > > port_adr
 
sc_out< sc_uint< 32 > > port_data
 
sc_out< bool > port_ac_r
 
sc_out< bool > port_ac_x
 
sc_out< bool > port_ac_u
 
sc_in< bool > port_lres_scond
 
sc_out< bool > port_scond_ok
 
sc_in< sc_uint< 32 > > busif_adr
 
sc_in< sc_uint< 32 > > busif_data
 
sc_in< bool > busif_data_valid [CFG_MEMU_CACHE_BANKS]
 
sc_out< EBusIfOperationbusif_op
 
sc_in< bool > busif_busy
 
sc_in< bool > busif_ac_r
 
sc_in< bool > busif_ac_x
 
sc_in< bool > busif_ac_u
 
sc_out< bool > tag_rd
 
sc_out< bool > bank_rd
 
sc_in< sc_uint< 32 > > bank_data_in
 
sc_out< sc_uint< 32 > > bank_sel
 
sc_in< SCacheTagtag_in
 
sc_out< sc_uint< 32 > > way_out
 
sc_out< bool > req_tagr
 
sc_out< bool > req_bank [CFG_MEMU_CACHE_BANKS]
 
sc_out< bool > req_busif
 
sc_in< bool > gnt_tagr
 
sc_in< bool > gnt_bank [CFG_MEMU_CACHE_BANKS]
 
sc_in< bool > gnt_busif
 
sc_in< sc_uint< 32 > > snoop_adr
 
sc_in< bool > snoop_stb
 

Protected Attributes

sc_signal< EReadportStatestate_reg
 
sc_signal< int > state_trace
 
sc_signal< sc_uint< 32 > > bank_sel_reg
 
sc_signal< sc_uint< 32 > > link_adr_reg
 
sc_signal< bool > link_valid_reg
 
sc_signal< bool > ac_r_reg
 
sc_signal< bool > ac_x_reg
 
sc_signal< bool > ac_u_reg
 
sc_signal< bool > busif_hit
 
sc_signal< EReadportStatenext_state
 
sc_signal< sc_uint< 32 > > next_bank_sel
 
sc_signal< sc_uint< 32 > > next_link_adr_reg
 
sc_signal< bool > next_link_valid_reg
 
sc_signal< bool > next_ac_r_reg
 
sc_signal< bool > next_ac_x_reg
 
sc_signal< bool > next_ac_u_reg
 

Constructor & Destructor Documentation

◆ MReadPort()

MReadPort::MReadPort ( sc_module_name  name)
inline

Member Function Documentation

◆ HitMethod()

void MReadPort::HitMethod ( )

◆ MainMethod()

void MReadPort::MainMethod ( )

◆ Trace()

void MReadPort::Trace ( sc_trace_file *  tf,
int  level = 1 
)

◆ TransitionMethod()

void MReadPort::TransitionMethod ( )

Member Data Documentation

◆ ac_r_reg

sc_signal<bool> MReadPort::ac_r_reg
protected

◆ ac_u_reg

sc_signal<bool> MReadPort::ac_u_reg
protected

◆ ac_x_reg

sc_signal<bool> MReadPort::ac_x_reg
protected

◆ bank_data_in

sc_in<sc_uint<32> > MReadPort::bank_data_in

◆ bank_rd

sc_out<bool> MReadPort::bank_rd

◆ bank_sel

sc_out<sc_uint<32> > MReadPort::bank_sel

◆ bank_sel_reg

sc_signal<sc_uint<32> > MReadPort::bank_sel_reg
protected

◆ busif_ac_r

sc_in<bool> MReadPort::busif_ac_r

◆ busif_ac_u

sc_in<bool> MReadPort::busif_ac_u

◆ busif_ac_x

sc_in<bool> MReadPort::busif_ac_x

◆ busif_adr

sc_in<sc_uint<32> > MReadPort::busif_adr

◆ busif_busy

sc_in<bool> MReadPort::busif_busy

◆ busif_data

sc_in<sc_uint<32> > MReadPort::busif_data

◆ busif_data_valid

sc_in<bool> MReadPort::busif_data_valid[CFG_MEMU_CACHE_BANKS]

◆ busif_hit

sc_signal<bool> MReadPort::busif_hit
protected

◆ busif_op

sc_out<EBusIfOperation> MReadPort::busif_op

◆ clk

sc_in<bool> MReadPort::clk

◆ gnt_bank

sc_in<bool> MReadPort::gnt_bank[CFG_MEMU_CACHE_BANKS]

◆ gnt_busif

sc_in<bool> MReadPort::gnt_busif

◆ gnt_tagr

sc_in<bool> MReadPort::gnt_tagr

◆ link_adr_reg

sc_signal<sc_uint<32> > MReadPort::link_adr_reg
protected

◆ link_valid_reg

sc_signal<bool> MReadPort::link_valid_reg
protected

◆ next_ac_r_reg

sc_signal<bool> MReadPort::next_ac_r_reg
protected

◆ next_ac_u_reg

sc_signal<bool> MReadPort::next_ac_u_reg
protected

◆ next_ac_x_reg

sc_signal<bool> MReadPort::next_ac_x_reg
protected

◆ next_bank_sel

sc_signal<sc_uint<32> > MReadPort::next_bank_sel
protected

◆ next_link_adr_reg

sc_signal<sc_uint<32> > MReadPort::next_link_adr_reg
protected

◆ next_link_valid_reg

sc_signal<bool> MReadPort::next_link_valid_reg
protected

◆ next_state

sc_signal<EReadportState> MReadPort::next_state
protected

◆ port_ac_r

sc_out<bool> MReadPort::port_ac_r

◆ port_ac_u

sc_out<bool> MReadPort::port_ac_u

◆ port_ac_x

sc_out<bool> MReadPort::port_ac_x

◆ port_ack

sc_out<bool> MReadPort::port_ack

◆ port_adr

sc_in<sc_uint<32> > MReadPort::port_adr

◆ port_data

sc_out<sc_uint<32> > MReadPort::port_data

◆ port_direct

sc_in<bool> MReadPort::port_direct

◆ port_lres_scond

sc_in<bool> MReadPort::port_lres_scond

◆ port_rd

sc_in<bool> MReadPort::port_rd

◆ port_scond_ok

sc_out<bool> MReadPort::port_scond_ok

◆ req_bank

sc_out<bool> MReadPort::req_bank[CFG_MEMU_CACHE_BANKS]

◆ req_busif

sc_out<bool> MReadPort::req_busif

◆ req_tagr

sc_out<bool> MReadPort::req_tagr

◆ reset

sc_in<bool> MReadPort::reset

◆ snoop_adr

sc_in<sc_uint<32> > MReadPort::snoop_adr

◆ snoop_stb

sc_in<bool> MReadPort::snoop_stb

◆ state_reg

sc_signal<EReadportState> MReadPort::state_reg
protected

◆ state_trace

sc_signal<int> MReadPort::state_trace
protected

◆ tag_in

sc_in<SCacheTag> MReadPort::tag_in

◆ tag_rd

sc_out<bool> MReadPort::tag_rd

◆ way_out

sc_out<sc_uint<32> > MReadPort::way_out

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