projects
/
fleet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some cleanups, build fpga stuff in build/fpga, not src
[fleet.git]
/
ships
/
Debug.ship
diff --git
a/ships/Debug.ship
b/ships/Debug.ship
index
842059c
..
b1f1c17
100644
(file)
--- a/
ships/Debug.ship
+++ b/
ships/Debug.ship
@@
-6,6
+6,15
@@
data in: in
== Constants ========================================================
== TeX ==============================================================
== 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() {
== Fleeterpreter ====================================================
public void service() {
@@
-13,7
+22,7
@@
public void service() {
((Interpreter)getFleet()).debug(box_in.removeDataForShip());
}
((Interpreter)getFleet()).debug(box_in.removeDataForShip());
}
-== ArchSim ==============================================================
+== FleetSim ==============================================================
== FPGA ==============================================================
`include "macros.v"
== FPGA ==============================================================
`include "macros.v"
@@
-36,5
+45,13
@@
module debug (clk, data_debug_data_r, data_debug_data_a, data_debug_data,
endmodule
endmodule
+== Test ================================================================
+#expect 25
+
+#ship debug : Debug
+
+25: sendto debug.in;
+debug.in: take, deliver;
+
== Contributors =========================================================
Adam Megacz <megacz@cs.berkeley.edu>
== Contributors =========================================================
Adam Megacz <megacz@cs.berkeley.edu>