projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0e303
)
use equalsZeroExtended for comparing paths
author
megacz
<adam@megacz.com>
Sat, 13 Dec 2008 06:13:58 +0000
(22:13 -0800)
committer
megacz
<adam@megacz.com>
Sat, 13 Dec 2008 06:13:58 +0000
(22:13 -0800)
src/edu/berkeley/fleet/two/FleetTwoFleet.java
patch
|
blob
|
history
diff --git
a/src/edu/berkeley/fleet/two/FleetTwoFleet.java
b/src/edu/berkeley/fleet/two/FleetTwoFleet.java
index
22bc06f
..
17f20eb
100644
(file)
--- a/
src/edu/berkeley/fleet/two/FleetTwoFleet.java
+++ b/
src/edu/berkeley/fleet/two/FleetTwoFleet.java
@@
-227,7
+227,7
@@
public abstract class FleetTwoFleet extends Fleet {
for(Destination d : new Destination[] { bb.getInstructionDestination(), bb.getDataDestination() }) {
for(BitVector signal : new BitVector[] { SIGNAL_ZERO, SIGNAL_ONE }) {
Path p = (Path)source.getPath(d, signal);
- if (getDestAddr(p).equals(dest)) return p;
+ if (getDestAddr(p).equalsZeroExtended(dest)) return p;
}
}
}