Skip to content

Commit

Permalink
Fixes bugs in macros
Browse files Browse the repository at this point in the history
  • Loading branch information
chaseruskin committed Sep 10, 2024
1 parent c5db160 commit 1f3586a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/hdl/src/godan.sv
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ package godan;
automatic string \EXPT\ ; \
$sformat(\RECV\ , "%b", RECV); \
$sformat(\EXPT\ , "%b", EXPT); \
assert_eq(e, \RECV\ , \EXPT\ , SUBJECT); \
assert_eq(FD, \RECV\ , \EXPT\ , SUBJECT); \
end

`define assert_ne(FD, RECV, EXPT, SUBJECT) \
Expand All @@ -275,7 +275,7 @@ package godan;
automatic string \EXPT\ ; \
$sformat(\RECV\ , "%b", RECV); \
$sformat(\EXPT\ , "%b", EXPT); \
assert_ne(e, \RECV\ , \EXPT\ , SUBJECT); \
assert_ne(FD, \RECV\ , \EXPT\ , SUBJECT); \
end

`define monitor(FD, CLK, DATA, ACTIVE, CYCLES, SUBJECT) \
Expand Down

0 comments on commit 1f3586a

Please sign in to comment.