From c7963e212ee79bb247c38b67faa47aa184d89d0b Mon Sep 17 00:00:00 2001
From: Joshua Wise <joshua@rebirth.joshuawise.com>
Date: Sat, 10 Jan 2009 00:54:59 -0500
Subject: [PATCH] Terminal: Add `ifdef verilator around the $c construct.

---
 Terminal.v | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Terminal.v b/Terminal.v
index 9dc5a21..89b19d5 100644
--- a/Terminal.v
+++ b/Terminal.v
@@ -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
-- 
2.43.0