Lines Matching defs:int
28 def init(self, tag: int = 0, free: bool = True):
65 cache_width: int,
66 block_width: int,
67 memory_width: int,
68 lines_per_set: int,
107 def read(self, addr: int) -> None:
122 def write(self, addr: int) -> None:
153 def _load(self, addr: int) -> None:
174 def _extract_bits(value: int, start_bit: int, end_bit: int) -> int:
180 def _addr_get_tag(self, addr: int) -> int:
185 def _addr_get_set(self, addr: int) -> int:
190 def _addr_get_offset(self, addr: int) -> int:
195 def _get_lines_in_set(self, set_index: int) -> List[CacheLine]:
202 def _line_lookup(self, addr: int) -> CacheLine | None:
211 def print_addr_info(self, addr: int, format: str = 'hex') -> None: