Set UART RX to 1'b1
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 12:25:19 +0000 (14:25 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 29 Jun 2020 12:25:19 +0000 (14:25 +0200)
gram/simulation/simsoctb.v

index 84d7c866e90620c892ddf9f379b3600701403113..f17737c00c21b9fbed8e2c8baad45cbd263bd001 100644 (file)
@@ -82,6 +82,8 @@ module simsoctb;
     .uart_0__tx__io(uart_tx)
   );
 
+  assign uart_rx = 1'b1;
+
   initial
   begin
     $dumpfile("simsoc.fst");
@@ -101,6 +103,10 @@ module simsoctb;
     $dumpvars(0, uart_tx);
     $dumpvars(0, simsoctop);
 
-    #10000 $finish;
+    // Wait for power-on reset
+    //#700000; // 700us
+    #70000;
+
+    $finish;
   end
 endmodule