Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Compare true LRU with tree PLRU

Hardware interview practice

Compare true LRU with tree PLRU

MediumComputer ArchitectureSystemVerilog

A four-way cache can use exact least-recently-used replacement or a three-bit binary-tree pseudo-LRU policy. Which statement is guaranteed?

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Choose one

Answer choices

  1. A. Tree PLRU uses three bits and always identifies the exact least-recently-used way after every access sequence.
  2. B. Exact LRU and tree PLRU never update replacement state on cache hits.
  3. C. Tree PLRU uses three state bits but can choose a victim that is not the true least-recently-used way.
  4. D. Exact four-way LRU needs only two bits because there are four possible recency orders.
Continue practicing

Related questions

Computer ArchitectureRecognize write-back cache behavior→Computer ArchitecturePartition a cache address→Computer ArchitectureCalculate CPI with branch and cache penalties→
asic.fyi · Learn silicon end to end.info@asic.fyi