C# Class ProgCom.CacheManager

Afficher le fichier Open project: Binamrad/ProgCom Class Usage Examples

Méthodes publiques

Méthode Description
CacheManager ( ) : System
getMem ( UInt16 address ) : Int32
hwConnect ( IPCHardware hw ) : void
instructionLoad ( UInt16 adress, int &accessTime ) : UInt32
isCached ( UInt16 adress ) : bool
readMem ( UInt16 adress, int &accessTime ) : Int32
writeMem ( Int32 data, UInt16 adress ) : int

Private Methods

Méthode Description
adressRow ( int adress, UInt16 cache ) : int
getAccessTime ( UInt16 address, UInt16 cache, int loadOrder ) : int
isInCache ( UInt16 addr, UInt16 cache, int loadOrder ) : bool
loadLoc ( UInt16 addr, UInt16 cache, int loadOrder ) : void

Method Details

CacheManager() public méthode

public CacheManager ( ) : System
Résultat System

getMem() public méthode

public getMem ( UInt16 address ) : Int32
address System.UInt16
Résultat System.Int32

hwConnect() public méthode

public hwConnect ( IPCHardware hw ) : void
hw IPCHardware
Résultat void

instructionLoad() public méthode

public instructionLoad ( UInt16 adress, int &accessTime ) : UInt32
adress System.UInt16
accessTime int
Résultat System.UInt32

isCached() public méthode

public isCached ( UInt16 adress ) : bool
adress System.UInt16
Résultat bool

readMem() public méthode

public readMem ( UInt16 adress, int &accessTime ) : Int32
adress System.UInt16
accessTime int
Résultat System.Int32

writeMem() public méthode

public writeMem ( Int32 data, UInt16 adress ) : int
data System.Int32
adress System.UInt16
Résultat int