29#ifndef __DEV_LUPIO_LUPIO_RNG_HH__
30#define __DEV_LUPIO_LUPIO_RNG_HH__
34#include "debug/LupioRNG.hh"
36#include "params/LupioRNG.hh"
LupioRNG: A Random Number Generator virtual device that returns either a random value,...
const ByteOrder byteOrder
uint64_t lupioRNGRead(const uint8_t addr)
Function to return a random number, the current seed, or the device status.
Tick read(PacketPtr pkt) override
Implement BasicPioDevice virtual functions.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
LupioRNG(const Params ¶ms)
void lupioRNGWrite(const uint8_t addr, const uint64_t val64)
Function to allow the user to change the current seed, and configure the device using interrupts.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
const Params & params() const
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.