mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Important: Change --assert to be the default; use --no-assert for legacy behavior and faster runtimes.
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ class AssertVisitor final : public VNVisitor {
|
||||
switch (directiveType) {
|
||||
case VAssertDirectiveType::INTRINSIC: return new AstConst{fl, AstConst::BitTrue{}};
|
||||
case VAssertDirectiveType::VIOLATION_CASE: {
|
||||
if (v3Global.opt.assertCaseOn()) {
|
||||
if (v3Global.opt.assertCase()) {
|
||||
return new AstCExpr{fl, "vlSymsp->_vm_contextp__->assertOn()", 1};
|
||||
}
|
||||
// If assertions are off, have constant propagation rip them out later
|
||||
|
||||
Reference in New Issue
Block a user