Fixed one bug at PDNA. There is also a workaround because for one powerdown event #banks payloads are submitted. In the next commit from Robert and Jonny this will be hopefully solved.
This commit is contained in:
@@ -105,11 +105,23 @@ struct Dram: sc_module
|
||||
}
|
||||
else if (phase == BEGIN_PDNA)
|
||||
{
|
||||
DRAMPower.doCommand(MemCommand::PDN_S_ACT, bank, cycle);
|
||||
if(Configuration::getInstance().BankwiseLogic == false)
|
||||
{
|
||||
if(bank == 0)
|
||||
{
|
||||
DRAMPower.doCommand(MemCommand::PDN_S_ACT, bank, cycle);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (phase == END_PDNA)
|
||||
{
|
||||
DRAMPower.doCommand(MemCommand::PUP_PRE, bank, cycle);
|
||||
if(Configuration::getInstance().BankwiseLogic ==false)
|
||||
{
|
||||
if(bank == 0)
|
||||
{
|
||||
DRAMPower.doCommand(MemCommand::PUP_ACT, bank, cycle);
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (phase == BEGIN_SREF)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user