35 #ifndef _PARANUT_PERIPHERAL_
36 #define _PARANUT_PERIPHERAL_
55 #define WB_PORT_SIZE CFG_MEMU_BUSIF_WIDTH
119 void Trace (sc_trace_file *
tf,
int level = 1);
Helpers, Makros and performance measuring Classes used in most ParaNut files.
Class containing the interface for Wishbone slave peripherals.
Definition: paranut-peripheral.h:75
sc_in< sc_uint< WB_PORT_SIZE/8 > > wb_sel_i
WB byte select inputs.
Definition: paranut-peripheral.h:88
MPeripheral(const sc_module_name &name)
Constructor.
Definition: paranut-peripheral.h:102
sc_out< sc_uint< WB_PORT_SIZE > > wb_dat_o
WB output data bus.
Definition: paranut-peripheral.h:95
sc_in< sc_uint< 3 > > wb_cti_i
WB cycle type identifier (optional, for registered feedback).
Definition: paranut-peripheral.h:86
sc_out< bool > wb_ack_o
WB normal termination.
Definition: paranut-peripheral.h:89
void Trace(sc_trace_file *tf, int level=1)
Trace function definition.
sc_in< bool > wb_cyc_i
WB cycle valid input.
Definition: paranut-peripheral.h:84
sc_in< bool > wb_rst_i
WB Reset input.
Definition: paranut-peripheral.h:81
sc_in< bool > wb_stb_i
WB Strobe input.
Definition: paranut-peripheral.h:83
sc_out< bool > wb_err_o
WB termination w/ error (optional).
Definition: paranut-peripheral.h:90
sc_in< sc_uint< WB_PORT_SIZE > > wb_dat_i
WB input data bus.
Definition: paranut-peripheral.h:94
sc_in< sc_uint< 32 > > wb_adr_i
WB address bus inputs.
Definition: paranut-peripheral.h:93
sc_out< bool > wb_rty_o
WB termination w/ retry (optional).
Definition: paranut-peripheral.h:91
sc_in< sc_uint< 2 > > wb_bte_i
WB burst type extension (optional, for registered feedback).
Definition: paranut-peripheral.h:87
sc_in_clk wb_clk_i
WB Clock input.
Definition: paranut-peripheral.h:80
sc_in< bool > wb_we_i
WB write enable intput.
Definition: paranut-peripheral.h:85
Configuration Makros used in most ParaNut files.
#define WB_PORT_SIZE
Wishbone data port size in bit.
Definition: paranut-peripheral.h:55
sc_trace_file * tf
Definition: tlb_tb.cpp:94