src/CacheSim/Cache.py
def isDirty(self,address):
        '''checks to see if cacheRow is dirty or not'''
        #Get Slot number
        slotMASK = 0b000011110000
        slot = (slotMASK & address) >> 4
        return self.slots[slot].dirty
checks to see if cacheRow is dirty or not
checks to see if cacheRow is dirty or not
checks to see if cacheRow is dirty or not
def isDirty(self,address):
        slotMASK = 0b000011110000
        slot = (slotMASK & address) >> 4
        return self.slots[slot].dirty
def isDirty ( self , address ) : slotMASK = 0b000011110000 slot = ( slotMASK & address ) >> 4 return self . slots [ slot ] . dirty
checks to see if cacheRow is dirty or not
checks to see if cacheRow is dirty or not
'''checks to see if cacheRow is dirty or not''' #Get Slot number
self
address