1#ifndef PFLIB_WISHBONEINTERFACE_H_
2#define PFLIB_WISHBONEINTERFACE_H_
4#include <pflib/Exception.h>
22 virtual void wb_write(
int target, uint32_t addr, uint32_t data) = 0;
27 virtual uint32_t
wb_read(
int target, uint32_t addr) = 0;
Abstract interface for wishbone transactions, used by ~all classes in pflib.
Definition: WishboneInterface.h:15
virtual void wb_write(int target, uint32_t addr, uint32_t data)=0
write a 32-bit word to the given target and address
virtual uint32_t wb_read(int target, uint32_t addr)=0
read a 32-bit word from the given target and address
virtual void wb_clear_counters()=0
Clear the monitoring counters.
virtual void wb_errors(uint32_t &crcup_errors, uint32_t &crcdn_errors, uint32_t &wb_errors)=0
Read the monitoring counters crcup_errors – CRC errors observed on the uplink (wraps) crcdn_errors – ...
virtual void wb_reset()=0
reset the wishbone bus (on/off cycle)
Polarfire Interaction Library.
Definition: Backend.h:8