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