major overhaul of FPGA code to support both ML509 and Bee2 at the same time
[fleet.git] / src / edu / berkeley / fleet / fpga / ML509.java
index d4a59af..0c6fa5f 100644 (file)
@@ -10,6 +10,7 @@ public abstract class ML509 extends Fpga {
     }
 
     public static class Large extends ML509 {
+        protected String getDirName() { return "ml509.large"; }
         public Large() throws IOException {
             for(int i=0; i<1; i++)  createShip("Memory");
             for(int i=0; i<6; i++)  createShip("Alu");
@@ -25,6 +26,7 @@ public abstract class ML509 extends Fpga {
     }
 
     public static class Small extends ML509 {
+        protected String getDirName() { return "ml509.small"; }
         public Small() throws IOException {
             for(int i=0; i<2; i++) createShip("Alu");
             for(int i=0; i<1; i++) createShip("Memory");