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

#include <jtag_dtm.h>

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

Public Member Functions

 MDtm (sc_module_name name)
 
void Trace (sc_trace_file *tf, int levels=1)
 
bool dmi_write (TWord adr, TWord val)
 
bool dmi_read (TWord adr, uint64_t *val)
 
void OutputMethod ()
 
void JTAGMethod ()
 

Public Attributes

sc_in< bool > tck
 
sc_in< bool > tms
 
sc_in< bool > tdi
 
sc_out< bool > tdo
 
sc_in< bool > reset
 
sc_out< sc_uint< DTM_ADDR_WIDTH > > dmi_adr
 
sc_out< sc_uint< 32 > > dmi_dat_o
 
sc_in< sc_uint< 32 > > dmi_dat_i
 
sc_out< bool > dmi_rd
 
sc_out< bool > dmi_wr
 

Protected Attributes

sc_uint< DTM_ADDR_WIDTHadr
 
sc_uint< 32 > val
 
uint64_t * val_out
 
bool write
 
bool read
 
bool dmi_rd_last [3]
 
sc_signal< sc_uint< 34+DTM_ADDR_WIDTH > > dmi
 
sc_signal< sc_uint< 34+DTM_ADDR_WIDTH > > dr
 
sc_signal< sc_uint< 4 > > state
 
sc_signal< sc_uint< DTM_IR_WIDTH > > ir
 
sc_signal< bool > dmi_length
 
sc_signal< bool > dmi_op
 

Constructor & Destructor Documentation

◆ MDtm()

MDtm::MDtm ( sc_module_name  name)
inline

Member Function Documentation

◆ dmi_read()

bool MDtm::dmi_read ( TWord  adr,
uint64_t *  val 
)

◆ dmi_write()

bool MDtm::dmi_write ( TWord  adr,
TWord  val 
)

◆ JTAGMethod()

void MDtm::JTAGMethod ( )

◆ OutputMethod()

void MDtm::OutputMethod ( )

◆ Trace()

void MDtm::Trace ( sc_trace_file *  tf,
int  levels = 1 
)

Member Data Documentation

◆ adr

sc_uint<DTM_ADDR_WIDTH> MDtm::adr
protected

◆ dmi

sc_signal<sc_uint<34 + DTM_ADDR_WIDTH> > MDtm::dmi
protected

◆ dmi_adr

sc_out<sc_uint<DTM_ADDR_WIDTH> > MDtm::dmi_adr

◆ dmi_dat_i

sc_in<sc_uint<32> > MDtm::dmi_dat_i

◆ dmi_dat_o

sc_out<sc_uint<32> > MDtm::dmi_dat_o

◆ dmi_length

sc_signal<bool> MDtm::dmi_length
protected

◆ dmi_op

sc_signal<bool> MDtm::dmi_op
protected

◆ dmi_rd

sc_out<bool> MDtm::dmi_rd

◆ dmi_rd_last

bool MDtm::dmi_rd_last[3]
protected

◆ dmi_wr

sc_out<bool> MDtm::dmi_wr

◆ dr

sc_signal<sc_uint<34 + DTM_ADDR_WIDTH> > MDtm::dr
protected

◆ ir

sc_signal<sc_uint<DTM_IR_WIDTH> > MDtm::ir
protected

◆ read

bool MDtm::read
protected

◆ reset

sc_in<bool> MDtm::reset

◆ state

sc_signal<sc_uint<4> > MDtm::state
protected

◆ tck

sc_in<bool> MDtm::tck

◆ tdi

sc_in<bool> MDtm::tdi

◆ tdo

sc_out<bool> MDtm::tdo

◆ tms

sc_in<bool> MDtm::tms

◆ val

sc_uint<32> MDtm::val
protected

◆ val_out

uint64_t* MDtm::val_out
protected

◆ write

bool MDtm::write
protected

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