ML509: use urjtag's fjmem block as the debug controller (JtagConnectedFpga).
[fleet.git] / src / edu / berkeley / fleet / fpga / ML509.java
1 package edu.berkeley.fleet.fpga;
2 import edu.berkeley.fleet.fpga.*;
3 import edu.berkeley.fleet.api.*;
4 import java.io.*;
5
6 public abstract class ML509 extends JtagConnectedFpga {
7
8     public ML509() throws IOException {
9         createShip("Timer");
10     }
11
12     public static class Large extends ML509 {
13         protected String getDirName() { return "ml509.large"; }
14         public Large() throws IOException {
15             for(int i=0; i<1; i++)  createShip("Memory");
16             for(int i=0; i<6; i++)  createShip("Alu");
17             for(int i=0; i<1; i++)  createShip("Fifo");
18             for(int i=0; i<12; i++) createShip("Counter");
19             createShip("Random");
20             createShip("Button");
21             createShip("DDR2");
22             createShip("Dvi");
23
24             init();
25         }
26     }
27
28     public static class Small extends ML509 {
29         protected String getDirName() { return "ml509.small"; }
30         public Small() throws IOException {
31             for(int i=0; i<2; i++) createShip("Alu");
32             for(int i=0; i<1; i++) createShip("Memory");
33             for(int i=0; i<2; i++) createShip("Fifo");
34             createShip("Random");
35             createShip("Counter");
36             //createShip("CarrySaveAdder");
37             createShip("Rotator");
38             createShip("Lut3");
39
40             init();
41         }
42     }
43 }