Adds unit tests for FIFO cache simulator
Adds a method get_next_way_to_replace() that just returns the victim 'way' without a side effect on the cache state. This makes unit testing the cache replacement policies convenient and avoids unexpected behavior.
Adds cache_policy_test_t template for testing multiple cache replacement policies.
Adds get_block_index() method that returns the block index for a given addr_t address.
Issue: #4842, #5456 (closed)