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 {
--- /dev/null
+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;
+ }
+}