Changeset 202 for trunk/modules
- Timestamp:
- Feb 24, 2012, 6:13:01 PM (13 years ago)
- Location:
- trunk/modules/vci_cc_vcache_wrapper_v4/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_cc_vcache_wrapper_v4/caba/source/include/vci_cc_vcache_wrapper_v4.h
r183 r202 264 264 const paddr_t m_dcache_yzmask; 265 265 const size_t m_dcache_words; 266 267 const size_t m_proc_id; 266 268 267 269 const uint32_t m_max_frozen_cycles; -
trunk/modules/vci_cc_vcache_wrapper_v4/caba/source/src/vci_cc_vcache_wrapper_v4.cpp
r201 r202 383 383 r_icache("icache", icache_ways, icache_sets, icache_words), 384 384 r_dcache("dcache", dcache_ways, dcache_sets, dcache_words), 385 r_itlb( itlb_ways,itlb_sets,vci_param::N),386 r_dtlb( dtlb_ways,dtlb_sets,vci_param::N)385 r_itlb("itlb", proc_id, itlb_ways,itlb_sets,vci_param::N), 386 r_dtlb("dtlb", proc_id, dtlb_ways,dtlb_sets,vci_param::N) 387 387 { 388 388 assert( ((icache_words*vci_param::B) < (1<<vci_param::K)) and … … 3003 3003 if ( r_dcache_tlb_ins.read() ) 3004 3004 { 3005 r_itlb.write( pte, 3005 r_itlb.write( true, // 2M page 3006 pte, 3007 0, // argument unused for a PTE1 3006 3008 r_dcache_tlb_vaddr.read(), 3007 3009 r_dcache_tlb_way.read(), … … 3014 3016 else 3015 3017 { 3016 r_dtlb.write( pte, 3018 r_dtlb.write( true, // 2M page 3019 pte, 3020 0, // argument unused for a PTE1 3017 3021 r_dcache_tlb_vaddr.read(), 3018 3022 r_dcache_tlb_way.read(), … … 3206 3210 if ( r_dcache_tlb_ins.read() ) 3207 3211 { 3208 r_itlb.write( pte_flags, 3212 r_itlb.write( false, // 2K page 3213 pte_flags, 3209 3214 pte_ppn, 3210 3215 r_dcache_tlb_vaddr.read(), … … 3218 3223 else 3219 3224 { 3220 r_dtlb.write( pte_flags, 3225 r_dtlb.write( false, // 2K page 3226 pte_flags, 3221 3227 pte_ppn, 3222 3228 r_dcache_tlb_vaddr.read(),
Note: See TracChangeset
for help on using the changeset viewer.