relocate PercolatedPort to edu.berkeley.fleet.two
authormegacz <adam@megacz.com>
Tue, 3 Mar 2009 20:53:18 +0000 (12:53 -0800)
committermegacz <adam@megacz.com>
Tue, 3 Mar 2009 20:53:18 +0000 (12:53 -0800)
src/edu/berkeley/fleet/fpga/verilog/Verilog.java
src/edu/berkeley/fleet/two/PercolatedPort.java [new file with mode: 0644]
src/edu/berkeley/fleet/two/ShipDescription.java

index 04985ff..2913416 100644 (file)
@@ -322,25 +322,6 @@ public class Verilog {
         public String getVerilog() { return s; }
     }
 
-    // Percolated Ports //////////////////////////////////////////////////////////////////////////////
-    
-    /**
-     *  A PercolatedPort is a connection to a top-level pin; it is
-     *  propagated up or down the hierarchy
-     */
-    public static class PercolatedPort {
-        public static enum PortType { UP, DOWN, INOUT };
-        public final String name;
-        public final int width;
-        public final PortType type;
-        public PercolatedPort(String name, int width, PortType type) {
-            this.name = name;
-            this.width = width;
-            this.type = type;
-        }
-    }
-
-
     // Module Internals //////////////////////////////////////////////////////////////////////////////
 
     public static class Module {
diff --git a/src/edu/berkeley/fleet/two/PercolatedPort.java b/src/edu/berkeley/fleet/two/PercolatedPort.java
new file mode 100644 (file)
index 0000000..d2fd257
--- /dev/null
@@ -0,0 +1,17 @@
+package edu.berkeley.fleet.two;
+
+/**
+ *  A PercolatedPort is a connection to a top-level pin; it is
+ *  propagated up or down the hierarchy
+ */
+public class PercolatedPort {
+    public static enum PortType { UP, DOWN, INOUT };
+    public final String name;
+    public final int width;
+    public final PortType type;
+    public PercolatedPort(String name, int width, PortType type) {
+        this.name = name;
+        this.width = width;
+        this.type = type;
+    }
+}
index 699d6bd..1aa801b 100644 (file)
@@ -1,6 +1,5 @@
 package edu.berkeley.fleet.two;
 import edu.berkeley.fleet.api.*;
-import edu.berkeley.fleet.fpga.verilog.Verilog.PercolatedPort;
 import java.io.*;
 import java.util.*;