diff options
| author | Julian Blake Kongslie | 2021-03-24 09:24:19 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-03-24 09:24:19 -0700 |
| commit | 607ae017354c86296ba1371b6bb071973ce3cdb0 (patch) | |
| tree | 40cd40ac937e7a5519ac9c5d31c0eaed59b1beae /hdl/util.svh | |
| parent | Reorganize repo layout to make it a little easier to work within. (diff) | |
| download | toycpu-607ae017354c86296ba1371b6bb071973ce3cdb0.tar.xz | |
Trivial cleanups.
Diffstat (limited to 'hdl/util.svh')
| -rw-r--r-- | hdl/util.svh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hdl/util.svh b/hdl/util.svh new file mode 100644 index 0000000..ddba543 --- /dev/null +++ b/hdl/util.svh | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | `ifdef SYNTHESIS | ||
| 2 | `define past(x) x | ||
| 3 | `else | ||
| 4 | `define past(x) $past(x) | ||
| 5 | `endif | ||
