Files
verilator/src/V3Dead.h
T

40 lines
1.3 KiB
C++
Raw Normal View History

// -*- mode: C++; c-file-style: "cc-mode" -*-
2006-08-26 11:35:28 +00:00
//*************************************************************************
// DESCRIPTION: Verilator: Dead branch elimination
//
2019-11-07 22:33:59 -05:00
// Code available from: https://verilator.org
2006-08-26 11:35:28 +00:00
//
//*************************************************************************
//
// 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: 2003-2026 Wilson Snyder
// SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
2006-08-26 11:35:28 +00:00
//
//*************************************************************************
#ifndef VERILATOR_V3DEAD_H_
#define VERILATOR_V3DEAD_H_
#include "config_build.h"
#include "verilatedos.h"
2022-01-08 11:18:23 -05:00
class AstNetlist;
2006-08-26 11:35:28 +00:00
//============================================================================
class V3Dead final {
2006-08-26 11:35:28 +00:00
public:
// Modules, no vars/dtypes
static void deadifyModules(AstNetlist* nodep) VL_MT_DISABLED;
// Modules, Data types
static void deadifyDTypes(AstNetlist* nodep) VL_MT_DISABLED;
static void deadifyDTypesScoped(AstNetlist* nodep) VL_MT_DISABLED;
2006-08-26 11:35:28 +00:00
// Everything that's possible
static void deadifyAll(AstNetlist* nodep) VL_MT_DISABLED;
static void deadifyAllScoped(AstNetlist* nodep) VL_MT_DISABLED;
2006-08-26 11:35:28 +00:00
};
#endif // Guard