Menu

[Solved]Given Following Cache Specifications S E B M 4 2 2 6 Construct Block Diagram Two Way Set A Q37129924

Given the following cache specifications: (S, E, B, m) = (4, 2,2, 6)

  1. Construct a block diagram of a two-way set-associative cache.Each block is 1 byte deep.
  2. Identify the tag bits, set bits and block offset bits for theaddress field.
  3. The cache replacement policy is: Last-in First-out.

Step 1: InitialState

Define the initial structure andstate of the cache as done in class. The # of rows in the tablebelow must be changed to fit your cache model.

Set

Line

Valid

Tag

Block 0

Block 1

Step 2: Read Address 0

Show how the cache contents change asthe processer requests data from the following memory locations: 0,32, 17, 33, 22, 9. Comment whether you have a cache hit/miss aftereach read.

Data at Address xisreferred to as m[x]

If a cache line has to be overwritten, cross out the old lineand write the new one or draw a new table.

Expert Answer


Answer to Given the following cache specifications: (S, E, B, m) = (4, 2, 2, 6) Construct a block diagram of a two-way set-associa… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *