remove more unused code
[fleet.git] / src / edu / berkeley / fleet / marina / Counter.java
diff --git a/src/edu/berkeley/fleet/marina/Counter.java b/src/edu/berkeley/fleet/marina/Counter.java
deleted file mode 100644 (file)
index 9a0fc87..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package edu.berkeley.fleet.marina;
-import com.sun.electric.tool.simulation.test.*;
-
-
-/**
- *  An item-counter which counts items that pass by in one of the
- *  circular fifos.
- */
-public class Counter {
-    private final String dataChain, dataPath;
-    private final ChainControl cc;
-    public Counter(String cntrInst, String dataChain, ChainControl cc) {
-        this.dataChain = dataChain;
-        this.dataPath = dataChain+'.'+cntrInst;
-        this.cc = cc;
-    }
-    /** Read a new value from the Counter */
-    public long getCount() {
-        cc.shift(dataChain, true, false);
-        return 0;
-        // do nothing because I counter schematics don't yet exist
-        //long cnt = cc.getOutBits(dataPath).bitReverse().not().toLong();
-    }
-    /** Set counter value to zero */
-    public void clearCount() {
-                
-    }
-        
-}