ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
|
#include <jtag_dtm.h>
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_WIDTH > | adr |
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 |
|
inline |
bool MDtm::dmi_read | ( | TWord | adr, |
uint64_t * | val | ||
) |
void MDtm::JTAGMethod | ( | ) |
void MDtm::OutputMethod | ( | ) |
void MDtm::Trace | ( | sc_trace_file * | tf, |
int | levels = 1 |
||
) |
|
protected |
|
protected |
sc_out<sc_uint<DTM_ADDR_WIDTH> > MDtm::dmi_adr |
sc_in<sc_uint<32> > MDtm::dmi_dat_i |
sc_out<sc_uint<32> > MDtm::dmi_dat_o |
|
protected |
|
protected |
sc_out<bool> MDtm::dmi_rd |
|
protected |
sc_out<bool> MDtm::dmi_wr |
|
protected |
|
protected |
|
protected |
sc_in<bool> MDtm::reset |
|
protected |
sc_in<bool> MDtm::tck |
sc_in<bool> MDtm::tdi |
sc_out<bool> MDtm::tdo |
sc_in<bool> MDtm::tms |
|
protected |
|
protected |
|
protected |