Machine-translated by Google. Questions are authored in English.
Top

Discussion

Caches are often avoided or lockable in hard real time embedded systems because

  • A.they require a memory management unit to be present
  • B.a miss makes the worst-case execution time hard to bound
  • C.they consume more power than the main memory they front
  • D.they cannot be used with a Harvard architecture

Answer: B

Average speed is not the figure a deadline is judged against; the worst case is, and a cache makes it depend on history. Locking a critical routine into cache, or using a tightly coupled memory instead, restores predictability.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.