mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
|
//*************************************************************************
|
|
// DESCRIPTION: Verilator: Assertion expansion
|
|
//
|
|
// Code available from: https://verilator.org
|
|
//
|
|
//*************************************************************************
|
|
//
|
|
// This program is free software; you can redistribute it and/or modify it
|
|
// under the terms of either the GNU Lesser General Public License Version 3
|
|
// or the Perl Artistic License Version 2.0.
|
|
// SPDX-FileCopyrightText: 2005-2026 Wilson Snyder
|
|
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
|
//
|
|
//*************************************************************************
|
|
|
|
#ifndef VERILATOR_V3ASSERT_H_
|
|
#define VERILATOR_V3ASSERT_H_
|
|
|
|
#include "config_build.h"
|
|
#include "verilatedos.h"
|
|
|
|
#include "V3Ast.h"
|
|
|
|
//============================================================================
|
|
|
|
class V3AssertCommon final {
|
|
public:
|
|
static void collectDefaultDisable(AstNetlist* nodep) VL_MT_DISABLED;
|
|
static void lowerSequenceEvents(AstNetlist* nodep) VL_MT_DISABLED;
|
|
static string assertCtlGetCall(const char* query, VAssertType type,
|
|
VAssertDirectiveType directiveType) VL_MT_DISABLED;
|
|
};
|
|
|
|
class V3Assert final {
|
|
public:
|
|
static void assertAll(AstNetlist* nodep) VL_MT_DISABLED;
|
|
};
|
|
|
|
#endif // Guard
|