diff --git a/include/verilated.cpp b/include/verilated.cpp index 81d4290e7..d42cc43d6 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -3476,7 +3476,7 @@ void VerilatedHierarchy::remove(VerilatedScope* fromp, VerilatedScope* top) { void VerilatedAssertOneThread::fatal_different() VL_MT_SAFE { VL_FATAL_MT(__FILE__, __LINE__, "", "Routine called that is single threaded, but called from" - " a different thread then the expected constructing thread"); + " a different thread than the expected constructing thread"); } #endif diff --git a/src/V3Width.cpp b/src/V3Width.cpp index 43b0715eb..108f2de02 100644 --- a/src/V3Width.cpp +++ b/src/V3Width.cpp @@ -4328,7 +4328,7 @@ class WidthVisitor final : public VNVisitor { userIterateChildren(nodep, WidthVP{SELF, BOTH}.p()); if (!similarDTypeRecurse(nodep->dtypep(), nodep->rhsp()->dtypep())) { nodep->rhsp()->v3error("New-as-copier passed different data type '" - << nodep->dtypep()->prettyTypeName() << "' then expected '" + << nodep->dtypep()->prettyTypeName() << "' than expected '" << nodep->rhsp()->dtypep()->prettyTypeName() << "'"); } } diff --git a/test_regress/t/t_class_copy_bad.out b/test_regress/t/t_class_copy_bad.out index de65e77eb..62187f6b1 100644 --- a/test_regress/t/t_class_copy_bad.out +++ b/test_regress/t/t_class_copy_bad.out @@ -1,4 +1,4 @@ -%Error: t/t_class_copy_bad.v:19:16: New-as-copier passed different data type 'CLASSREFDTYPE 'Cls'' then expected 'CLASSREFDTYPE 'Other'' +%Error: t/t_class_copy_bad.v:19:16: New-as-copier passed different data type 'CLASSREFDTYPE 'Cls'' than expected 'CLASSREFDTYPE 'Other'' : ... note: In instance 't' 19 | c1 = new co; | ^~