Use Google-style-guide header guard naming, to avoid __ prefix.

This commit is contained in:
Wilson Snyder
2021-03-03 21:57:07 -05:00
parent 90773f4980
commit be31fdcfe4
140 changed files with 278 additions and 278 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
///
//=========================================================================
#define _VERILATED_CPP_
#define VERILATOR_VERILATED_CPP_
#include "verilatedos.h"
#include "verilated_imp.h"
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -19,7 +19,7 @@
///
//=========================================================================
#define _VERILATED_DPI_CPP_
#define VERILATOR_VERILATED_DPI_CPP_
#include "verilatedos.h"
#include "verilated_dpi.h"
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+3 -3
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -21,7 +21,7 @@
///
//=========================================================================
#define _VERILATED_VPI_CPP_
#define VERILATOR_VERILATED_VPI_CPP_
#include "verilated.h"
#include "verilated_vpi.h"
+2 -2
View File
@@ -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"
+2 -2
View File
@@ -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