A B C D E F G H I L M N O P R S T U V W

A

AbstractBlock - Class in cse378
 
AbstractBlock(int) - Constructor for class cse378.AbstractBlock
 
AbstractCache - Class in cse378
Base class for CSE 378 AbstractCache lab 5
AbstractCache(int) - Constructor for class cse378.AbstractCache
Simple constructor
AbstractCache(int, int) - Constructor for class cse378.AbstractCache
Set Associative Constructor
AbstractCache(int, int, int) - Constructor for class cse378.AbstractCache
Full Constructor
AbstractLine - Class in cse378
Abstract class representing a line in the cache or TLB A line has a number of Blocks, and keeps track of which is the least recently used
AbstractLine() - Constructor for class cse378.AbstractLine
 
Access - Enum in cse378.status
 
Access() - Constructor for enum cse378.status.Access
 
access - Variable in class cse378.status.Status
 
addrCheck(int) - Method in class cse378.cache.CacheBlock
 
address - Variable in class cse378.status.Status
 
allocEntry() - Method in class cse378.AbstractLine
Pick an AbstractBlock to receive new data.
allocEntry() - Method in class cse378.cache.CacheLine
Pick a CacheEntry to receive new data.
allocEntry() - Method in class cse378.tlb.TLBLine
 

B

BitField - Class in cse378.util
An abstract class representing a fixed-width bit field
BitField(int, int) - Constructor for class cse378.util.BitField
 
Bits - Class in cse378.util
 
Bits() - Constructor for class cse378.util.Bits
 
blockBits - Variable in class cse378.AbstractCache
 
blockSize - Variable in class cse378.AbstractCache
 

C

Cache - Class in cse378.cache
Cache for CSE 378 lab 5
Cache(Component, int, int, int) - Constructor for class cse378.cache.Cache
 
CacheBlock - Class in cse378.cache
class for CSE 378 AbstractCache lab 5
CacheBlock(int, int, int) - Constructor for class cse378.cache.CacheBlock
 
CacheLine - Class in cse378.cache
 
CacheLine(int) - Constructor for class cse378.cache.CacheLine
 
CacheLine(int, int) - Constructor for class cse378.cache.CacheLine
 
CacheLine(int, int, int) - Constructor for class cse378.cache.CacheLine
 
cachelines - Variable in class cse378.AbstractCache
 
cleanMisses - Variable in class cse378.AbstractCache
 
cleanMisses - Variable in class cse378.pagetable.PageTable
 
cleanMisses - Variable in class cse378.tlb.TLB
 
Component - Enum in cse378.status
 
Component() - Constructor for enum cse378.status.Component
 
computeIndex(PhysicalAddress) - Method in class cse378.AbstractCache
Compute the line corresponding to a particular location
computeIndex(PhysicalAddress) - Method in class cse378.cache.Cache
Compute the index of a particular location
computeIndex(VirtualAddress) - Method in class cse378.tlb.TLB
Compute the index of a particular location
computeTag(PhysicalAddress) - Method in class cse378.AbstractCache
Compute the tag corresponding to a particular location
computeTag(PhysicalAddress) - Method in class cse378.cache.Cache
Compute the tag for a particular location.
computeTag(VirtualAddress) - Method in class cse378.tlb.TLB
 
count - Static variable in class cse378.pagetable.PageTableEntry
 
cse378 - package cse378
 
cse378.cache - package cse378.cache
 
cse378.pagetable - package cse378.pagetable
 
cse378.status - package cse378.status
 
cse378.tlb - package cse378.tlb
 
cse378.util - package cse378.util
 

D

dataBits - Variable in class cse378.cache.CacheBlock
 
dataSize - Variable in class cse378.cache.CacheBlock
 
DCache - Static variable in class cse378.MemorySystem
 
dirty - Variable in class cse378.AbstractBlock
 
dirtyMisses - Variable in class cse378.AbstractCache
 
dirtyMisses - Variable in class cse378.pagetable.PageTable
 
dirtyMisses - Variable in class cse378.tlb.TLB
 
DTLB - Static variable in class cse378.MemorySystem
 

E

entries - Variable in class cse378.AbstractLine
 
entrySize - Variable in class cse378.AbstractLine
 
equals(Object) - Method in class cse378.cache.CacheBlock
 
equals(Object) - Method in class cse378.tlb.TLBEntry
 
