verilator/test_regress/t/t_func_task_bad2.out

13 lines
677 B
Plaintext
Raw Normal View History

%Error-FUNCTIMECTL: t/t_func_task_bad2.v:14:5: Functions cannot invoke tasks (IEEE 1800-2023 13.4)
: ... note: In instance 't'
2025-09-24 01:51:34 +02:00
14 | a_task(1'b0);
| ^~~~~~
: ... Suggest make caller 'function func_calls_task' a task
2025-09-24 01:51:34 +02:00
13 | function void func_calls_task;
| ^~~~~~~~~~~~~~~
: ... Or, suggest make called 'task a_task' a function void
2025-09-24 01:51:34 +02:00
9 | task a_task;
| ^~~~~~
... For error description see https://verilator.org/warn/FUNCTIMECTL?v=latest
2025-09-24 01:51:34 +02:00
%Error: Exiting due to