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

#include <memu.h>

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

Public Member Functions

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

Public Attributes

sc_in< bool > clk
 
sc_in< bool > reset
 
sc_out< bool > wb_cyc_o
 
sc_out< bool > wb_stb_o
 
sc_out< bool > wb_we_o
 
sc_out< sc_uint< 3 > > wb_cti_o
 
sc_out< sc_uint< 2 > > wb_bte_o
 
sc_out< sc_uint< CFG_MEMU_BUSIF_WIDTH/8 > > wb_sel_o
 
sc_out< sc_uint< 32 > > wb_adr_o
 
sc_out< sc_uint< CFG_MEMU_BUSIF_WIDTH > > wb_dat_o
 
sc_in< bool > wb_ack_i
 
sc_in< sc_uint< CFG_MEMU_BUSIF_WIDTH > > wb_dat_i
 
sc_in< EBusIfOperationbusif_op
 
sc_in< bool > busif_nolinelock
 
sc_in< sc_uint< 4 > > busif_bsel
 
sc_out< bool > busif_busy
 
sc_out< bool > tag_rd
 
sc_out< bool > tag_rd_way
 
sc_out< bool > tag_wr
 
sc_out< bool > bank_rd [CFG_MEMU_CACHE_BANKS]
 
sc_out< bool > bank_wr [CFG_MEMU_CACHE_BANKS]
 
sc_in< sc_uint< 32 > > adr_in
 
sc_out< sc_uint< 32 > > adr_out
 
sc_in< sc_uint< 32 > > data_in [CFG_MEMU_CACHE_BANKS]
 
sc_out< sc_uint< 32 > > data_out [CFG_MEMU_CACHE_BANKS]
 
sc_out< bool > data_out_valid [CFG_MEMU_CACHE_BANKS]
 
sc_in< SCacheTagtag_in
 
sc_out< SCacheTagtag_out
 
sc_out< bool > ac_r_out
 
sc_out< bool > ac_w_out
 
sc_out< bool > ac_x_out
 
sc_out< bool > ac_u_out
 
sc_in< bool > trap_u
 
sc_in< bool > trap_no_u
 
sc_out< bool > req_linelock
 
sc_out< bool > req_tagw
 
sc_out< bool > req_tagr
 
sc_out< bool > req_bank [CFG_MEMU_CACHE_BANKS]
 
sc_in< bool > gnt_linelock
 
sc_in< bool > gnt_tagw
 
sc_in< bool > gnt_tagr
 
sc_in< bool > gnt_bank [CFG_MEMU_CACHE_BANKS]
 
sc_out< sc_uint< 32 > > ptw_virt_adr
 
sc_in< sc_uint< 32 > > ptw_phys_adr
 
sc_out< bool > ptw_req
 
sc_in< bool > ptw_ack
 
sc_in< bool > ptw_ac_r
 
sc_in< bool > ptw_ac_w
 
sc_in< bool > ptw_ac_x
 
sc_in< bool > ptw_ac_u
 
sc_in< bool > ptw_ac_d
 
sc_in< bool > ptw_ac_a
 
sc_in< bool > paging_mode
 

Protected Member Functions

void AcceptNewOp ()
 

Protected Attributes

sc_signal< SBusIfRegsregs
 
sc_signal< SBusIfRegsnext_regs
 
sc_signal< TWordstate_trace
 

Constructor & Destructor Documentation

◆ MBusIf()

MBusIf::MBusIf ( sc_module_name  name)
inline

Member Function Documentation

◆ AcceptNewOp()

void MBusIf::AcceptNewOp ( )
protected

◆ MainMethod()

void MBusIf::MainMethod ( )

◆ Trace()

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

◆ TransitionMethod()

void MBusIf::TransitionMethod ( )

op_var[3] &

Member Data Documentation

◆ ac_r_out

sc_out<bool> MBusIf::ac_r_out

◆ ac_u_out

sc_out<bool> MBusIf::ac_u_out

◆ ac_w_out

sc_out<bool> MBusIf::ac_w_out

◆ ac_x_out

sc_out<bool> MBusIf::ac_x_out

◆ adr_in

sc_in<sc_uint<32> > MBusIf::adr_in

◆ adr_out

sc_out<sc_uint<32> > MBusIf::adr_out

◆ bank_rd

sc_out<bool> MBusIf::bank_rd[CFG_MEMU_CACHE_BANKS]

◆ bank_wr

