Ignore:
Timestamp:
Jul 18, 2014, 11:38:54 AM (10 years ago)
Author:
meunier
Message:
  • Added initialization to some components in order to avoid valgrind errors
  • Corrected two bugs which caused the simulations to be non-deterministic:
    • one in the memcache (possibly uninitialized paddr variable used for cache access, modifying LRU bits)
    • one in the run_simus.py script (replacing a file with an identical file in a hdd image does modify its size)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_mem_cache/caba/source/include/mem_cache_directory.h

    r499 r752  
    650650              {
    651651                  m_cache_data[i][j] = new uint32_t [words];
     652                  // Init to avoid potential errors from memory checkers
     653                  std::memset(m_cache_data[i][j], 0, sizeof(uint32_t) * words);
    652654              }
    653655          }
Note: See TracChangeset for help on using the changeset viewer.