X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ships%2FDebug.ship;h=590394b7856e4dc7721063d7647cdf633e21fd13;hb=ee07c0ff1e94c48a9c3ec1bd5872c88b09756ee0;hp=0c3120a6350a439c2efc7177c886ee8012a42b5f;hpb=eac37cd0d8008155d6333f6904b6597a8d2b26f7;p=fleet.git diff --git a/ships/Debug.ship b/ships/Debug.ship index 0c3120a..590394b 100644 --- a/ships/Debug.ship +++ b/ships/Debug.ship @@ -1,7 +1,7 @@ ship: Debug == Ports =========================================================== -data in: data +data in: in == Constants ======================================================== @@ -9,13 +9,32 @@ data in: data == Fleeterpreter ==================================================== public void service() { - if (box_data.dataReadyForShip()) - ((Interpreter)getFleet()).debug(box_data.removeDataForShip()); + if (box_in.dataReadyForShip()) + ((Interpreter)getFleet()).debug(box_in.removeDataForShip()); } -== ArchSim ============================================================== +== FleetSim ============================================================== == FPGA ============================================================== +`include "macros.v" + +module debug (clk, 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 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 == Contributors ========================================================= Adam Megacz