Debug.ship: ignore break signal -- allows demos with serial cable disconnected
authormegacz <adam@megacz.com>
Mon, 6 Apr 2009 18:47:30 +0000 (11:47 -0700)
committermegacz <adam@megacz.com>
Mon, 6 Apr 2009 18:47:30 +0000 (11:47 -0700)
ships/Debug.ship

index 7b4c7b6..2c81785 100644 (file)
@@ -63,7 +63,7 @@ public void service() {
   wire break;
   wire uart_cts;
   assign uart_cts = 0;
-  assign rst_out = rst_in || (force_reset!=0) || break;
+  assign rst_out = rst_in || (force_reset!=0) /* || break */;
 
   // fst=3 means clock divider is 3+2=5 for a 50Mhz clock => 10Mhz
   // using a 33Mhz clock,
@@ -91,7 +91,7 @@ public void service() {
 
    // fpga -> host
    always @(posedge clk) begin
-     if (rst_in || break) begin
+     if (rst_in /* || break */) begin
        count_in    <= 0;
        count_out   <= 0;
        force_reset <= 0;