diff --git a/src/V3Assert.cpp b/src/V3Assert.cpp index 5ee211b09..8b53adf95 100644 --- a/src/V3Assert.cpp +++ b/src/V3Assert.cpp @@ -108,6 +108,7 @@ private: // Like newFireAssert() but omits the asserts-on check AstDisplay* dispp = new AstDisplay(nodep->fileline(), AstDisplayType::DT_ERROR, message, nullptr, nullptr); + dispp->fmtp()->timeunit(m_modp->timeunit()); AstNode* bodysp = dispp; replaceDisplay(dispp, "%%Error"); // Convert to standard DISPLAY format bodysp->addNext(new AstStop(nodep->fileline(), true));