From: Adam Megacz Date: Tue, 21 Apr 2009 01:22:38 +0000 (+0000) Subject: some ILC fixes X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=cba1845b86d021fcaec61a954ff94383b0c60d44;p=fleet.git some ILC fixes --- diff --git a/testCode/com/sun/vlsi/chips/marina/test/Marina.java b/testCode/com/sun/vlsi/chips/marina/test/Marina.java index b1d4eaa..5cbe452 100644 --- a/testCode/com/sun/vlsi/chips/marina/test/Marina.java +++ b/testCode/com/sun/vlsi/chips/marina/test/Marina.java @@ -68,21 +68,15 @@ public class Marina { } /** Get the inner loop counter done bit. */ public boolean getDone() { - return (value & 0x100) != 0; + return (value & 0x40) != 0; } /** Get the inner loop counter infinity bit */ public boolean getInfinity() { - return (value & 0x80) == 0; - } - /** Get the inner loop counter zero bit. If the zero bit is true - * then the hardware considers the inner loop counter to be zero - * regardless of the state of the count bits */ - public boolean getZero() { - return (value & 0x40) != 0; + return (value & 0x80) != 0; } /** Get the 6 bits of count of the inner loop counter */ public int getCount() { - return value & 0xff; + return value & 0x3f; } }