]> Joshua Wise's Git repositories - firearm.git/blobdiff - Terminal.v
system: Correct routing regressions from renames.
[firearm.git] / Terminal.v
index 9ddd5d30340bd52dc73cf85b124779573f2753fa..0239dbfe6b1446aa3769d481e07d9f8f5c901ecd 100644 (file)
@@ -47,17 +47,17 @@ module Terminal(
                if (towrite)
                        $c("{extern void term_output(unsigned char d); term_output(",data,");}");
                else if (didread || !indata[8])
-                       indata = $c("({extern unsigned int term_input(); term_input();})");
+                       indata <= $c("({extern unsigned int term_input(); term_input();})");
 `else
        always @(posedge clk)
        begin
-               sys_odata = {towrite,data};
+               sys_odata <= {towrite,data};
                if (didread || !indata[8])
                begin
-                       indata = sys_idata;
-                       sys_tookdata = 1;
+                       indata <= sys_idata;
+                       sys_tookdata <= 1;
                end else
-                       sys_tookdata = 0;
+                       sys_tookdata <= 0;
        end
 `endif
 endmodule
This page took 0.022575 seconds and 4 git commands to generate.