mirror of
https://github.com/verilator/verilator.git
synced 2026-09-06 08:57:23 +02:00
Use Google-style-guide header guard naming, to avoid __ prefix.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
///
|
||||
//=========================================================================
|
||||
|
||||
#define _VERILATED_CPP_
|
||||
#define VERILATOR_VERILATED_CPP_
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated_imp.h"
|
||||
|
||||
+2
-2
@@ -20,8 +20,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATED_H_
|
||||
#define _VERILATED_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_H_
|
||||
#define VERILATOR_VERILATED_H_ ///< Header Guard
|
||||
|
||||
// clang-format off
|
||||
#include "verilatedos.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
///
|
||||
//=============================================================================
|
||||
|
||||
#ifndef _VERILATED_COV_H_
|
||||
#define _VERILATED_COV_H_ 1
|
||||
#ifndef VERILATOR_VERILATED_COV_H_
|
||||
#define VERILATOR_VERILATED_COV_H_
|
||||
|
||||
#include "verilatedos.h"
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
///
|
||||
//=============================================================================
|
||||
|
||||
#ifndef _VERILATED_COV_KEY_H_
|
||||
#define _VERILATED_COV_KEY_H_ 1
|
||||
#ifndef VERILATOR_VERILATED_COV_KEY_H_
|
||||
#define VERILATOR_VERILATED_COV_KEY_H_
|
||||
|
||||
#include "verilatedos.h"
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
///
|
||||
//=========================================================================
|
||||
|
||||
#define _VERILATED_DPI_CPP_
|
||||
#define VERILATOR_VERILATED_DPI_CPP_
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated_dpi.h"
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATED_DPI_H_
|
||||
#define _VERILATED_DPI_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_DPI_H_
|
||||
#define VERILATOR_VERILATED_DPI_H_ ///< Header Guard
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated.h" // Also presumably included by caller
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
//=============================================================================
|
||||
// SPDIFF_OFF
|
||||
|
||||
#ifndef _VERILATED_FST_C_H_
|
||||
#define _VERILATED_FST_C_H_ 1
|
||||
#ifndef VERILATOR_VERILATED_FST_C_H_
|
||||
#define VERILATOR_VERILATED_FST_C_H_
|
||||
|
||||
#include "verilated.h"
|
||||
#include "verilated_trace.h"
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATED_HEAVY_H_
|
||||
#define _VERILATED_HEAVY_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_HEAVY_H_
|
||||
#define VERILATOR_VERILATED_HEAVY_H_ ///< Header Guard
|
||||
|
||||
#include "verilated.h"
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
///
|
||||
//=========================================================================
|
||||
|
||||
#ifndef _VERILATED_IMP_H_
|
||||
#define _VERILATED_IMP_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_IMP_H_
|
||||
#define VERILATOR_VERILATED_IMP_H_ ///< Header Guard
|
||||
|
||||
// clang-format off
|
||||
#if !defined(_VERILATED_CPP_) && !defined(_VERILATED_DPI_CPP_) && !defined(_VERILATED_VPI_CPP_)
|
||||
#if !defined(VERILATOR_VERILATED_CPP_) && !defined(VERILATOR_VERILATED_DPI_CPP_) && !defined(VERILATOR_VERILATED_VPI_CPP_)
|
||||
# error "verilated_imp.h only to be included by verilated*.cpp internals"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATED_INTRINSICS_H_
|
||||
#define _VERILATED_INTRINSICS_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_INTRINSICS_H_
|
||||
#define VERILATOR_VERILATED_INTRINSICS_H_ ///< Header Guard
|
||||
|
||||
// clang-format off
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
///
|
||||
//=============================================================================
|
||||
|
||||
#ifndef _VERILATED_SAVE_C_H_
|
||||
#define _VERILATED_SAVE_C_H_ 1
|
||||
#ifndef VERILATOR_VERILATED_SAVE_C_H_
|
||||
#define VERILATOR_VERILATED_SAVE_C_H_
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated_heavy.h"
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATED_SC_H_
|
||||
#define _VERILATED_SC_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_SC_H_
|
||||
#define VERILATOR_VERILATED_SC_H_ ///< Header Guard
|
||||
|
||||
#include "verilatedos.h"
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATED_SYM_PROPS_H_
|
||||
#define _VERILATED_SYM_PROPS_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_SYM_PROPS_H_
|
||||
#define VERILATOR_VERILATED_SYM_PROPS_H_ ///< Header Guard
|
||||
|
||||
#include "verilatedos.h"
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATED_SYMS_H_
|
||||
#define _VERILATED_SYMS_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_SYMS_H_
|
||||
#define VERILATOR_VERILATED_SYMS_H_ ///< Header Guard
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated_heavy.h"
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
///
|
||||
//=============================================================================
|
||||
|
||||
#ifndef _VERILATED_THREADS_H_
|
||||
#define _VERILATED_THREADS_H_
|
||||
#ifndef VERILATOR_VERILATED_THREADS_H_
|
||||
#define VERILATOR_VERILATED_THREADS_H_
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated.h" // for VerilatedMutex and clang annotations
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
//=============================================================================
|
||||
// SPDIFF_OFF
|
||||
|
||||
#ifndef _VERILATED_TRACE_H_
|
||||
#define _VERILATED_TRACE_H_ 1
|
||||
#ifndef VERILATOR_VERILATED_TRACE_H_
|
||||
#define VERILATOR_VERILATED_TRACE_H_
|
||||
|
||||
// clang-format off
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
//=============================================================================
|
||||
// SPDIFF_OFF
|
||||
|
||||
#ifndef _VERILATED_VCD_C_H_
|
||||
#define _VERILATED_VCD_C_H_ 1
|
||||
#ifndef VERILATOR_VERILATED_VCD_C_H_
|
||||
#define VERILATOR_VERILATED_VCD_C_H_
|
||||
|
||||
#include "verilated.h"
|
||||
#include "verilated_trace.h"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
//=============================================================================
|
||||
// SPDIFF_OFF
|
||||
|
||||
#ifndef _VERILATED_VCD_SC_H_
|
||||
#define _VERILATED_VCD_SC_H_ 1
|
||||
#ifndef VERILATOR_VERILATED_VCD_SC_H_
|
||||
#define VERILATOR_VERILATED_VCD_SC_H_
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated_sc.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
///
|
||||
//=========================================================================
|
||||
|
||||
#define _VERILATED_VPI_CPP_
|
||||
#define VERILATOR_VERILATED_VPI_CPP_
|
||||
|
||||
#include "verilated.h"
|
||||
#include "verilated_vpi.h"
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
///
|
||||
//=========================================================================
|
||||
|
||||
#ifndef _VERILATED_VPI_H_
|
||||
#define _VERILATED_VPI_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATED_VPI_H_
|
||||
#define VERILATOR_VERILATED_VPI_H_ ///< Header Guard
|
||||
|
||||
#include "verilatedos.h"
|
||||
#include "verilated.h"
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
///
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _VERILATEDOS_H_
|
||||
#define _VERILATEDOS_H_ 1 ///< Header Guard
|
||||
#ifndef VERILATOR_VERILATEDOS_H_
|
||||
#define VERILATOR_VERILATEDOS_H_ ///< Header Guard
|
||||
|
||||
// Current clang-format versions botch #ifdef inclusion, so
|
||||
// clang-format off
|
||||
|
||||
Reference in New Issue
Block a user