Dvi.ship: software implementatino
[fleet.git] / ships / Debug.ship
index 2c81785..f796446 100644 (file)
@@ -32,7 +32,7 @@ ship.
 == Fleeterpreter ====================================================
 public void service() {
   if (box_in.dataReadyForShip())
-    ((Interpreter)getFleet()).debug(box_in.removeDataForShip());
+    ((Interpreter)getFleet()).debug(new BitVector(37).set(box_in.removeDataForShip()));
 }
 
 == FleetSim ==============================================================
@@ -70,7 +70,10 @@ public void service() {
   //   33.333Mhz / 38400hz * 4 = 217.013 => 215+2,1 => 215,1
   // using a 100Mhz clock,
   //   100Mhz / 38400hz * 4 = 651.039 => 215+2,3 => 215,3
-  sasc_brg sasc_brg(clk, !rst_in, 215, 3, sio_ce, sio_ce_x4);
+  // using a 100Mhz clock, 115200baud
+  //   100Mhz / 115200hz * 4 = 217.013 => 215+2,1 => 215,1
+//  sasc_brg sasc_brg(clk, !rst_in, 215, 3, sio_ce, sio_ce_x4);
+  sasc_brg sasc_brg(clk, !rst_in, 215, 1, sio_ce, sio_ce_x4);
   sasc_top sasc_top(clk, !rst_in,
                     uart_in,
                     uart_out,