comment about icarus verilog to speed up simulations
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 17 Mar 2022 12:57:05 +0000 (12:57 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 17 Mar 2022 13:40:11 +0000 (13:40 +0000)
lib/console.c

index d5c8af1e38af036c554b4e9a5bb8673d3dba5c1d..34bfc41dd4fc1191a93a02d4dc97be3b81768597 100644 (file)
@@ -155,7 +155,7 @@ int getchar(void)
 
 int putchar(int c)
 {
-    return c;
+    // return c; comment this in for icarus simulations (too slow otherwise)
        if (uart_is_std) {
                while(std_uart_tx_full())
                        /* Do Nothing */;