A method of determining whether a virtual address corresponds to a
physical address in a translation lookaside buffer (TLB) includes
receiving a virtual address, setting the page type of the virtual address
according to a rank of the page types, picking index bits and tag
compared address from the virtual address and comparing the index bits
and the tag compared bits with the page types and the tag addresses in
TLB. After these addresses and bits match, the page types are ranked
according to the compared results.