blob: 4713f0f03f2fa4f9f9a9f7934d6da5a241599f2c (
plain) (
tree)
|
|
// Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Tracing implementation internals
#include "verilated_vcd_c.h"
#include "Valu__Syms.h"
void Valu___024root__trace_chg_sub_0(Valu___024root* vlSelf, VerilatedVcd* tracep);
void Valu___024root__trace_chg_top_0(void* voidSelf, VerilatedVcd* tracep) {
VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_chg_top_0\n"); );
// Init
Valu___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast<Valu___024root*>(voidSelf);
Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp;
if (VL_UNLIKELY(!vlSymsp->__Vm_activity)) return;
// Body
Valu___024root__trace_chg_sub_0((&vlSymsp->TOP), tracep);
}
void Valu___024root__trace_chg_sub_0(Valu___024root* vlSelf, VerilatedVcd* tracep) {
if (false && vlSelf) {} // Prevent unused
Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp;
VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_chg_sub_0\n"); );
// Init
vluint32_t* const oldp VL_ATTR_UNUSED = tracep->oldp(vlSymsp->__Vm_baseCode + 1);
// Body
tracep->chgIData(oldp+0,(vlSelf->in1),32);
tracep->chgIData(oldp+1,(vlSelf->in2),32);
tracep->chgCData(oldp+2,(vlSelf->op),4);
tracep->chgIData(oldp+3,(vlSelf->out),32);
tracep->chgIData(oldp+4,(vlSelf->alu__DOT__result),32);
}
void Valu___024root__trace_cleanup(void* voidSelf, VerilatedVcd* /*unused*/) {
VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_cleanup\n"); );
// Init
Valu___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast<Valu___024root*>(voidSelf);
Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp;
VlUnpacked<CData/*0:0*/, 1> __Vm_traceActivity;
// Body
vlSymsp->__Vm_activity = false;
__Vm_traceActivity[0U] = 0U;
}
|