gem5 v24.0.0.0
Loading...
Searching...
No Matches
flash_device.cc File Reference

This simplistic flash model is designed to model managed SLC NAND flash. More...

#include "dev/arm/flash_device.hh"
#include "base/trace.hh"
#include "debug/Drain.hh"

Go to the source code of this file.

Namespaces

namespace  gem5
 Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
 

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 Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0