diff options
| author | Julian Blake Kongslie | 2021-03-24 08:35:07 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2021-03-24 08:50:57 -0700 |
| commit | 5c1df6d27f5dac143efc9ce84689b863dbee45bd (patch) | |
| tree | 9bb9c9bcab00e7d5a5d1b40467d8e5a810f0b706 /hdl/utils.svh | |
| parent | Clean before building. (diff) | |
| download | toycpu-5c1df6d27f5dac143efc9ce84689b863dbee45bd.tar.xz | |
Reorganize repo layout to make it a little easier to work within.
Diffstat (limited to 'hdl/utils.svh')
| -rw-r--r-- | hdl/utils.svh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hdl/utils.svh b/hdl/utils.svh new file mode 100644 index 0000000..ddba543 --- /dev/null +++ b/hdl/utils.svh | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | `ifdef SYNTHESIS | ||
| 2 | `define past(x) x | ||
| 3 | `else | ||
| 4 | `define past(x) $past(x) | ||
| 5 | `endif | ||
