The -ve number was an issue with something else ! However, if I add busCycles, the traces are what is expected. But if I insert processor cycles e.g., tickNextIdle+=78, the traces are not in accordance with what is expected and even the total numebr of cycles are less than without adding extra cycles. I am looking for the right way to insert processor cycles (ticks rather than numCycles) for a certain packet?
---- Original message ---- >Date: Sun, 18 Nov 2007 16:47:23 -0600 (CST) >From: Shoaib Akram <[EMAIL PROTECTED]> >Subject: [m5-users] Changing Bus Latency for Packet >To: m5-users@m5sim.org > >I want to have extra bus cycles added for certain type of packets. If I add a >busCycle, tickNextIdle+=clock, something anomalous happens. At one point after >first 4000 cycles, the tickNextIdle gets calculated to a negative number, >which the following trace on bus shows: Please suggest whats the right way to >add busCycles. If I add processor cycles (tickNextIdle+=100), I dont have >negative numbers but the traces show results not expected ! > >1001: system.membus: recvTiming: packet src 1 dest -1 addr 0x140 cmd ReadReq >1001: system.membus: found addr 0x140 on device 0 >1001: system.membus: The bus is now occupied from tick 1001 to 4000 >1002: system.membus: recvTiming: packet src 0 dest 1 addr 0x140 cmd ReadResp >1002: Event_10318838: Waiting on retry >4000: system.membus: Received a retry >4000: system.membus: Sending a retry >4000: system.membus: recvTiming: packet src 0 dest 1 addr 0x140 cmd ReadResp >4000: system.membus: The bus is now occupied from tick 4000 to -243651592 > >_______________________________________________ >m5-users mailing list >m5-users@m5sim.org >http://m5sim.org/cgi-bin/mailman/listinfo/m5-users _______________________________________________ m5-users mailing list m5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/m5-users