From 9d7f5bdc265e89b7f27ad2fb4974fa3a6ee4a040 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 11 Nov 2023 20:34:51 -0500 Subject: [PATCH] Internals: Dump CFunc entry points. --- src/V3AstNodes.cpp | 1 + test_regress/t/t_constraint_mode.v | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index e4de5f908..aa100866c 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -2405,6 +2405,7 @@ void AstCFunc::dump(std::ostream& str) const { if (isVirtual()) str << " [VIRT]"; if (isCoroutine()) str << " [CORO]"; if (needProcess()) str << " [NPRC]"; + if (entryPoint()) str << " [ENTRY]"; } const char* AstCAwait::broken() const { BROKEN_RTN(m_sensesp && !m_sensesp->brokeExists()); diff --git a/test_regress/t/t_constraint_mode.v b/test_regress/t/t_constraint_mode.v index 1aa50c637..cdf87c283 100644 --- a/test_regress/t/t_constraint_mode.v +++ b/test_regress/t/t_constraint_mode.v @@ -58,8 +58,7 @@ module t (/*AUTOARG*/); p.test1(); - // TODO test can't redefine constraint_mode - // TODO test can't call constraint_mode on non-constraint + // TODO for example way to test this, see t_randomize_rand_mode.v $write("*-* All Finished *-*\n"); $finish;