@ Arjun Sir, @ Habib Sir
https://gateoverflow.in/13484/coa
I got a slightly different answer(69.12 ns) by using the concepts given by one of the professor and now I am in great dilemma when it comes to write access problems particularly in write through policy. But using that GATE '14 and '15 were solved accurately.
There he told that write miss penalty is always going to be same(as we have to every time update the memory word) ( i.e memory time if considering only one cache) and when he calculated the average access time he even included the write access time of cache also .
For example=
one of the formula given is
AMAT= 1 + %read*(1-h)*(M) + % write*(M) ( 1 is the access time of cache in clock cycles )
actually it is AMAT = 1 + avg. stalls per access.
whereas formula used here is ---> AMAT= %reads*(1+(1-h)*M) + %writes*(M)= "%reads*1" + %reads*(1-h)*M + %writes*M
so if we compare then only that "quoted" thing in the formula is different and b'coz of that I got slightly greater value.
And this was given under the concept Write Through , No write Allocate , No Write Buffer... Please refer it and tell me whether any thing wrong in this ... I am not able to upload the photo . I tried many times..Waiting for your response Sir. Please solve it. Many sleepless nights because of this . Thank You..