This is a fix for a bug Matthias found related to the output of the trace analyser when using Single Data Rate Memories.

This commit is contained in:
Éder Ferreira Zulian
2015-07-03 14:57:32 +02:00
parent 2341089a0d
commit 9b3348a5a4

View File

@@ -149,7 +149,7 @@ sc_time getWriteAccessTime()
if (config.memSpec.DataRate == 1)
{
return config.memSpec.clk * (config.memSpec.BurstLength-1) ;
return config.memSpec.clk * (config.memSpec.BurstLength);
}
else
{