diff options
| author | Julian Blake Kongslie | 2021-03-29 12:37:18 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-03-29 12:37:18 -0700 |
| commit | 5893895f736ac7f67c5442dfb0bc8d6e6f3302b8 (patch) | |
| tree | 6fdbda55c4b33876a5c17bf56b67922de4608137 /hdl/util.svh | |
| parent | Fix WIDTH warnings from verilator. (diff) | |
| download | noncpu-5893895f736ac7f67c5442dfb0bc8d6e6f3302b8.tar.xz | |
Convert to using $sampled instead of $past, for more uniformity.
Diffstat (limited to '')
| -rw-r--r-- | hdl/util.svh | 2 |
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 |
