Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit c878f0b9 authored by logan's avatar logan

no cache implementation

parent b49313e0
Pipeline #203639 passed with stages
in 5 minutes and 38 seconds
......@@ -24,11 +24,11 @@ BasicSimulator::BasicSimulator(const char* binaryFile, std::vector<std::string>
im = new ac_int<32, false>[DRAM_SIZE >> 2];
dm = new ac_int<32, false>[DRAM_SIZE >> 2];
// core.im = new SimpleMemory<4>(im);
// core.dm = new SimpleMemory<4>(dm);
core.im = new SimpleMemory<4>(im);
core.dm = new SimpleMemory<4>(dm);
core.im = new CacheMemory<4, 16, 64>(new SimpleMemory<4>(im), false);
core.dm = new CacheMemory<4, 16, 64>(new SimpleMemory<4>(dm), false);
// core.im = new CacheMemory<4, 16, 64>(new SimpleMemory<4>(im), false);
// core.dm = new CacheMemory<4, 16, 64>(new SimpleMemory<4>(dm), false);
heapAddress = 0;
......
......@@ -666,7 +666,7 @@ void doCore(bool globalStall, ac_int<32, false> imData[1 << 24], ac_int<32, fals
IncompleteMemory<4> imInterface = IncompleteMemory<4>(imData);
IncompleteMemory<4> dmInterface = IncompleteMemory<4>(dmData);
CacheMemory<4, 16, 64> dmCache = CacheMemory<4, 16, 64>(&dmInterface, false);
// CacheMemory<4, 16, 64> dmCache = CacheMemory<4, 16, 64>(&dmInterface, false);
core.im = &imInterface;
core.dm = &dmInterface;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment