X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ships%2FDebug.ship;h=5841a5266835de0352e7b79ddd3d8a4a4692a7e0;hb=6dbda4e4e80a6579447a0cc2aadfef9a4a5e9abd;hp=c8e102e8cc72e9362ea1476cb67e631acbac6747;hpb=7f4958fbb5eb13487bbfaf8411765fe997ae2ae7;p=fleet.git diff --git a/ships/Debug.ship b/ships/Debug.ship deleted file mode 100644 index c8e102e..0000000 --- a/ships/Debug.ship +++ /dev/null @@ -1,63 +0,0 @@ -ship: Debug - -== Ports =========================================================== -data in: in - -== Constants ======================================================== - -== TeX ============================================================== - -This ship is used for debugging. It has only one port, {\tt in}. -Programmers should send debug report values to this port. How such -values are reported back to the programmer doing the debugging is left -unspecified. - -\subsection*{To Do} - -Provide an {\tt inOp} port and use opcode ports \cite{am25} to -effectively allow multiple independent ``debug streams'' - -Provide a way to programmatically read back the output of the debug -ship. - -== Fleeterpreter ==================================================== -public void service() { - if (box_in.dataReadyForShip()) - ((Interpreter)getFleet()).debug(box_in.removeDataForShip()); -} - -== FleetSim ============================================================== - -== FPGA ============================================================== - -module debug (clk, rst, - data_debug_data_r, data_debug_data_a, data_debug_data, - data_debug_out_r, data_debug_out_a, data_debug_out ); - input clk; - input rst; - - input data_debug_data_r; - output data_debug_data_a; - input [`DATAWIDTH:0] data_debug_data; - - output data_debug_out_r; - input data_debug_out_a; - output [`DATAWIDTH:0] data_debug_out; - - assign data_debug_out_r = data_debug_data_r; - assign data_debug_data_a = data_debug_out_a; - assign data_debug_out = data_debug_data; - -endmodule - -== Test ================================================================ -#expect 25 - -#ship debug : Debug - -debug.in: - set word= 25; - deliver; - -== Contributors ========================================================= -Adam Megacz diff --git a/ships/Debug.ship b/ships/Debug.ship new file mode 120000 index 0000000..5841a52 --- /dev/null +++ b/ships/Debug.ship @@ -0,0 +1 @@ +Debug.ship.ml509 \ No newline at end of file