Changeset 116 for trunk/modules/vci_mem_cache_v4/caba/source/include
- Timestamp:
- Nov 12, 2010, 12:21:16 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_mem_cache_v4/caba/source/include/vci_mem_cache_v4.h
r82 r116 58 58 #include "update_tab_v4.h" 59 59 60 #define TRANSACTION_TAB_LINES 4 // Number of lines in the transaction tab 61 #define UPDATE_TAB_LINES 4 // Number of lines in the update tab 62 #define BROADCAST_ADDR 0x0000000003 // Address to send the broadcast invalidate 60 #define TRANSACTION_TAB_LINES 4 // Number of lines in the transaction tab 61 #define UPDATE_TAB_LINES 4 // Number of lines in the update tab 63 62 64 63 namespace soclib { namespace caba { … … 328 327 void print_stats(); 329 328 329 void print_trace(); 330 330 331 private: 331 332 332 333 // Component attributes 333 const size_t m_initiators; // Number of initiators334 const size_t m_heap_size; // Size of the heap335 const size_t m_ways; // Number of ways in a set336 const size_t m_sets; // Number of cache sets337 const size_t m_words;// Number of words in a line338 const size_t m_srcid_ixr;// Srcid for requests to XRAM339 const size_t m_srcid_ini;// Srcid for requests to processors340 std::list<soclib::common::Segment> m_seglist; // memory cached into the cache341 std::list<soclib::common::Segment> m_cseglist; // coherence segment for the cache334 const size_t m_initiators; // Number of initiators 335 const size_t m_heap_size; // Size of the heap 336 const size_t m_ways; // Number of ways in a set 337 const size_t m_sets; // Number of cache sets 338 const size_t m_words; // Number of words in a line 339 const size_t m_srcid_ixr; // Srcid for requests to XRAM 340 const size_t m_srcid_ini; // Srcid for requests to processors 341 std::list<soclib::common::Segment> m_seglist; // memory cached into the cache 342 std::list<soclib::common::Segment> m_cseglist; // coherence segment for the cache 342 343 vci_addr_t *m_coherence_table; // address(srcid) 343 TransactionTab m_transaction_tab; 344 UpdateTab m_update_tab;// pending update & invalidate345 CacheDirectory m_cache_directory; 346 HeapDirectory m_heap_directory; // heap directory344 TransactionTab m_transaction_tab; // xram transaction table 345 UpdateTab m_update_tab; // pending update & invalidate 346 CacheDirectory m_cache_directory; // data cache directory 347 HeapDirectory m_heap_directory; // heap directory 347 348 348 349 data_t ***m_cache_data; // data array[set][way][word] … … 355 356 356 357 // broadcast address 357 vci_addr_t broadcast_addr;358 vci_addr_t m_broadcast_address; 358 359 359 360 //////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.