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 62203493 authored by ROKICKI Simon's avatar ROKICKI Simon

Adding a memset to set everything at zero

parent 9f0da2a0
Pipeline #131964 passed with stages
in 5 minutes and 53 seconds
......@@ -16,6 +16,9 @@ BasicSimulator::BasicSimulator(const char* binaryFile, std::vector<std::string>
const char* outFile, const char* tFile)
char* coreAsChar = (char*)&core;
memset(coreAsChar, 0, sizeof(Core));
im = new ac_int<32, false>[DRAM_SIZE >> 2];
dm = new ac_int<32, false>[DRAM_SIZE >> 2];
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