From: <jo...@us...> - 2008-08-29 21:58:35
|
Revision: 294 http://mspsim.svn.sourceforge.net/mspsim/?rev=294&view=rev Author: joxe Date: 2008-08-29 21:58:33 +0000 (Fri, 29 Aug 2008) Log Message: ----------- removed debug printouts Modified Paths: -------------- mspsim/se/sics/mspsim/core/MSP430Core.java mspsim/se/sics/mspsim/core/Timer.java Modified: mspsim/se/sics/mspsim/core/MSP430Core.java =================================================================== --- mspsim/se/sics/mspsim/core/MSP430Core.java 2008-08-29 20:53:13 UTC (rev 293) +++ mspsim/se/sics/mspsim/core/MSP430Core.java 2008-08-29 21:58:33 UTC (rev 294) @@ -48,7 +48,7 @@ public class MSP430Core extends Chip implements MSP430Constants { public static final boolean DEBUG = false; - public static final boolean debugInterrupts = true; //false; + public static final boolean debugInterrupts = false; // Try it out with 64 k memory public static final int MAX_MEM = 64*1024; Modified: mspsim/se/sics/mspsim/core/Timer.java =================================================================== --- mspsim/se/sics/mspsim/core/Timer.java 2008-08-29 20:53:13 UTC (rev 293) +++ mspsim/se/sics/mspsim/core/Timer.java 2008-08-29 21:58:33 UTC (rev 294) @@ -71,7 +71,7 @@ */ public class Timer extends IOUnit { - public static final boolean DEBUG = true;//false; + public static final boolean DEBUG = false;//true; public static final int TIMER_A = 0; public static final int TIMER_B = 1; private String[] name = new String[] {"A", "B"}; @@ -694,12 +694,12 @@ } if (timerTrigger.scheduledIn == null) { - System.out.println(getName() + " new trigger (nothing sch) ..." + time + " re:" + - smallest + " => " + (smallest > 0 ? expCaptureTime[smallest] + " > " + expCompare[smallest]: - nextTimerTrigger) + " C:"+ cycles); +// System.out.println(getName() + " new trigger (nothing sch) ..." + time + " re:" + +// smallest + " => " + (smallest > 0 ? expCaptureTime[smallest] + " > " + expCompare[smallest]: +// nextTimerTrigger) + " C:"+ cycles); core.scheduleCycleEvent(timerTrigger, time); } else if (timerTrigger.time > time) { - System.out.println(getName() + " new trigger (new time)..." + time + " C:"+ cycles); +// System.out.println(getName() + " new trigger (new time)..." + time + " C:"+ cycles); core.scheduleCycleEvent(timerTrigger, time); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |