ContentsFoundations to FrontierBezhig

integration_code/starters/memory_models.py

All lab code. Download this file.

# Exercise scaffold. Reference implementation is in a separate directory.
"""W03: schematic address translation and a direct-mapped cache, not hardware timing."""

def translate(address, page_map, page_size=4096):
    raise NotImplementedError('Implement this contract from the book.')

def direct_mapped(addresses, line_size=32, lines=2):
    raise NotImplementedError('Implement this contract from the book.')