From 9482376b15db2da4bcb09a452d007db460b70c01 Mon Sep 17 00:00:00 2001 From: megacz Date: Mon, 6 Apr 2009 11:52:18 -0700 Subject: [PATCH] Fpga.java: update mix of ships --- src/edu/berkeley/fleet/fpga/Fpga.java | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/src/edu/berkeley/fleet/fpga/Fpga.java b/src/edu/berkeley/fleet/fpga/Fpga.java index 372b9fb..20567ed 100644 --- a/src/edu/berkeley/fleet/fpga/Fpga.java +++ b/src/edu/berkeley/fleet/fpga/Fpga.java @@ -78,8 +78,8 @@ public class Fpga extends FleetTwoFleet { this.top = top; debugShip = createShip("Debug"); - boolean small = true; - //boolean small = false; + //boolean small = true; + boolean small = false; if (small) { for(int i=0; i<2; i++) createShip("Alu"); @@ -89,31 +89,26 @@ public class Fpga extends FleetTwoFleet { createShip("CarrySaveAdder"); createShip("Rotator"); createShip("Lut3"); - createShip("Timer"); - createShip("DDR2"); - createShip("Dvi"); } else { - for(int i=0; i<3; i++) createShip("Memory"); - for(int i=0; i<3; i++) createShip("Alu"); - for(int i=0; i<2; i++) createShip("Fifo"); - for(int i=0; i<14; i++) createShip("Counter"); - - /* - // "really big" configuration: 138 docks - for(int i=0; i<4; i++) createShip("Alu"); - */ + for(int i=0; i<2; i++) createShip("Memory"); + for(int i=0; i<6; i++) createShip("Alu"); + //for(int i=0; i<2; i++) createShip("Fifo"); + for(int i=0; i<12; i++) createShip("Counter"); + //for(int i=0; i<2; i++) createShip("Null"); //createShip("CarrySaveAdder"); //createShip("Rotator"); - //createShip("Lut3"); + createShip("Random"); + createShip("Button"); - createShip("Timer"); - createShip("DDR2"); - createShip("Dvi"); } + createShip("Timer"); + createShip("DDR2"); + createShip("Dvi"); + // for FifoShip new Module.InstantiatedModule(top, new FifoModule(8, WIDTH_WORD)); -- 1.7.10.4