Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computer Aided Design - CAD > LSI circuits > Re: TLB impleme...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 8 Topic 74 of 124
Post > Topic >>

Re: TLB implementation: CAM vs SRAM

by adnan.aziz@[EMAIL PROTECTED] Nov 16, 2005 at 10:09 AM

dear dale,

thanks for your answer - i was surprised at how sophisticated the
analysis was, my students have enjoyed the debate,

cheers,
adnan

---

Dale Morris wrote:
> <adnan.aziz@[EMAIL PROTECTED]
> wrote in message
> news:1131558407.194222.326600@[EMAIL PROTECTED]
> >i was curious as to why TLBs are implemented using CAMs.
> >
> > specifically, it seems to me that the organization used in caches
> > (e.g., 4-way set associative) would work as well for a TLB as for a
> > D-cache - you can make much larger SRAMs than CAMs
>
> One reason is variable page sizes (for architectures that sup****t them).
> Caches typically have a fixed line size, and so the division between
index
> and tag for a set-associative cache can be done independent of the data
> being accessed.  But, for TLBs that can hold different page sizes, no
static
> division of address bits between index and tag gives you the optimal
design
> (where a mapping for a large page appears just once in the TLB, saving
much
> space over having multiple, smaller mappings).
>
> You could do something like sectoring (as is done in caches), but this
> doesn't give you much dynamic range, and it would mostly defeat the
purpose
> of using only a single TLB entry to map a large address range.
>
> With a CAM implementation of a TLB, each entry holds the virtual page
number
> (which may be variable in the number of bits) and the page size, which
> informs the entry-local match logic as to how many of the incoming VA
bits
> need to match in order to signal a hit for this entry.
>
> > ps - i teach a CMOS vlsi design class at UT Austin, and we're covering
> > RAMs, which led to this question
>
> If you need a concrete example of an architecture with variable page
sizes,
> might I suggest Itanium ;-)
>
> Hope this was helpful to you.
>
> - Dale Morris
>   Itanium Processor Architect
>   Hewlett-Packard Co.
 




 8 Posts in Topic:
TLB implementation: CAM vs SRAM
adnan.aziz@[EMAIL PROTECT  2005-11-09 09:46:47 
Re: TLB implementation: CAM vs SRAM
"Iain McClatchie&quo  2005-11-09 11:01:09 
Re: TLB implementation: CAM vs SRAM
"Dale Morris" &  2005-11-09 20:36:33 
Re: TLB implementation: CAM vs SRAM
MitchAlsup@[EMAIL PROTECT  2005-11-09 12:41:28 
Re: TLB implementation: CAM vs SRAM
"robertwessel2@[EMAI  2005-11-09 14:27:58 
Re: TLB implementation: CAM vs SRAM
Dysthymicdolt@[EMAIL PROT  2005-11-11 10:44:31 
Re: TLB implementation: CAM vs SRAM
adnan.aziz@[EMAIL PROTECT  2005-11-16 10:09:38 
Re: TLB implementation: CAM vs SRAM
"Dale Morris" &  2005-11-21 15:46:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Sep 5 22:51:12 CDT 2008.