Terminal: Add `ifdef verilator around the $c construct.
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 10 Jan 2009 05:54:59 +0000 (00:54 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Sat, 10 Jan 2009 05:54:59 +0000 (00:54 -0500)
Terminal.v

index 9dc5a21..89b19d5 100644 (file)
@@ -26,8 +26,9 @@ module Terminal(
                        cp_ack = 1;
                end
        end
-       
+`ifdef verilator       
        always @(posedge clk)
                if (towrite)
                        $c("{extern void term_output(unsigned char d); term_output(",data,");}");
+`endif
 endmodule
This page took 0.017398 seconds and 4 git commands to generate.