2020-03-15 02:02:42 +00:00
|
|
|
%Error: t/t_func_bad.v:8:11: Missing argument on non-defaulted argument 'from2' in function call to FUNC 'add'
|
|
|
|
: ... In instance t
|
2019-07-15 01:42:03 +00:00
|
|
|
if (add(3'd1) != 0) $stop;
|
|
|
|
^~~
|
2020-03-15 02:02:42 +00:00
|
|
|
%Error: t/t_func_bad.v:9:27: Too many arguments in function call to FUNC 'add'
|
|
|
|
: ... In instance t
|
2019-07-15 01:42:03 +00:00
|
|
|
if (add(3'd1, 3'd2, 3'd3) != 0) $stop;
|
|
|
|
^~~~
|
2020-03-15 02:02:42 +00:00
|
|
|
%Error: t/t_func_bad.v:10:7: Missing argument on non-defaulted argument 'y' in function call to TASK 'x'
|
|
|
|
: ... In instance t
|
2019-07-15 01:42:03 +00:00
|
|
|
x;
|
|
|
|
^
|
2020-03-15 02:02:42 +00:00
|
|
|
%Error: t/t_func_bad.v:10:7: Unsupported: Function output argument 'y' requires 1 bits, but connection's CONST '?32?h0' generates 32 bits.
|
|
|
|
: ... In instance t
|
2019-07-15 01:42:03 +00:00
|
|
|
x;
|
|
|
|
^
|
2020-03-15 02:02:42 +00:00
|
|
|
%Error: t/t_func_bad.v:13:17: No such argument 'no_such' in function call to FUNC 'f'
|
|
|
|
: ... In instance t
|
2019-07-15 01:42:03 +00:00
|
|
|
f(.j(1), .no_such(2));
|
|
|
|
^~~~~~~
|
2020-03-15 02:02:42 +00:00
|
|
|
%Error: t/t_func_bad.v:14:19: Duplicate argument 'dup' in function call to FUNC 'f'
|
|
|
|
: ... In instance t
|
2019-07-15 01:42:03 +00:00
|
|
|
f(.dup(1), .dup(3));
|
|
|
|
^~~
|
2020-03-15 02:02:42 +00:00
|
|
|
%Error: t/t_func_bad.v:15:13: Too many arguments in function call to FUNC 'f'
|
|
|
|
: ... In instance t
|
2019-07-15 01:42:03 +00:00
|
|
|
f(1,2,3);
|
|
|
|
^
|
2018-11-03 18:59:04 +00:00
|
|
|
%Error: Exiting due to
|