equals(Object) - Method in class cse378.util.BitField
 
evict(VirtualAddress) - Method in class cse378.tlb.TLB
Invalidate the TLB entry
extract(int, int) - Method in class cse378.util.BitField
 
extract(int, int, int) - Static method in class cse378.util.Bits
extract the value of a bitfield,
extractSafe(int, int, int) - Static method in class cse378.util.Bits
extract the value of a bitfield

F

fetch(VirtualAddress) - Method in class cse378.MemorySystem
Send a request to fetch an instruction

G

getAccess() - Method in class cse378.status.Status
 
getAddress() - Method in class cse378.status.Status
 
getCleanMisses() - Method in class cse378.AbstractCache
 
getCleanMisses() - Method in class cse378.pagetable.PageTable
 
getCounts() - Method in class cse378.AbstractCache
 
getCounts() - Method in class cse378.pagetable.PageTable
 
getCounts() - Method in class cse378.tlb.TLB
 
getDirtyMisses() - Method in class cse378.AbstractCache
 
getDirtyMisses() - Method in class cse378.pagetable.PageTable
 
getEntry(int) - Method in class cse378.AbstractLine
getEntry returns the TaggedBlock indexed by index
getEntry(int) - Method in class cse378.cache.CacheLine
getEntry returns the AbstractBlock indexed by index
getEntry(int) - Method in class cse378.tlb.TLBLine
getEntry returns the TLBEntry indexed by index
getHits() - Method in class cse378.AbstractCache
 
getId() - Method in class cse378.AbstractBlock
 
getInfo() - Method in class cse378.AbstractCache
 
getLine(BitField) - Method in class cse378.AbstractCache
Get the line addressed by the index
getLine(BitField) - Method in class cse378.cache.Cache
Get the line addressed by the index
getLine(BitField) - Method in class cse378.tlb.TLB
 
getLRU() - Method in class cse378.AbstractLine
getLRU return index of least recently used CacheEntry
getLRU() - Method in class cse378.pagetable.PageTable
 
getObject() - Method in class cse378.status.Status
 
getPage() - Method in class cse378.tlb.TLBEntry
 
getPhysical() - Method in class cse378.pagetable.PageTableEntry
Get the physical page represented by this mapping
getStats() - Method in class cse378.MemorySystem
 
getStatus() - Method in class cse378.AbstractCache
Retrieve status for the most recent probe
getStatus() - Method in class cse378.pagetable.PageTable
 
getStatus() - Method in class cse378.tlb.TLB
 
getTag() - Method in class cse378.pagetable.PageTableEntry
Get the virtual page represented by this mapping
getTag() - Method in class cse378.TaggedBlock
getTag returns the tag
getTag() - Method in class cse378.tlb.TLBEntry
 
getWidth() - Method in class cse378.util.BitField
 

H

hashCode() - Method in class cse378.AbstractBlock
hashcode computation
hashCode() - Method in class cse378.tlb.TLBEntry
 
hashCode() - Method in class cse378.util.BitField
 
hasTag(BitField) - Method in class cse378.TaggedBlock
Checks this entry for a matching Tag
hasTag(BitField) - Method in class cse378.tlb.TLBEntry
 
hasTag(VirtualPage) - Method in class cse378.tlb.TLBEntry
 
hits - Variable in class cse378.AbstractCache
 
hits - Variable in class cse378.pagetable.PageTable
 
hits - Variable in class cse378.tlb.TLB
 

I

ICache - Static variable in class cse378.MemorySystem
 
id - Variable in class cse378.AbstractBlock
 
indexCheck(int) - Method in class cse378.AbstractLine
Verify that an index into the line is valid
initDCache(int, int, int) - Method in class cse378.MemorySystem
 
initDTLB(int, int) - Method in class cse378.MemorySystem
 
initICache(int, int, int) - Method in class cse378.MemorySystem
 
initITLB(int, int) - Method in class cse378.MemorySystem
 
initPageTable(int) - Method in class cse378.MemorySystem
 
initStatus(PhysicalAddress) - Method in class cse378.cache.Cache
 
initStatus(VirtualAddress) - Method in class cse378.pagetable.PageTable
Initialize the page table status
inputfile - Variable in class cse378.MemorySystemTester
 
insert(BitField) - Method in class cse378.util.BitField
 
