git.joshuawise.com
/
firearm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8077f6b
)
Terminal: Add `ifdef verilator around the $c construct.
author
Joshua Wise
<joshua@rebirth.joshuawise.com>
Sat, 10 Jan 2009 05:54:59 +0000
(
00:54
-0500)
committer
Joshua Wise
<joshua@rebirth.joshuawise.com>
Sat, 10 Jan 2009 05:54:59 +0000
(
00:54
-0500)
Terminal.v
patch
|
blob
|
blame
|
history
diff --git
a/Terminal.v
b/Terminal.v
index
9dc5a21
..
89b19d5
100644
(file)
--- 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
This page took
0.018334 seconds
and
4
git commands to generate.