memspec class

This commit is contained in:
Janik Schlemminger
2014-08-27 09:43:42 +02:00
parent 8e29063f76
commit efc6094c13
29 changed files with 204 additions and 207 deletions

View File

@@ -70,7 +70,7 @@ struct Dram: sc_module
TlmRecorder::getInstance().recordPhase(payload, phase, sc_time_stamp() + delay);
// This is only needed for power simulation:
unsigned long long cycle = sc_time_stamp().value()/Configuration::getInstance().Timings.clk.value();
unsigned long long cycle = sc_time_stamp().value()/Configuration::getInstance().memSpec.clk.value();
unsigned int bank = DramExtension::getExtension(payload).getBank().ID();
if (phase == BEGIN_PRE)