gem5 v24.0.0.0
|
This simplistic flash model is designed to model managed SLC NAND flash. More...
Go to the source code of this file.
Namespaces | |
namespace | gem5 |
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved. | |
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.