Changes between Version 34 and Version 35 of VirtualMemory


Ignore:
Timestamp:
Sep 11, 2009, 10:04:26 AM (15 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VirtualMemory

    v34 v35  
    271271|| MMU_IBVAR                          ||  13      || Instruction Bad Virtual Address Register  || R      ||
    272272|| MMU_DBVAR                        ||  14      || Data Bad Virtual Address Register             || R      ||
    273 
    274 The MMU Mode Register has four bits and these 16 values are described as below :
     273|| MMU_PARAMS                      ||  14      || Caches & TLBs hardware parameters        || R      ||
     274
     275The MMU_MODE register has four bits and these 16 values are described as below :
    275276
    276277||   MODE3   ||    MODE2   ||     MODE1   ||     MODE0    ||    description                                                                     ||
     
    293294||     1     ||      1     ||      1      ||       0      || Data cache deactivated, TLBs and instruction cache actived                         ||
    294295||     1     ||      1     ||      1      ||       1      || TLBs and caches actived                                                            ||
     296
     297The MMU_PARAMS register define the instruction and data caches & TLBs characteristics:
     298  ||NWAYS_TLB_D||NSETS_TLB_D||NWAYS_CAHE_D||NSETS_CACHE_D||NWAYS_TLB_I||NSETS_TLB_I||NWAYS_CAHE_I||NSETS_CACHE_I||NWORDS||
     299 * NWAYS_TLB (3 bits) : Ln(number of associative ways for the TLB)
     300 * NSETS_TLB (4 bits) : Ln(number of associative ways for the TLB)
     301 * NWAYS_CACHE = Ln(number of associative ways for the TLB)
     302 * NSETS_CACHE (4 bits) : Ln(number of associative ways for the TLB)
     303 * NWORDS_CACHE Ln(number of associative ways for the TLB)