Changeset 81 for trunk/IPs/systemC/Environment/Cache/include
- Timestamp:
- Apr 15, 2008, 8:40:01 PM (17 years ago)
- Location:
- trunk/IPs/systemC/Environment/Cache/include
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/Environment/Cache/include/Cache.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_MultiLevel.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_MultiLevel_Access.h
-
Property
svn:keywords
set to
Id
r80 r81 17 17 public : Access () 18 18 { 19 this->num_port = 0; 20 this->hit = MISS; 21 this->latence = 0; 22 this->last_nb_level = 0; 19 23 } 20 24 -
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_MultiLevel_Parameters.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_OneLevel.h
-
Property
svn:keywords
set to
Id
r80 r81 8 8 #include "Cache_OneLevel_Parameters.h" 9 9 #include "../../Queue/include/Sort_Queue_Dynamic.h" 10 #include "../../Common/include/Debug.h" 10 11 11 12 namespace environment { -
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_OneLevel_Access_Port.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_OneLevel_Address.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_OneLevel_Parameters.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_OneLevel_Tag.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_OneLevel_Write_Buffer.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Cache_Parameters.h
-
Property
svn:keywords
set to
Id
r80 r81 14 14 public : uint32_t nb_cache_dedicated; 15 15 public : uint32_t nb_iport; 16 public : uint32_t nb_dport; 16 17 17 18 public : cache_multilevel::Parameters ** param_icache_dedicated; … … 47 48 this->nb_cache_dedicated = nb_cache_dedicated; 48 49 50 if (nb_cache_dedicated == 0) 51 { 52 std::cerr << "[ ERROR ] nb_cache_dedicated > 0" << std::endl; 53 exit(0); 54 } 55 49 56 uint32_t cache_shared_nb_port = 0; 50 uint32_t nb_iport = 0; 57 nb_iport = 0; 58 nb_dport = 0; 59 51 60 for (uint32_t i=0; i<nb_cache_dedicated; i++) 52 61 { 53 62 nb_iport += icache_dedicated_nb_port [i]; 63 nb_dport += dcache_dedicated_nb_port [i]; 54 64 cache_shared_nb_port += icache_dedicated_nb_port [i]; 55 65 cache_shared_nb_port += dcache_dedicated_nb_port [i]; … … 108 118 { 109 119 std::string tab (depth,'\t'); 110 std::stringstream str ;120 std::stringstream str (""); 111 121 112 122 str << tab << "* Nb Cache dedicated : " << nb_cache_dedicated << std::endl 113 << tab << "* Nb iport : " << nb_iport << std::endl; 123 << tab << "* Nb iport : " << nb_iport << std::endl 124 << tab << "* Nb dport : " << nb_dport << std::endl 125 ; 114 126 115 127 for (uint32_t i=0; i<nb_cache_dedicated; i++) -
Property
svn:keywords
set to
-
trunk/IPs/systemC/Environment/Cache/include/Types.h
-
Property
svn:keywords
set to
Id
-
Property
svn:keywords
set to
Note: See TracChangeset
for help on using the changeset viewer.