65 65 votes In an instruction execution pipeline, the earliest that the data TLB (Translation Lookaside Buffer) can be accessed is: before effective address calculation has started during effective address calculation after effective address calculation has completed after data cache lookup has completed CO & Architecture gatecse-2008 co-and-architecture virtual-memory normal + – Kathleen 28.2k views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply Show 3 previous comments Pranavpurkar commented Mar 28, 2022 reply Follow flag Nitesh Singh 2 TLB stores only page table of large size program(Programs which are unable to fit in main memory) i think you mean “virtual memory” here instead of TLB. 0 0 replyShare mv_ind commented Dec 4, 2024 reply Follow flag Should this be tagged as operating system? #operating-system? 0 0 replyShare Ujjwal_Nikam commented Nov 13, 2025 reply Follow flag The data TLB translates virtual to physical addresses, so it needs the complete virtual address first. This address is only available after effective address calculation finishes. Hence, TLB access starts after that point. 1 1 replyShare Please log in or register to add a comment.
Best answer 82 82 votes 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 Arjun answered Dec 4, 2014 • edited Jun 17, 2021 by Lakshman Bhaiya Arjun comment Share Follow See all 16 Comments 16 16 Comments reply Show 13 previous comments Abhrajyoti00 commented Oct 2, 2022 reply Follow flag What is meant by Effective address here? This q is doubtful for me. Thanks to @hetgate23 who pinged it. Maybe Option B or Option C4 opinions:-1) If effective address is the one that is received after what we know as effective address calculation, then in indirect addressing mode, yes it can be accessed even during EA Calculation is Done. So $Option B$2) If EA is the Virtual address being spoken about, then it will be $Option C$, because using the Virtual address we get the EA and then we access tlb and get the frame no.3) $Option D$ can't be the answer because which one will be accessed first cache or tlb is implementation dependent whether its Physically accessed cache, or virtually accessed cache.4) $Option A$ also doesn't feel right because we actually want to calculate the effective address. So first we must start the calculation then we need to lookup tlb/cache as reqd.@Pranavpurkar @ankitgupta.1729 Sir, @Argharupa Adhikary Aditya_ You all might wanna look. 2 2 replyShare Pranavpurkar commented Oct 3, 2022 reply Follow flag @Abhrajyoti00 if the system doesn’t contains TLB i.e the system without virtual memory then this question is also not correct. But they have specifically mentioned TLB , thus first it will generate the virtual address and then to convert into physical address , it will lookup TLB first to get the desired frame in memory. So, here the virtual address is nothing but the effective address(address of target) which is then converted to physical address after TLB lookup. so, option C seems correct. 2 2 replyShare saswata_m commented Feb 4, 2024 reply Follow flag @Arjun sir, but during the IF fetch we are already reading instructions from memory with the help of the address from the program counter. If we use paging along with virtual address space, don't we have to perform a TLB lookup for reading instructions? 1 1 replyShare Please log in or register to add a comment.
19 19 votes C as only after the calculation of Virtual address you can look up in the TLB Marv Patel answered Oct 18, 2014 Marv Patel comment Share Follow 0 reply Please log in or register to add a comment.
7 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. viv696 answered Jan 31, 2016 viv696 comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments vcrname9295 commented Dec 22, 2018 reply Follow flag 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 0 replyShare Pranavpurkar commented Mar 28, 2022 reply Follow flag seems correct! but not satisfied with the explanation. @Bikram sir please clear this thing ! 0 0 replyShare eliecher commented Feb 2, 2023 reply Follow flag Question says data TLB 0 0 replyShare Please log in or register to add a comment.
1 1 vote TLB is a mini page table and it contains the frequently accessed page table entries. Since logical address is effective address, only after we calculate what is the effective address we can access the TLB. Hence option C is the correct answer. topper98 answered Jun 5, 2020 topper98 comment Share Follow 0 reply Please log in or register to add a comment.
1 1 vote Since logical address is effective address, only after we calculate what is the effective address we can access the TLB. Tejaswee_Bommaluleni answered Jun 16, 2025 Tejaswee_Bommaluleni comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes B. During effective address calculation micky08 answered May 23, 2016 micky08 comment Share Follow 0 reply Please log in or register to add a comment.