2022-11-05 16:40:34 +01:00
|
|
|
%Error: t/t_gen_missing_bad2.v:8:8: Expecting expression to be constant, but can't convert a TESTPLUSARGS to constant.
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 16:40:34 +01:00
|
|
|
8 | if ($test$plusargs("BAD-non-constant")) begin
|
|
|
|
|
| ^~~~~~~~~~~~~~
|
2025-04-05 23:10:28 +02:00
|
|
|
... See the manual at https://verilator.org/verilator_doc.html?v=latest for more assistance.
|
2022-11-05 16:40:34 +01:00
|
|
|
%Error: t/t_gen_missing_bad2.v:8:8: Generate If condition must evaluate to constant
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 16:40:34 +01:00
|
|
|
8 | if ($test$plusargs("BAD-non-constant")) begin
|
|
|
|
|
| ^~~~~~~~~~~~~~
|
|
|
|
|
%Error: t/t_gen_missing_bad2.v:12:7: Expecting expression to be constant, but can't convert a TESTPLUSARGS to constant.
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 16:40:34 +01:00
|
|
|
12 | $test$plusargs("BAD-non-constant"): initial $stop;
|
|
|
|
|
| ^~~~~~~~~~~~~~
|
|
|
|
|
%Error: t/t_gen_missing_bad2.v:12:41: Generate Case item does not evaluate to constant
|
2023-09-23 14:52:50 +02:00
|
|
|
: ... note: In instance 't'
|
2022-11-05 16:40:34 +01:00
|
|
|
12 | $test$plusargs("BAD-non-constant"): initial $stop;
|
|
|
|
|
| ^
|
|
|
|
|
%Error: Exiting due to
|