From cba1845b86d021fcaec61a954ff94383b0c60d44 Mon Sep 17 00:00:00 2001 From: Adam Megacz Date: Tue, 21 Apr 2009 01:22:38 +0000 Subject: [PATCH] some ILC fixes --- testCode/com/sun/vlsi/chips/marina/test/Marina.java | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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; } } -- 1.7.10.4