projects
/
slipway.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e2baeac
)
take slave-lut xo/yo from center column
author
adam
<adam@megacz.com>
Mon, 2 Oct 2006 03:48:40 +0000
(
04:48
+0100)
committer
adam
<adam@megacz.com>
Mon, 2 Oct 2006 03:48:40 +0000
(
04:48
+0100)
src/edu/berkeley/slipway/AsyncPaperDemo.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/slipway/AsyncPaperDemo.java
b/src/edu/berkeley/slipway/AsyncPaperDemo.java
index
5c55977
..
8b08a7f
100644
(file)
--- 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();
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");
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);
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)) {
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.xi(prev);
}
+ c.yo(false);
+ c.xo(true);
+
c.c(YLUT);
c.ylut(0x00);
c.xlut(0x00);
c.c(YLUT);
c.ylut(0x00);
c.xlut(0x00);
@@
-368,6
+369,9
@@
public class AsyncPaperDemo {
c.yi(prev);
}
c.yi(prev);
}
+ c.yo(true);
+ c.xo(false);
+
c.c(XLUT);
c.xlut(0x00);
c.ylut(0x00);
c.c(XLUT);
c.xlut(0x00);
c.ylut(0x00);