this.top = top;
debugShip = createShip("Debug", "debug");
+ boolean small = false;
+
createShip("Memory", "memory1");
- //createShip("Memory", "memory2");
- //createShip("Memory", "memory3");
- for(int i=0; i<5; i++)
- createShip("Alu", "alu"+i);
+ if (small) {
+ createShip("Fifo", "fifo");
+ createShip("Alu", "alu");
+ } else {
+ //createShip("Memory", "memory2");
+ //createShip("Memory", "memory3");
+
+ for(int i=0; i<5; i++)
+ createShip("Alu", "alu"+i);
- for(int i=0; i<2; i++)
- createShip("Fifo", "fifo"+i);
+ for(int i=0; i<2; i++)
+ createShip("Fifo", "fifo"+i);
- for(int i=0; i<13; i++)
- createShip("Counter", "counter"+i);
+ for(int i=0; i<13; i++)
+ createShip("Counter", "counter"+i);
- createShip("CarrySaveAdder", "csa1");
- createShip("Rotator", "rotator");
- createShip("Lut3", "lut");
+ createShip("CarrySaveAdder", "csa1");
+ createShip("Rotator", "rotator");
+ createShip("Lut3", "lut");
+ //createShip("DDR2", "ddr2");
+ }
createShip("DRAM", "dram");
- //createShip("DDR2", "ddr2");
createShip("Video", "video");
//Module.SourcePort debug_in = top.createWireSourcePort("debug_in", WIDTH_PACKET);