Skip to content

Add MIPS-style TLB to functional simulation #1000

@pavelkryukov

Description

@pavelkryukov

MIPS ISA defines that TLB miss is handled by OS.

TLB miss should generate an exception, which is handled by OS exception handler, which manipulates TLB using TLB-manipulating instructions (tlbp, tlbr, tlbwi, tlbwr)

The steps are:

  1. Add TLB structure to functional simulator
  2. Implement TLB-manipulation instructions
  3. Add the simplest handler of TLB miss exception to MARS-like kernel (i.e. physical address = virtual address + 0x10000).

Metadata

Metadata

Assignees

No one assigned

    Labels

    4Features of medium complexity which usually require infrastructure enhancements.S2 — CachesTo solve the issue, you NEED knowledge about caches. OOO hierarchy etc.enhancementAdds a new feature to simulation.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions