C# 클래스 ProgCom.CacheManager

파일 보기 프로젝트 열기: Binamrad/ProgCom 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

CacheManager() 공개 메소드

public CacheManager ( ) : System
리턴 System

getMem() 공개 메소드

public getMem ( UInt16 address ) : Int32
address System.UInt16
리턴 System.Int32

hwConnect() 공개 메소드

public hwConnect ( IPCHardware hw ) : void
hw IPCHardware
리턴 void

instructionLoad() 공개 메소드

public instructionLoad ( UInt16 adress, int &accessTime ) : UInt32
adress System.UInt16
accessTime int
리턴 System.UInt32

isCached() 공개 메소드

public isCached ( UInt16 adress ) : bool
adress System.UInt16
리턴 bool

readMem() 공개 메소드

public readMem ( UInt16 adress, int &accessTime ) : Int32
adress System.UInt16
accessTime int
리턴 System.Int32

writeMem() 공개 메소드

public writeMem ( Int32 data, UInt16 adress ) : int
data System.Int32
adress System.UInt16
리턴 int