mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Apply clang-format
This commit is contained in:
parent
2b2680770b
commit
52fc134272
@ -53,21 +53,30 @@
|
|||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// Check that vltscope_t matches fstScopeType
|
// Check that vltscope_t matches fstScopeType
|
||||||
static_assert((int)FST_ST_VCD_MODULE == (int)VLT_TRACE_SCOPE_MODULE, "VLT_TRACE_SCOPE_MODULE mismatches");
|
static_assert((int)FST_ST_VCD_MODULE == (int)VLT_TRACE_SCOPE_MODULE,
|
||||||
static_assert((int)FST_ST_VCD_TASK == (int)VLT_TRACE_SCOPE_TASK, "VLT_TRACE_SCOPE_TASK mismatches");
|
"VLT_TRACE_SCOPE_MODULE mismatches");
|
||||||
|
static_assert((int)FST_ST_VCD_TASK == (int)VLT_TRACE_SCOPE_TASK,
|
||||||
|
"VLT_TRACE_SCOPE_TASK mismatches");
|
||||||
static_assert((int)FST_ST_VCD_FUNCTION == (int)VLT_TRACE_SCOPE_FUNCTION,
|
static_assert((int)FST_ST_VCD_FUNCTION == (int)VLT_TRACE_SCOPE_FUNCTION,
|
||||||
"VLT_TRACE_SCOPE_FUNCTION mismatches");
|
"VLT_TRACE_SCOPE_FUNCTION mismatches");
|
||||||
static_assert((int)FST_ST_VCD_BEGIN == (int)VLT_TRACE_SCOPE_BEGIN, "VLT_TRACE_SCOPE_BEGIN mismatches");
|
static_assert((int)FST_ST_VCD_BEGIN == (int)VLT_TRACE_SCOPE_BEGIN,
|
||||||
static_assert((int)FST_ST_VCD_FORK == (int)VLT_TRACE_SCOPE_FORK, "VLT_TRACE_SCOPE_FORK mismatches");
|
"VLT_TRACE_SCOPE_BEGIN mismatches");
|
||||||
|
static_assert((int)FST_ST_VCD_FORK == (int)VLT_TRACE_SCOPE_FORK,
|
||||||
|
"VLT_TRACE_SCOPE_FORK mismatches");
|
||||||
static_assert((int)FST_ST_VCD_GENERATE == (int)VLT_TRACE_SCOPE_GENERATE,
|
static_assert((int)FST_ST_VCD_GENERATE == (int)VLT_TRACE_SCOPE_GENERATE,
|
||||||
"VLT_TRACE_SCOPE_GENERATE mismatches");
|
"VLT_TRACE_SCOPE_GENERATE mismatches");
|
||||||
static_assert((int)FST_ST_VCD_STRUCT == (int)VLT_TRACE_SCOPE_STRUCT, "VLT_TRACE_SCOPE_STRUCT mismatches");
|
static_assert((int)FST_ST_VCD_STRUCT == (int)VLT_TRACE_SCOPE_STRUCT,
|
||||||
static_assert((int)FST_ST_VCD_UNION == (int)VLT_TRACE_SCOPE_UNION, "VLT_TRACE_SCOPE_UNION mismatches");
|
"VLT_TRACE_SCOPE_STRUCT mismatches");
|
||||||
static_assert((int)FST_ST_VCD_CLASS == (int)VLT_TRACE_SCOPE_CLASS, "VLT_TRACE_SCOPE_CLASS mismatches");
|
static_assert((int)FST_ST_VCD_UNION == (int)VLT_TRACE_SCOPE_UNION,
|
||||||
|
"VLT_TRACE_SCOPE_UNION mismatches");
|
||||||
|
static_assert((int)FST_ST_VCD_CLASS == (int)VLT_TRACE_SCOPE_CLASS,
|
||||||
|
"VLT_TRACE_SCOPE_CLASS mismatches");
|
||||||
static_assert((int)FST_ST_VCD_INTERFACE == (int)VLT_TRACE_SCOPE_INTERFACE,
|
static_assert((int)FST_ST_VCD_INTERFACE == (int)VLT_TRACE_SCOPE_INTERFACE,
|
||||||
"VLT_TRACE_SCOPE_INTERFACE mismatches");
|
"VLT_TRACE_SCOPE_INTERFACE mismatches");
|
||||||
static_assert((int)FST_ST_VCD_PACKAGE == (int)VLT_TRACE_SCOPE_PACKAGE, "VLT_TRACE_SCOPE_PACKAGE mismatches");
|
static_assert((int)FST_ST_VCD_PACKAGE == (int)VLT_TRACE_SCOPE_PACKAGE,
|
||||||
static_assert((int)FST_ST_VCD_PROGRAM == (int)VLT_TRACE_SCOPE_PROGRAM, "VLT_TRACE_SCOPE_PROGRAM mismatches");
|
"VLT_TRACE_SCOPE_PACKAGE mismatches");
|
||||||
|
static_assert((int)FST_ST_VCD_PROGRAM == (int)VLT_TRACE_SCOPE_PROGRAM,
|
||||||
|
"VLT_TRACE_SCOPE_PROGRAM mismatches");
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// Specialization of the generics for this trace format
|
// Specialization of the generics for this trace format
|
||||||
|
@ -306,8 +306,8 @@ private:
|
|||||||
if (VN_IS(nodep, StructDType)) {
|
if (VN_IS(nodep, StructDType)) {
|
||||||
// Mark scope as a struct by setting the last char to 0x80 + the
|
// Mark scope as a struct by setting the last char to 0x80 + the
|
||||||
// fstScopeType
|
// fstScopeType
|
||||||
m_traShowname
|
m_traShowname += getScopeChar(VLT_TRACE_SCOPE_STRUCT) + " "
|
||||||
+= getScopeChar(VLT_TRACE_SCOPE_STRUCT) + " " + itemp->prettyName();
|
+ itemp->prettyName();
|
||||||
|
|
||||||
m_traValuep
|
m_traValuep
|
||||||
= new AstSel(nodep->fileline(), m_traValuep->cloneTree(true),
|
= new AstSel(nodep->fileline(), m_traValuep->cloneTree(true),
|
||||||
|
Loading…
Reference in New Issue
Block a user