summaryrefslogtreecommitdiff
path: root/hdl/util.svh
diff options
context:
space:
mode:
authorJulian Blake Kongslie2021-03-29 12:37:18 -0700
committerJulian Blake Kongslie2021-03-29 12:37:18 -0700
commit5893895f736ac7f67c5442dfb0bc8d6e6f3302b8 (patch)
tree6fdbda55c4b33876a5c17bf56b67922de4608137 /hdl/util.svh
parentFix WIDTH warnings from verilator. (diff)
downloadnoncpu-5893895f736ac7f67c5442dfb0bc8d6e6f3302b8.tar.xz
Convert to using $sampled instead of $past, for more uniformity.
Diffstat (limited to '')
-rw-r--r--hdl/util.svh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdl/util.svh b/hdl/util.svh
index ddba543..db5e4e6 100644
--- a/hdl/util.svh
+++ b/hdl/util.svh
@@ -1,5 +1,5 @@
1`ifdef SYNTHESIS 1`ifdef SYNTHESIS
2`define past(x) x 2`define past(x) x
3`else 3`else
4`define past(x) $past(x) 4`define past(x) $sampled(x)
5`endif 5`endif