Go to the documentation of this file.
44 #include "debug/AMBA.hh"
62 pkt->
setLE<uint32_t>(0);
64 panic(
"Tried to read AmbaFake %s at offset %#x that doesn't exist\n",
77 if (!
params()->ignore_access)
78 panic(
"Tried to write AmbaFake %s at offset %#x that doesn't exist\n",
87 AmbaFakeParams::create()
void makeAtomicResponse()
Addr pioAddr
Address that the device listens to.
virtual Tick read(PacketPtr pkt)
Pure virtual function that the device must implement.
uint64_t Tick
Tick count type.
AmbaFake(const Params *p)
bool readId(PacketPtr pkt, uint64_t amba_id, Addr pio_addr)
Addr pioSize
Size that the device's address range.
const Params * params() const
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual const std::string name() const
virtual Tick write(PacketPtr pkt)
Pure virtual function that the device must implement.
AmbaPioDeviceParams Params
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Tick pioDelay
Delay that the device experinces on an access.
void setLE(T v)
Set the value in the data pointer to v as little endian.
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:02:10 for gem5 by doxygen 1.8.17