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 3d8761dc authored by Davide Pala's avatar Davide Pala

Removed redundant zeroing of core.regFile and core.cycle

parent 596fa9d9
Pipeline #169241 passed with stages
in 5 minutes and 54 seconds
......@@ -21,18 +21,12 @@ 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.cycle = 0;
// 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);
// for (int i = 0; i < 32; i++) {
// core.regFile[i] = 0;
// }
heapAddress = 0;
inputFile = stdin;
......
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