6bb3971d1413940de2d9f878e13ebec09beaa16b
[fleet.git] / src / edu / berkeley / fleet / interpreter / InterpreterDestination.java
1 package edu.berkeley.fleet.interpreter;
2 import edu.berkeley.fleet.api.*;
3 import java.util.*;
4
5 class InterpreterDestination extends Destination {
6
7     private static int max_dest = 0;
8
9     int addr;
10
11     public InterpreterDestination(InterpreterDock d, boolean isInstructionDestination) {
12         super(d);
13         synchronized(InterpreterDestination.class) {
14             this.addr = max_dest;
15             max_dest += 2;
16         }
17     }
18
19     /** adds the included datum to the port from the switch fabric  side */
20     public void addDataFromFabric(Packet packet) {
21         throw new RuntimeException();
22     }
23
24
25     public String toString() {
26         return "";
27     }
28 }