gem5  v20.1.0.0
flash_device.cc File Reference
#include "dev/arm/flash_device.hh"
#include "base/trace.hh"
#include "debug/Drain.hh"

Go to the source code of this file.

Detailed Description

This simplistic flash model is designed to model managed SLC NAND flash. This device will need an interface module (such as NVMe or UFS); Note that this model only calculates the delay and does not perform the actual transaction.

To access the memory, use either readMemory or writeMemory. This will schedule an event at the tick where the action will finish. If a callback has been given as argument then that function will be called on completion of that event. Note that this does not guarantee that there are no other actions pending in the flash device.

IMPORTANT: number of planes should be a power of 2.

Definition in file flash_device.cc.


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17