The Gateway to Computer Science Excellence
+28 votes
4.4k views

In an instruction execution pipeline, the earliest that the data TLB (Translation Lookaside Buffer) can be accessed is:

  1. before effective address calculation has started

  2. during effective address calculation

  3. after effective address calculation has completed

  4. after data cache lookup has completed

in CO and Architecture by Veteran (52.1k points)
edited by | 4.4k views
+5
In a system without virtual memory , the EA will be either a main memory address or a register.

In a virtual memory system , the EA is a virtual address or a register.
0

.....

0
TLB stores only page table of large size program(Programs which are unable to fit in main memory). so after effective address calculation the given address will be reached using help of the page table of that program stored in TLB. Since virtual program is large in size so page table is also large & do not get fit in one page so multi-level paging. TLB decreases the access time to search in multi-level page table because it provides superfast memory access.

5 Answers

+36 votes
Best answer

C is the answer here.

Effective address is the address after applying the addressing mode like indexed, immediate etc. But this resulting address is still the virtual address, the physical address is invisible to the CPU and will be given only by the MMU when given the corresponding virtual address. Virtual address is given for TLB look up. TLB -Translation Lookaside Buffer, here Lookaside means during Address translation (from Virtual to Physical). But virtual address must be there before we look into TLB.

https://gateoverflow.in/?qa=blob&qa_blobid=15279338060050073946
 

by Veteran (423k points)
selected by
0
Here the answer given is B. Is C right or B?
0
Where is B given? C is the answer.
0
+8
That is wrong explanation. they are explaining for physical address resolution and not for effective address calculation.
0
Thank you sir.
+4

in case of indirect addressing mode.the flow will  be 

 [data from address field ] -> memory access-> TLB ->actual frame address ->data in that memory location -> back to processor->now this data is my effective address.

sir,so i think answer should be B.

+1
I suppose the question is clear that it is referring to the TLB lookup for a given memory access.
0
Sir the pdf you have mentioned says "instruction TLB" to be accessed before effective address calculation not the "data TLB". And the data cache access is specified after the calculation of the effective address.

Sir what is the concept here? Where to get theory about such topics?

Plzz help.
0
@Arjun sir. How to differentiate if Effective address is for Data address r the Effective address is virtual address.?
0
If indirect addressing mode is used then answer should be b) . Also as earliest is asked, I think we can assume indirect addressing. @Arjun Sir.
+18 votes
C as only after the calculation of Virtual address you can look up in the TLB
by Loyal (6.9k points)
+7 votes

in case of indirect addressing mode.the flow will  be 

 [data from address field ] -> memory access-> TLB ->actual frame address ->data in that memory location -> back to processor->now this data is my effective address.

sir,so i think answer should be B.

by Active (2.2k points)
0
Seems reasonable....
0
Effective = logical
0

Answer: (B) 

Explanation: When we calculate effective address, first of all we access TLB to access the Frame number.

Logical address generated by CPU breaks in two parts : page number and page offset, for faster accessing of data we place some page table entries in a small hardware TLB whose access time is same as cache memory. So initially when page no. is mapped to find the corresponding frame no., first it is look up in TLB and then in page-table (in case if TLB miss).

During effective address calculation TLB is accessed.

So (B) is correct option.

0 votes
B. During effective address calculation
by (289 points)
–2 votes

B. during effective address calculation

by Boss (13.5k points)
0
Yes this seems correct. My reason would be that during eff address calculation logical address needs to be converted to physical addresses. For this conversion tlb would first come into picture. Hence it would be during the effective address calculation only....is this correct???
+3
No. Effective address still means virtual address.
0
@Arjun Sir which is correct Bor C?
+1

Sandeep

an effective address is Virtual address and after Virtual address calculation we look into TLB. So option C is correct.

+1
@Bikram sir sir

it means after calculation of effective/logical address we look into TLB to check whether  data is present or not

this is the reason for C option
0
@set2018

Yes correct

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,650 questions
56,228 answers
194,225 comments
95,681 users