[libre-riscv-dev] TLB

Jacob Lifshay programmerjake at gmail.com
Mon Apr 22 03:49:47 BST 2019


I'd advocate using random selection as the replacement protocol,
rather than LRU, since random doesn't require any per-entry state or
complex state updates, and has essentially the same performance for
more than a few ways per set. I'd advocate using a LFSR that advances
continuously and picking the bottom few bits from it to select which
cache line to replace.


Jacob



More information about the libre-riscv-dev mailing list