pdn bankwise change
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
<listOptionValue builtIn="false" value="TIXML_USE_STL"/>
|
||||
</option>
|
||||
<option id="gnu.cpp.compiler.option.other.other.1339801369" name="Other flags" superClass="gnu.cpp.compiler.option.other.other" value="-c -fmessage-length=0 -std=c++11 -fprofile-arcs -ftest-coverage" valueType="string"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.prof.523954048" name="Generate prof information (-p)" superClass="gnu.cpp.compiler.option.debugging.prof" value="true" valueType="boolean"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.gprof.1932984572" name="Generate gprof information (-pg)" superClass="gnu.cpp.compiler.option.debugging.gprof" value="true" valueType="boolean"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.prof.523954048" name="Generate prof information (-p)" superClass="gnu.cpp.compiler.option.debugging.prof" value="false" valueType="boolean"/>
|
||||
<option id="gnu.cpp.compiler.option.debugging.gprof.1932984572" name="Generate gprof information (-pg)" superClass="gnu.cpp.compiler.option.debugging.gprof" value="false" valueType="boolean"/>
|
||||
<option id="gnu.cpp.compiler.option.dialect.std.739859284" name="Language standard" superClass="gnu.cpp.compiler.option.dialect.std" value="gnu.cpp.compiler.dialect.default" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1847876781" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
</tool>
|
||||
|
||||
3
dram/.gitignore
vendored
3
dram/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
/build-simulation
|
||||
*.tdb
|
||||
*.tdb-journal
|
||||
*.tdb-journal
|
||||
*.out
|
||||
BIN
dram/gmon.out
BIN
dram/gmon.out
Binary file not shown.
@@ -13,7 +13,7 @@ using namespace tlm;
|
||||
|
||||
namespace core {
|
||||
|
||||
std::string PowerDownManager::senderName = "Powerdown Manager";
|
||||
std::string PowerDownManager::senderName = "pdn manager";
|
||||
PowerDownManager::PowerDownManager(ControllerCore& controller) :
|
||||
controller(controller)
|
||||
{
|
||||
@@ -37,8 +37,8 @@ void PowerDownManager::sleep(Bank bank, sc_time time)
|
||||
{
|
||||
sc_assert(!controller.state.bankStates.rowBufferIsOpen(bank));
|
||||
|
||||
if (controller.state.getLastCommand(Command::PDNA).getStart()
|
||||
> controller.state.getLastCommand(Command::PDNP).getStart())
|
||||
if (controller.state.getLastCommand(Command::PDNA, bank).getStart()
|
||||
> controller.state.getLastCommand(Command::PDNP, bank).getStart())
|
||||
setState(PowerDownState::PDNPrecharge, bank);
|
||||
else
|
||||
setState(PowerDownState::PDNSelfRefresh, bank);
|
||||
|
||||
Reference in New Issue
Block a user