isDirty() - Method in class cse378.AbstractBlock
check if this AbstractBlock has been modified
isHit() - Method in class cse378.status.Status
 
isMiss() - Method in class cse378.status.Status
 
isSwapped() - Method in class cse378.pagetable.PageTableEntry
Check if this page table entry has been swapped out
isValid() - Method in class cse378.AbstractBlock
 
ITLB - Static variable in class cse378.MemorySystem
 

L

lineBits - Variable in class cse378.AbstractCache
 
lines - Variable in class cse378.tlb.TLB
 
load(PhysicalAddress) - Method in class cse378.AbstractCache
load from the cache at location
load(PhysicalAddress) - Method in class cse378.cache.Cache
Signal a read from the cache
load(VirtualAddress) - Method in class cse378.pagetable.PageTable
Get a physical page mapping from the page table If none is found, one is created
log2(int) - Static method in class cse378.util.Bits
compute the base 2 log of an integer
logfile - Variable in class cse378.MemorySystemTester
 

M

main(String[]) - Static method in class cse378.MemorySystemTester
 
mask(int, int, int) - Static method in class cse378.util.Bits
extract the value of a bitfield
maxPages - Variable in class cse378.pagetable.PageTable
 
mem - Static variable in class cse378.MemorySystemTester
 
MemorySystem - Class in cse378
 
MemorySystem() - Constructor for class cse378.MemorySystem
 
MemorySystemTester - Class in cse378
 
MemorySystemTester() - Constructor for class cse378.MemorySystemTester
 

N

numLines - Variable in class cse378.AbstractCache
 
numLines - Variable in class cse378.tlb.TLB
 
numSets - Variable in class cse378.AbstractCache
 
numSets - Variable in class cse378.tlb.TLB
 

O

object - Variable in class cse378.status.Status
 

P

page - Variable in class cse378.pagetable.PageTableEntry
 
page - Variable in class cse378.tlb.TLBEntry
 
pageCount - Variable in class cse378.pagetable.PageTable
 
pages - Variable in class cse378.pagetable.PageTable
 
pageTable - Static variable in class cse378.MemorySystem
 
PageTable - Class in cse378.pagetable
 
PageTable(int) - Constructor for class cse378.pagetable.PageTable
Create a page table with a fixed number of physical pages
PageTableEntry - Class in cse378.pagetable
Represents the mapping between a virtual page and a physical page
PageTableEntry(VirtualPage, PhysicalPage) - Constructor for class cse378.pagetable.PageTableEntry
 
pendingTLBEviction() - Method in class cse378.pagetable.PageTable
 
probe(BitField) - Method in class cse378.AbstractLine
Test if there is a valid taggedEntry with a matching Tag
probe(BitField) - Method in class cse378.cache.CacheLine
Test if any of the entries in this line match a Tag
probe(VirtualAddress, boolean) - Method in class cse378.tlb.TLB
 
probe(BitField) - Method in class cse378.tlb.TLBLine
Added to ensure that only a VirtualPage can be used to probe
probe(VirtualPage) - Method in class cse378.tlb.TLBLine
 

R

read(VirtualAddress) - Method in class cse378.MemorySystem
Send a request to read from memory
read(VirtualAddress, PhysicalPage) - Method in class cse378.tlb.TLB
 
recent - Variable in class cse378.AbstractLine
 
recent - Variable in class cse378.pagetable.PageTable
 

S

setAccess(Access) - Method in class cse378.status.Status
 
setAddress(Address) - Method in class cse378.status.Status
 
setClean() - Method in class cse378.status.Status
 
setDirty(boolean) - Method in class cse378.AbstractBlock
 
setDirty() - Method in class cse378.status.Status
 
setMRU(TaggedBlock) - Method in class cse378.AbstractLine
setMRU makes indexed CacheEntry the MRU
setMRU(PageTableEntry) - Method in class cse378.pagetable.PageTable
 
setPage(PhysicalPage) - Method in class cse378.tlb.TLBEntry
 
setPhysical(PhysicalPage) - Method in class cse378.pagetable.PageTableEntry
Change the physical page represented by this mapping
sets - Variable in class cse378.AbstractLine
 
setSwapped(boolean) - Method in class cse378.pagetable.PageTableEntry
 
