update fpga to properly reset repeat_counter after massacre
authoradam <adam@megacz.com>
Tue, 12 Feb 2008 09:06:44 +0000 (10:06 +0100)
committeradam <adam@megacz.com>
Tue, 12 Feb 2008 09:06:44 +0000 (10:06 +0100)
src/edu/berkeley/fleet/fpga/Generator.java

index 3132491..c5881ec 100644 (file)
@@ -638,6 +638,8 @@ public class Generator {
                       },
                       new Action[] { instr,
                                      ondeckFull.doDrain(),
+                                     new AssignAction(repeat_counter, "1"),
+                                     new AssignAction(repcount2, "1"),
                                      new ConditionalAction("`instruction_kill_count(instr)!=0", new AssignAction(repcount, "`instruction_kill_count(instr)")),
                                      new ConditionalAction("`instruction_kill_count(instr)!=0", doRepeatKill.doFill()),
                                      new ConditionalAction("`instruction_kill_count(instr)!=0", newMayProceed.doDrain()),