Signed-off-by: Pawel Kojma <pkojma@internships.antmicro.com>
This commit is contained in:
Pawel Kojma 2026-02-12 16:04:50 +01:00
parent 411f9c9121
commit 220d260473
2 changed files with 2 additions and 1 deletions

View File

@ -1202,7 +1202,7 @@ class DelayedVisitor final : public VNVisitor {
if (nodep->user1SetOnce()) return;
if (m_cfuncp) {
if (v3Global.opt.timing().isSetFalse()) {
if (!v3Global.rootp()->nbaEventp()) {
nodep->v3warn(
E_NOTIMING,
"Delayed assignment in a non-inlined function/task requires --timing");

View File

@ -8,6 +8,7 @@ class Cls;
task bar;
static int qux;
qux <= '1;
$display("qux = %d\n", qux);
endtask
endclass