sc_out<bool> MBusIf::bank_wr[CFG_MEMU_CACHE_BANKS]

◆ busif_bsel

sc_in<sc_uint<4> > MBusIf::busif_bsel

◆ busif_busy

sc_out<bool> MBusIf::busif_busy

◆ busif_nolinelock

sc_in<bool> MBusIf::busif_nolinelock

◆ busif_op

sc_in<EBusIfOperation> MBusIf::busif_op

◆ clk

sc_in<bool> MBusIf::clk

◆ data_in

sc_in<sc_uint<32> > MBusIf::data_in[CFG_MEMU_CACHE_BANKS]

◆ data_out

sc_out<sc_uint<32> > MBusIf::data_out[CFG_MEMU_CACHE_BANKS]

◆ data_out_valid

sc_out<bool> MBusIf::data_out_valid[CFG_MEMU_CACHE_BANKS]

◆ gnt_bank

sc_in<bool> MBusIf::gnt_bank[CFG_MEMU_CACHE_BANKS]

◆ gnt_linelock

sc_in<bool> MBusIf::gnt_linelock

◆ gnt_tagr

sc_in<bool> MBusIf::gnt_tagr

◆ gnt_tagw

sc_in<bool> MBusIf::gnt_tagw

◆ next_regs

sc_signal<SBusIfRegs> MBusIf::next_regs
protected

◆ paging_mode

sc_in<bool> MBusIf::paging_mode

◆ ptw_ac_a

sc_in<bool> MBusIf::ptw_ac_a

◆ ptw_ac_d

sc_in<bool> MBusIf::ptw_ac_d

◆ ptw_ac_r

sc_in<bool> MBusIf::ptw_ac_r

◆ ptw_ac_u

sc_in<bool> MBusIf::ptw_ac_u

◆ ptw_ac_w

sc_in<bool> MBusIf::ptw_ac_w

◆ ptw_ac_x

sc_in<bool> MBusIf::ptw_ac_x

◆ ptw_ack

sc_in<bool> MBusIf::ptw_ack

◆ ptw_phys_adr

sc_in<sc_uint<32> > MBusIf::ptw_phys_adr

◆ ptw_req

sc_out<bool> MBusIf::ptw_req

◆ ptw_virt_adr

sc_out<sc_uint<32> > MBusIf::ptw_virt_adr

◆ regs

sc_signal<SBusIfRegs> MBusIf::regs
protected

◆ req_bank

sc_out<bool> MBusIf::req_bank[CFG_MEMU_CACHE_BANKS]

◆ req_linelock

sc_out<bool> MBusIf::req_linelock

◆ req_tagr

sc_out<bool> MBusIf::req_tagr

◆ req_tagw

sc_out<bool> MBusIf::req_tagw

◆ reset

sc_in<bool> MBusIf::reset

◆ state_trace

sc_signal<TWord> MBusIf::state_trace
protected

◆ tag_in

sc_in<SCacheTag> MBusIf::tag_in

◆ tag_out

sc_out<SCacheTag> MBusIf::tag_out

◆ tag_rd

sc_out<bool> MBusIf::tag_rd

◆ tag_rd_way

sc_out<bool> MBusIf::tag_rd_way

◆ tag_wr

sc_out<bool> MBusIf::tag_wr

◆ trap_no_u

sc_in<bool> MBusIf::trap_no_u

◆ trap_u

sc_in<bool> MBusIf::trap_u

◆ wb_ack_i

sc_in<bool> MBusIf::wb_ack_i

◆ wb_adr_o

sc_out<sc_uint<32> > MBusIf::wb_adr_o

◆ wb_bte_o

sc_out<sc_uint<2> > MBusIf::wb_bte_o

◆ wb_cti_o

sc_out<sc_uint<3> > MBusIf::wb_cti_o

◆ wb_cyc_o

sc_out<bool> MBusIf::wb_cyc_o

◆ wb_dat_i

sc_in<sc_uint<CFG_MEMU_BUSIF_WIDTH> > MBusIf::wb_dat_i

◆ wb_dat_o

sc_out<sc_uint<CFG_MEMU_BUSIF_WIDTH> > MBusIf::wb_dat_o

◆ wb_sel_o

sc_out<sc_uint<CFG_MEMU_BUSIF_WIDTH/8> > MBusIf::wb_sel_o

◆ wb_stb_o

sc_out<bool> MBusIf::wb_stb_o

◆ wb_we_o

sc_out<bool> MBusIf::wb_we_o

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