gem5  v21.1.0.2
Namespaces File Reference
#include "dev/arm/flash_device.hh"
#include "base/trace.hh"
#include "debug/Drain.hh"

Go to the source code of this file.


 Reference material can be found at the JEDEC website: UFS standard UFS HCI specification

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

Generated on Tue Sep 21 2021 12:26:31 for gem5 by doxygen 1.8.17