public Bank(int index, DRAM mem, Channel chan, Rank rank) { this.index = index; this.mem = mem; this.chan = chan; this.rank = rank; cRAS = Config.memory.cRAS; cCAS = Config.memory.cCAS; cWR = Config.memory.cWR; cDQS = Config.memory.cDQS; cWTR = Config.memory.cWTR; cRCD = Config.memory.cRCD; cRP = Config.memory.cRP; cRTP = Config.memory.cRTP; cRC = Config.memory.cRC; cRRD = Config.memory.cRRD; }
public SortNode(Steer s, Rank r) { m_s = s; m_r = r; }
public DRAM(Channel chan) { this.chan = chan; numRanks = Config.memory.numRanks; numBanks = Config.memory.numBanks; busWidth = Config.memory.busWidth; busRatio = Config.memory.busRatio; ranks = new Rank[numRanks]; for(int i=0;i<numRanks;i++) ranks[i] = new Rank(i,this,chan); dataBus = new ulong[20]; // this covers 64*Length bus cycles into the future for(int i=0;i<dataBus.Length;i++) dataBus[i] = 0; }
public SwapNode(Rank r) { m_r = r; }