示例#1
0
文件: Dram.cs 项目: nixprime/nijikawa
 public Request(Dram dram, MemRequest memReq)
 {
     Channel = dram.MapChannel(memReq.Addr);
     Bank = dram.MapBank(memReq.Addr);
     Row = dram.MapRow(memReq.Addr);
     MemReq = memReq;
 }
示例#2
0
文件: Dram.cs 项目: nixprime/nijikawa
 void IMemRequestReceiver.ReceiveMemRequest(MemRequest memReq)
 {
     var req = new Request(this, memReq);
     Channels[req.Channel].WaitingReqs.Add(req);
 }