Esempio n. 1
0
 public BusPacket(BusPacketType packtype, UInt64 physicalAddr, uint col, uint rw, int r, uint b, UInt64 dat, CallBackInfo callback_, Stream dramsim_log_)
 {
     dramsim_log     = dramsim_log_;
     callback        = callback_;
     busPacketType   = packtype;
     column          = col;
     row             = rw;
     bank            = b;
     physicalAddress = physicalAddr;
     data            = dat;
 }
Esempio n. 2
0
 public BankState(Stream dramsim_log_)
 {
     dramsim_log          = dramsim_log_;
     currentBankState     = CurrentBankState.Idle;
     openRowAddress       = 0;
     nextRead             = 0;
     nextWrite            = 0;
     nextActivate         = 0;
     nextPrecharge        = 0;
     nextPowerUp          = 0;
     lastCommand          = BusPacketType.READ;
     stateChangeCountdown = 0;
 }