summaryrefslogtreecommitdiff
path: root/hdl/util.svh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hdl/util.svh7
1 files changed, 5 insertions, 2 deletions
diff --git a/hdl/util.svh b/hdl/util.svh
index fa6ddc5..012e2ed 100644
--- a/hdl/util.svh
+++ b/hdl/util.svh
@@ -1,2 +1,5 @@
1`define input(x) type(x) x``_; assign x``_ = x; 1`ifdef SYNTHESIS
2`define output(x) type(x) x``_; assign x = x``_; 2`define lag(x) x
3`else
4`define lag(x) $past(x)
5`endif