verilator/src/V3Broken.h

39 lines
1.2 KiB
C
Raw Normal View History

// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
// DESCRIPTION: Verilator: Find broken links in tree
//
2019-11-08 03:33:59 +00:00
// Code available from: https://verilator.org
//
//*************************************************************************
//
2022-01-01 13:26:40 +00:00
// Copyright 2003-2022 by Wilson Snyder. 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-License-Identifier: LGPL-3.0-only OR Artistic-2.0
//
//*************************************************************************
#ifndef VERILATOR_V3BROKEN_H_
#define VERILATOR_V3BROKEN_H_
#include "config_build.h"
#include "verilatedos.h"
//============================================================================
// Forward declare so we can include this in V3Ast.h
class AstNetlist;
class AstNode;
class V3Broken final {
public:
static void brokenAll(AstNetlist* nodep);
static bool isLinkable(const AstNode* nodep);
static void addNewed(const AstNode* nodep);
static void deleted(const AstNode* nodep);
2020-12-08 04:15:29 +00:00
static void selfTest();
};
#endif // Guard