setTag(VirtualPage) - Method in class cse378.pagetable.PageTableEntry
Change the virtual page represented by this mapping
setTag(BitField) - Method in class cse378.TaggedBlock
writeTag writes the new tag
setTag(BitField) - Method in class cse378.tlb.TLBEntry
 
setTag(VirtualPage) - Method in class cse378.tlb.TLBEntry
Update the current entry with a new one
setValid(boolean) - Method in class cse378.AbstractBlock
Mark this entry as valid
shiftLeft(int) - Method in class cse378.util.BitField
 
stat - Variable in class cse378.AbstractCache
 
stat - Variable in class cse378.pagetable.PageTable
 
stat - Variable in class cse378.tlb.TLB
 
Status - Class in cse378.status
 
Status(Component) - Constructor for class cse378.status.Status
 
store(PhysicalAddress) - Method in class cse378.AbstractCache
store to cache at location
store(PhysicalAddress) - Method in class cse378.cache.Cache
Signal a write to Cache
store(VirtualAddress) - Method in class cse378.pagetable.PageTable
Get a physical page mapping from the page table If none is found, one is created, (and marked dirty)
swapped - Variable in class cse378.pagetable.PageTableEntry
 

T

tag - Variable in class cse378.TaggedBlock
 
tagBits - Variable in class cse378.AbstractLine
 
tagBits - Variable in class cse378.TaggedBlock
 
TaggedBlock - Class in cse378
 
TaggedBlock(int, int) - Constructor for class cse378.TaggedBlock
 
TLB - Class in cse378.tlb
 
TLB(Component, int, int) - Constructor for class cse378.tlb.TLB
 
TLBEntry - Class in cse378.tlb
 
TLBEntry(int, int) - Constructor for class cse378.tlb.TLBEntry
 
tlbEvictionAddress - Variable in class cse378.pagetable.PageTable
 
TLBLine - Class in cse378.tlb
Class representing a line in the TLB for CSE378 lab 5
TLBLine(int, int) - Constructor for class cse378.tlb.TLBLine
 
toBinaryString() - Method in class cse378.util.BitField
 
toBinaryString(int) - Static method in class cse378.util.Bits
 
toBinaryString(int, int) - Static method in class cse378.util.Bits
 
toHexString(int) - Static method in class cse378.util.Bits
 
toHexString(int, int) - Static method in class cse378.util.Bits
 
toInt() - Method in class cse378.util.BitField
 
toString() - Method in class cse378.cache.CacheBlock
 
toString() - Method in class cse378.cache.CacheLine
 
toString() - Method in class cse378.pagetable.PageTableEntry
 
toString() - Method in class cse378.status.Status
 
toString() - Method in class cse378.TaggedBlock
 
toString() - Method in class cse378.tlb.TLBEntry
 
toString() - Method in class cse378.tlb.TLBLine
 
toString() - Method in class cse378.util.BitField
 
toUnsignedString(int, int) - Static method in class cse378.util.Bits
Convert the integer to an unsigned number.
translate(TLB, VirtualAddress, LinkedList<Status>, boolean) - Method in class cse378.MemorySystem
Perform address translatio
truncate(int, int) - Static method in class cse378.util.Bits
 
truncateSafe(int, int) - Static method in class cse378.util.Bits
 

U

update(BitField) - Method in class cse378.TaggedBlock
Update the current entry with a new one
update(BitField) - Method in class cse378.tlb.TLBEntry
 
update(VirtualPage) - Method in class cse378.tlb.TLBEntry
 
updateDataStats(int, LinkedList<Status>, boolean) - Static method in class cse378.MemorySystemTester
 
updateFetchStats(int, LinkedList<Status>) - Static method in class cse378.MemorySystemTester
 

V

valid - Variable in class cse378.AbstractBlock
 
value - Variable in class cse378.util.BitField
 
valueOf(String) - Static method in enum cse378.status.Access
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum cse378.status.Component
Returns the enum constant of this type with the specified name.
values() - Static method in enum cse378.status.Access
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum cse378.status.Component
Returns an array containing the constants of this enum type, in the order they're declared.

W

width - Variable in class cse378.util.BitField
 
write(VirtualAddress) - Method in class cse378.MemorySystem
Send a request to write to memory
write(VirtualAddress, PhysicalPage) - Method in class cse378.tlb.TLB
 

A B C D E F G H I L M N O P R S T U V W