Skip to content

Add MIPS-style TLB to functional simulation #1000

Open
pavelkryukov opened this issue May 3, 2019 · 0 comments
Open

Add MIPS-style TLB to functional simulation #1000

pavelkryukov opened this issue May 3, 2019 · 0 comments
Labels
4 Features of medium complexity which usually require infrastructure enhancements. enhancement Adds a new feature to simulation. S2 — Caches To solve the issue, you NEED knowledge about caches. OOO hierarchy etc.

Comments

@pavelkryukov
Copy link
Member

pavelkryukov commented May 3, 2019

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).
@pavelkryukov pavelkryukov added enhancement Adds a new feature to simulation. 3 Features of medium complexity or infrastructure enhancements S2 — Caches To solve the issue, you NEED knowledge about caches. OOO hierarchy etc. labels May 3, 2019
@pavelkryukov pavelkryukov added 4 Features of medium complexity which usually require infrastructure enhancements. and removed 3 Features of medium complexity or infrastructure enhancements labels Nov 9, 2019
@pavelkryukov pavelkryukov changed the title Add TLB to functional simulation Add MIPS-style TLB to functional simulation Nov 9, 2019
@pavelkryukov pavelkryukov pinned this issue Feb 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4 Features of medium complexity which usually require infrastructure enhancements. enhancement Adds a new feature to simulation. S2 — Caches To solve the issue, you NEED knowledge about caches. OOO hierarchy etc.
Projects
None yet
Development

No branches or pull requests

1 participant