+package edu.berkeley.fleet.fpga;
+import edu.berkeley.fleet.fpga.*;
+import edu.berkeley.fleet.api.*;
+import java.io.*;
+
+public abstract class ML509 extends Fpga {
+
+ public ML509() throws IOException {
+ createShip("Timer");
+ }
+
+ public static class Large extends ML509 {
+ public Large() throws IOException {
+ for(int i=0; i<1; i++) createShip("Memory");
+ //for(int i=0; i<8; i++) createShip("Alu");
+ for(int i=0; i<4; i++) createShip("Alu");
+ for(int i=0; i<1; i++) createShip("Fifo");
+ for(int i=0; i<12; i++) createShip("Counter");
+ createShip("Random");
+ createShip("Button");
+ createShip("DDR2");
+ createShip("Dvi");
+
+ init();
+ }
+ }
+
+ public static class Small extends ML509 {
+ public Small() throws IOException {
+ for(int i=0; i<2; i++) createShip("Alu");
+ for(int i=0; i<1; i++) createShip("Memory");
+ for(int i=0; i<2; i++) createShip("Fifo");
+ createShip("Random");
+ createShip("Counter");
+ //createShip("CarrySaveAdder");
+ createShip("Rotator");
+ createShip("Lut3");
+
+ init();
+ }
+ }
+}