From: adam Date: Mon, 2 Oct 2006 03:48:40 +0000 (+0100) Subject: take slave-lut xo/yo from center column X-Git-Tag: mpar_demo_release~17 X-Git-Url: http://git.megacz.com/?p=slipway.git;a=commitdiff_plain;h=898a57458ae978378707c4ec81045096500c474e take slave-lut xo/yo from center column --- diff --git a/src/edu/berkeley/slipway/AsyncPaperDemo.java b/src/edu/berkeley/slipway/AsyncPaperDemo.java index 5c55977..8b08a7f 100644 --- a/src/edu/berkeley/slipway/AsyncPaperDemo.java +++ b/src/edu/berkeley/slipway/AsyncPaperDemo.java @@ -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);