1 package edu.berkeley.fleet.dataflow;
3 import edu.berkeley.fleet.loops.*;
4 import edu.berkeley.fleet.api.*;
6 public class SortedMergeNode extends Node {
7 private final Ship ship = dfg.pool.allocateShip("Alu");
8 private final InPort inOp = new DockInPort("inOp", ship.getDock("inOp"), 0, new BitVector[] {
9 ship.getDock("inOp").getConstant("MAXMERGE") });
11 public final InPort in1 = new DockInPort("in1", ship.getDock("in1"));
12 public final InPort in2 = new DockInPort("in2", ship.getDock("in2"));
13 public final OutPort out = new DockOutPort("out", ship.getDock("out"));
15 public SortedMergeNode(DataFlowGraph dfg) { super(dfg); }