ParaNut SystemC Model
A SystemC Model of the ParaNut architecture
Classes | Macros
paranut-peripheral.h File Reference

The MPeripheral class containing the interface for Wishbone slave peripherals. More...

#include <systemc.h>
#include "base.h"
#include "paranut-config.h"
Include dependency graph for paranut-peripheral.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MPeripheral
 Class containing the interface for Wishbone slave peripherals. More...
 

Macros

#define WB_PORT_SIZE   CFG_MEMU_BUSIF_WIDTH
 Wishbone data port size in bit. More...
 

Detailed Description

The MPeripheral class containing the interface for Wishbone slave peripherals.

Macro Definition Documentation

◆ WB_PORT_SIZE

#define WB_PORT_SIZE   CFG_MEMU_BUSIF_WIDTH

Wishbone data port size in bit.

Defines the Wishbone data in/out port size (width) in bit. Default is to use the configuration value CFG_MEMU_BUSIF_WIDTH.

Parameters
32- 32 bit data width.
64- 64 bit data width.