diff --git a/sim/firesim-lib/src/main/cc/bridges/tracerv.cc b/sim/firesim-lib/src/main/cc/bridges/tracerv.cc index 46fb722e..895cd33b 100644 --- a/sim/firesim-lib/src/main/cc/bridges/tracerv.cc +++ b/sim/firesim-lib/src/main/cc/bridges/tracerv.cc @@ -295,7 +295,7 @@ void tracerv_t::serialize( // this stores as raw binary. stored as little endian. // e.g. to get the same thing as the human readable above, // flip all the bytes in each 512-bit line. - for (int q = 0; q < 8; q++) { + for (int q = 0; q < 1 + max_consider; q++) { fwrite(OUTBUF + (i + q), sizeof(uint64_t), 1, tracefile); } }