Limitations

  • The cache does not emulate write-back penalties for write-back caches at present. This means that the evict functions will behave as the invalidate functions.

  • Number of ways must be a power of 2. That means that 1- 2- and 4- way set associative caches are fine, but 3-way set associative caches are not emulated by the generic cache model.