Changeset 295 for branches/v5/vci_mem_cache
- Timestamp:
- Feb 14, 2013, 4:05:05 PM (12 years ago)
- Location:
- branches/v5
- Files:
-
- 1 added
- 6 deleted
- 6 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/vci_mem_cache/caba/metadata/vci_mem_cache.sd
r294 r295 5 5 __version__ = "$Revision$" 6 6 7 Module('caba:vci_mem_cache _v4',8 classname = 'soclib::caba::VciMemCache V4',7 Module('caba:vci_mem_cache', 8 classname = 'soclib::caba::VciMemCache', 9 9 10 10 tmpl_parameters = [ parameter.Module('vci_param', default = 'caba:vci_param') ], 11 11 12 12 header_files = [ 13 '../source/include/vci_mem_cache _v4.h',14 '../source/include/xram_transaction _v4.h',15 '../source/include/mem_cache_directory _v4.h',16 '../source/include/update_tab _v4.h'13 '../source/include/vci_mem_cache.h', 14 '../source/include/xram_transaction.h', 15 '../source/include/mem_cache_directory.h', 16 '../source/include/update_tab.h' 17 17 ], 18 18 19 implementation_files = [ '../source/src/vci_mem_cache _v4.cpp' ],19 implementation_files = [ '../source/src/vci_mem_cache.cpp' ], 20 20 21 21 uses = [ -
branches/v5/vci_mem_cache/caba/source/include/mem_cache_directory.h
r294 r295 1 #ifndef SOCLIB_CABA_MEM_CACHE_DIRECTORY_ V4_H2 #define SOCLIB_CABA_MEM_CACHE_DIRECTORY_ V4_H1 #ifndef SOCLIB_CABA_MEM_CACHE_DIRECTORY_H 2 #define SOCLIB_CABA_MEM_CACHE_DIRECTORY_H 3 3 4 4 #include <inttypes.h> -
branches/v5/vci_mem_cache/caba/source/include/update_tab.h
r294 r295 1 #ifndef UPDATE_TAB_ V4_H_2 #define UPDATE_TAB_ V4_H_1 #ifndef UPDATE_TAB_H_ 2 #define UPDATE_TAB_H_ 3 3 4 4 #include <inttypes.h> -
branches/v5/vci_mem_cache/caba/source/include/vci_mem_cache.h
r294 r295 1 1 /* -*- c++ -*- 2 * File : vci_mem_cache _v4.h2 * File : vci_mem_cache.h 3 3 * Date : 26/10/2008 4 4 * Copyright : UPMC / LIP6 … … 39 39 */ 40 40 41 #ifndef SOCLIB_CABA_MEM_CACHE_ V4_H42 #define SOCLIB_CABA_MEM_CACHE_ V4_H41 #ifndef SOCLIB_CABA_MEM_CACHE_H 42 #define SOCLIB_CABA_MEM_CACHE_H 43 43 44 44 #include <inttypes.h> … … 55 55 #include "int_tab.h" 56 56 #include "generic_llsc_global_table.h" 57 #include "mem_cache_directory _v4.h"58 #include "xram_transaction _v4.h"59 #include "update_tab _v4.h"57 #include "mem_cache_directory.h" 58 #include "xram_transaction.h" 59 #include "update_tab.h" 60 60 61 61 #define TRANSACTION_TAB_LINES 4 // Number of lines in the transaction tab … … 66 66 67 67 template<typename vci_param> 68 class VciMemCache V468 class VciMemCache 69 69 : public soclib::caba::BaseModule 70 70 { … … 362 362 protected: 363 363 364 SC_HAS_PROCESS(VciMemCache V4);364 SC_HAS_PROCESS(VciMemCache); 365 365 366 366 public: … … 372 372 soclib::caba::VciInitiator<vci_param> p_vci_ixr; 373 373 374 VciMemCache V4(374 VciMemCache( 375 375 sc_module_name name, // Instance Name 376 376 const soclib::common::MappingTable &mtp, // Mapping table for primary requets … … 390 390 bool debug_ok=false); 391 391 392 ~VciMemCache V4();392 ~VciMemCache(); 393 393 394 394 void print_stats(); … … 804 804 sc_signal<int> r_alloc_heap_fsm; 805 805 sc_signal<unsigned> r_alloc_heap_reset_cpt; 806 }; // end class VciMemCache V4806 }; // end class VciMemCache 807 807 808 808 }} -
branches/v5/vci_mem_cache/caba/source/include/xram_transaction.h
r294 r295 1 #ifndef XRAM_TRANSACTION_ V4_H_2 #define XRAM_TRANSACTION_ V4_H_1 #ifndef XRAM_TRANSACTION_H_ 2 #define XRAM_TRANSACTION_H_ 3 3 4 4 #include <inttypes.h> -
branches/v5/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
r294 r295 1 1 /* -*- c++ -*- 2 * File : vci_mem_cache _v4.cpp2 * File : vci_mem_cache.cpp 3 3 * Date : 30/10/2008 4 4 * Copyright : UPMC / LIP6 … … 30 30 */ 31 31 32 #include "../include/vci_mem_cache _v4.h"32 #include "../include/vci_mem_cache.h" 33 33 34 34 ////// debug services /////////////////////////////////////////////////////// … … 238 238 }; 239 239 240 #define tmpl(x) template<typename vci_param> x VciMemCache V4<vci_param>240 #define tmpl(x) template<typename vci_param> x VciMemCache<vci_param> 241 241 242 242 using soclib::common::uint32_log2; … … 246 246 //////////////////////////////// 247 247 248 tmpl(/**/)::VciMemCache V4(248 tmpl(/**/)::VciMemCache( 249 249 sc_module_name name, 250 250 const soclib::common::MappingTable &mtp, … … 547 547 548 548 ///////////////////////////////// 549 tmpl(/**/)::~VciMemCache V4()549 tmpl(/**/)::~VciMemCache() 550 550 ///////////////////////////////// 551 551 {
Note: See TracChangeset
for help on using the changeset viewer.