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

#include <tlb.h>

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

Public Member Functions

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

Public Attributes

sc_in< bool > clk
 
sc_in< bool > reset
 
sc_in< bool > flush
 
sc_in< bool > ptw_req
 
sc_in< bool > ptw_wr
 
sc_in< sc_uint< 20 > > ptw_va_i
 
sc_in< sc_uint< 20 > > ptw_pa_i
 
sc_in< bool > ptw_superpage_i
 
sc_in< bool > ptw_ac_r_i
 
sc_in< bool > ptw_ac_w_i
 
sc_in< bool > ptw_ac_x_i
 
sc_in< bool > ptw_ac_u_i
 
sc_in< bool > ptw_ac_a_i
 
sc_in< bool > ptw_ac_d_i
 
sc_out< bool > ptw_superpage_o
 
sc_out< sc_uint< 20 > > ptw_adr_o
 
sc_out< bool > ptw_hit_o
 
sc_out< bool > ptw_miss_o
 
sc_out< bool > ptw_ac_r_o
 
sc_out< bool > ptw_ac_w_o
 
sc_out< bool > ptw_ac_x_o
 
sc_out< bool > ptw_ac_u_o
 
sc_out< bool > ptw_ac_a_o
 
sc_out< bool > ptw_ac_d_o
 

Protected Attributes

sc_signal< STlbTagtlb_tag [CFG_MMU_TLB_ENTRIES]
 
sc_signal< STlbDatatlb_data [CFG_MMU_TLB_ENTRIES]
 
sc_signal< sc_uint< CFG_MMU_TLB_ENTRIES-1 > > plru_reg
 
sc_signal< sc_uint< CFG_MMU_TLB_ENTRIES_LD > > latest_hit
 
sc_signal< bool > update_plru_reg
 
sc_signal< bool > wr_done_reg
 
sc_signal< bool > superpage_sig
 
sc_signal< bool > hit_sig
 
sc_signal< bool > miss_sig
 

Constructor & Destructor Documentation

◆ MTlb()

MTlb::MTlb ( sc_module_name  name)
inline

Member Function Documentation

◆ Trace()

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

◆ TransitionMethod()

void MTlb::TransitionMethod ( )

Member Data Documentation

◆ clk

sc_in<bool> MTlb::clk

◆ flush

sc_in<bool> MTlb::flush

◆ hit_sig

sc_signal<bool> MTlb::hit_sig
protected

◆ latest_hit

sc_signal<sc_uint<CFG_MMU_TLB_ENTRIES_LD> > MTlb::latest_hit
protected

◆ miss_sig

sc_signal<bool> MTlb::miss_sig
protected

◆ plru_reg

sc_signal<sc_uint<CFG_MMU_TLB_ENTRIES-1> > MTlb::plru_reg
protected

◆ ptw_ac_a_i

sc_in<bool> MTlb::ptw_ac_a_i

◆ ptw_ac_a_o

sc_out<bool> MTlb::ptw_ac_a_o

◆ ptw_ac_d_i

sc_in<bool> MTlb::ptw_ac_d_i

◆ ptw_ac_d_o

sc_out<bool> MTlb::ptw_ac_d_o

◆ ptw_ac_r_i

sc_in<bool> MTlb::ptw_ac_r_i

◆ ptw_ac_r_o

sc_out<bool> MTlb::ptw_ac_r_o

◆ ptw_ac_u_i

sc_in<bool> MTlb::ptw_ac_u_i

◆ ptw_ac_u_o

sc_out<bool> MTlb::ptw_ac_u_o

◆ ptw_ac_w_i

sc_in<bool> MTlb::ptw_ac_w_i

◆ ptw_ac_w_o

sc_out<bool> MTlb::ptw_ac_w_o

◆ ptw_ac_x_i

sc_in<bool> MTlb::ptw_ac_x_i

◆ ptw_ac_x_o

sc_out<bool> MTlb::ptw_ac_x_o

◆ ptw_adr_o

sc_out<sc_uint<20> > MTlb::ptw_adr_o

◆ ptw_hit_o

sc_out<bool> MTlb::ptw_hit_o

◆ ptw_miss_o

sc_out<bool> MTlb::ptw_miss_o

◆ ptw_pa_i

sc_in<sc_uint<20> > MTlb::ptw_pa_i

◆ ptw_req

sc_in<bool> MTlb::ptw_req

◆ ptw_superpage_i

sc_in<bool> MTlb::ptw_superpage_i

◆ ptw_superpage_o

sc_out<bool> MTlb::ptw_superpage_o

◆ ptw_va_i

sc_in<sc_uint<20> > MTlb::ptw_va_i

◆ ptw_wr

sc_in<bool> MTlb::ptw_wr

◆ reset

sc_in<bool> MTlb::reset

◆ superpage_sig

sc_signal<bool> MTlb::superpage_sig
protected

◆ tlb_data

sc_signal<STlbData> MTlb::tlb_data[CFG_MMU_TLB_ENTRIES]
protected

◆ tlb_tag

sc_signal<STlbTag> MTlb::tlb_tag[CFG_MMU_TLB_ENTRIES]
protected

◆ update_plru_reg

sc_signal<bool> MTlb::update_plru_reg
protected

◆ wr_done_reg

sc_signal<bool> MTlb::wr_done_reg
protected

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