X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ships%2FDebug.ship;h=b1f1c1748730d9641dd71a9b3f9f670067101296;hb=a07b8dc2796c220a5828c4559e0cf39b129fc823;hp=842059c125364f3de6c40a69279ee4a223b9d301;hpb=546aa1df21781684fc2407504d41b58b1e887dd4;p=fleet.git diff --git a/ships/Debug.ship b/ships/Debug.ship index 842059c..b1f1c17 100644 --- a/ships/Debug.ship +++ b/ships/Debug.ship @@ -6,6 +6,15 @@ data in: in == Constants ======================================================== == TeX ============================================================== +\begin{verbatim} + +TODO: have some way to log multiple separate streams; use sibling + ports to deliver an opcode + +TODO: have a way to programmatically read back the output of the debug + ship? + +\end{verbatim} == Fleeterpreter ==================================================== public void service() { @@ -13,7 +22,7 @@ public void service() { ((Interpreter)getFleet()).debug(box_in.removeDataForShip()); } -== ArchSim ============================================================== +== FleetSim ============================================================== == FPGA ============================================================== `include "macros.v" @@ -36,5 +45,13 @@ module debug (clk, data_debug_data_r, data_debug_data_a, data_debug_data, endmodule +== Test ================================================================ +#expect 25 + +#ship debug : Debug + +25: sendto debug.in; +debug.in: take, deliver; + == Contributors ========================================================= Adam Megacz