3 == Ports ===========================================================
6 == Constants ========================================================
8 == TeX ==============================================================
10 This ship is used for debugging. It has only one port, {\tt in}.
11 Programmers should send debug report values to this port. How such
12 values are reported back to the programmer doing the debugging is left
17 Provide an {\tt inOp} port and use opcode ports \cite{am25} to
18 effectively allow multiple independent ``debug streams''
20 Provide a way to programmatically read back the output of the debug
23 == Fleeterpreter ====================================================
24 public void service() {
25 if (box_in.dataReadyForShip())
26 ((Interpreter)getFleet()).debug(box_in.removeDataForShip());
29 == FleetSim ==============================================================
31 == FPGA ==============================================================
33 reg [`WORDWIDTH-1:0] out_d;
34 assign out_d_ = out_d;
36 always @(posedge clk) begin
42 if (`in_full && `out_empty) begin
50 == Test ================================================================
59 == Contributors =========================================================
60 Adam Megacz <megacz@cs.berkeley.edu>