SILICON
Loading...
Searching...
No Matches
memory.cpp File Reference
#include "tests.hpp"
#include <array>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <string_view>
#include <core/circuit.hpp>
#include <core/memory.hpp>
#include <core/serialization/component_registration.hpp>
#include <core/serialization/component_registry.hpp>
#include <core/simulationSession.hpp>
#include <core/simulator.hpp>
Include dependency graph for memory.cpp:

Go to the source code of this file.

Functions

 TEST (ROMTest, ValidatesPropertiesAndShapesBusesFromPackedWordCount)
 TEST (ROMTest, RehydrationUsesSavedAddressWidthForPaddedWords)
 TEST (ROMTest, ExplicitOneWordImageUsesValidAddressBus)
 TEST (ROMTest, ReadsPackedLittleEndianWordsAcrossByteBoundaries)
 TEST (ROMTest, ChipSelectLowHoldsLastValueAndOutputEnableIsIgnored)
 TEST (ROMTest, OneWordRomIgnoresAddressState)
 TEST (ROMTest, MissingAndExternallyInvalidatedContentIsUnknown)
 TEST (ROMTest, ControlUnknownsPropagateWhileEnabledContentIsUnavailable)
 TEST (ROMTest, BinaryDocumentChangeIsTransactionalAndClearsStaleContent)
 TEST (ROMTest, SerializationPreservesWiringAndExplicitHydrationFeedsRuntimeSnapshot)
 TEST (ROMTest, MetadataUsesMemoryCategory)

Function Documentation

◆ TEST() [1/11]

TEST ( ROMTest ,
BinaryDocumentChangeIsTransactionalAndClearsStaleContent  )

Definition at line 207 of file memory.cpp.

◆ TEST() [2/11]

TEST ( ROMTest ,
ChipSelectLowHoldsLastValueAndOutputEnableIsIgnored  )

Definition at line 121 of file memory.cpp.

◆ TEST() [3/11]

TEST ( ROMTest ,
ControlUnknownsPropagateWhileEnabledContentIsUnavailable  )

Definition at line 190 of file memory.cpp.

◆ TEST() [4/11]

TEST ( ROMTest ,
ExplicitOneWordImageUsesValidAddressBus  )

Definition at line 91 of file memory.cpp.

◆ TEST() [5/11]

TEST ( ROMTest ,
MetadataUsesMemoryCategory  )

Definition at line 266 of file memory.cpp.

◆ TEST() [6/11]

TEST ( ROMTest ,
MissingAndExternallyInvalidatedContentIsUnknown  )

Definition at line 168 of file memory.cpp.

◆ TEST() [7/11]

TEST ( ROMTest ,
OneWordRomIgnoresAddressState  )

Definition at line 148 of file memory.cpp.

◆ TEST() [8/11]

TEST ( ROMTest ,
ReadsPackedLittleEndianWordsAcrossByteBoundaries  )

Definition at line 102 of file memory.cpp.

◆ TEST() [9/11]

TEST ( ROMTest ,
RehydrationUsesSavedAddressWidthForPaddedWords  )

Definition at line 80 of file memory.cpp.

◆ TEST() [10/11]

TEST ( ROMTest ,
SerializationPreservesWiringAndExplicitHydrationFeedsRuntimeSnapshot  )

Definition at line 226 of file memory.cpp.

◆ TEST() [11/11]

TEST ( ROMTest ,
ValidatesPropertiesAndShapesBusesFromPackedWordCount  )

Definition at line 59 of file memory.cpp.