take slave-lut xo/yo from center column
authoradam <adam@megacz.com>
Mon, 2 Oct 2006 03:48:40 +0000 (04:48 +0100)
committeradam <adam@megacz.com>
Mon, 2 Oct 2006 03:48:40 +0000 (04:48 +0100)
src/edu/berkeley/slipway/AsyncPaperDemo.java

index 5c55977..8b08a7f 100644 (file)
@@ -33,7 +33,7 @@ public class AsyncPaperDemo {
             fpslic.readCount();
 
         //System.in.read();
-        for(int i=256; ; i+=2) {
+        for(int i=0; i<400; i+=2) {
             go(i);
         }
         //System.out.println("done");
@@ -334,8 +334,6 @@ public class AsyncPaperDemo {
     private Fpslic.Cell micropipelineStage(Fpslic.Cell c, Fpslic.Cell prev, Fpslic.Cell next, boolean configDir) {
         c.b(false);
         c.f(false);
-        c.yo(false);
-        c.xo(false);
         switch(c.dir(next)) {
             case NORTH: case SOUTH: case EAST: case WEST:
                 switch (c.dir(prev)) {
@@ -346,6 +344,9 @@ public class AsyncPaperDemo {
                     c.xi(prev);
                 }
 
+        c.yo(false);
+        c.xo(true);
+
                 c.c(YLUT);
                 c.ylut(0x00);
                 c.xlut(0x00);
@@ -368,6 +369,9 @@ public class AsyncPaperDemo {
                     c.yi(prev);
                 }
 
+        c.yo(true);
+        c.xo(false);
+
                 c.c(XLUT);
                 c.xlut(0x00);
                 c.ylut(0x00);