1 package edu.berkeley.fleet.fpga;
2 import edu.berkeley.fleet.fpga.*;
3 import edu.berkeley.fleet.api.*;
6 public abstract class ML509 extends Fpga {
8 public ML509() throws IOException {
12 public static class Large extends ML509 {
13 public Large() throws IOException {
14 for(int i=0; i<1; i++) createShip("Memory");
15 //for(int i=0; i<8; i++) createShip("Alu");
16 for(int i=0; i<4; i++) createShip("Alu");
17 for(int i=0; i<1; i++) createShip("Fifo");
18 for(int i=0; i<12; i++) createShip("Counter");
28 public static class Small extends ML509 {
29 public Small() throws IOException {
30 for(int i=0; i<2; i++) createShip("Alu");
31 for(int i=0; i<1; i++) createShip("Memory");
32 for(int i=0; i<2; i++) createShip("Fifo");
34 createShip("Counter");
35 //createShip("CarrySaveAdder");
36 createShip("Rotator");