Example #1
0
 public Request(Dram dram, MemRequest memReq)
 {
     Channel = dram.MapChannel(memReq.Addr);
     Bank = dram.MapBank(memReq.Addr);
     Row = dram.MapRow(memReq.Addr);
     MemReq = memReq;
 }
Example #2
0
 void IMemRequestReceiver.ReceiveMemRequest(MemRequest memReq)
 {
     var req = new Request(this, memReq);
     Channels[req.Channel].WaitingReqs.Add(req);
 }