// Verilated -*- C++ -*- // DESCRIPTION: Verilator output: Tracing implementation internals #include "verilated_vcd_c.h" #include "Vwave__Syms.h" void Vwave___024root__trace_chg_0_sub_0(Vwave___024root* vlSelf, VerilatedVcd::Buffer* bufp); void Vwave___024root__trace_chg_0(void* voidSelf, VerilatedVcd::Buffer* bufp) { VL_DEBUG_IF(VL_DBG_MSGF("+ Vwave___024root__trace_chg_0\n"); ); // Init Vwave___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast(voidSelf); Vwave__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; if (VL_UNLIKELY(!vlSymsp->__Vm_activity)) return; // Body Vwave___024root__trace_chg_0_sub_0((&vlSymsp->TOP), bufp); } void Vwave___024root__trace_chg_0_sub_0(Vwave___024root* vlSelf, VerilatedVcd::Buffer* bufp) { (void)vlSelf; // Prevent unused variable warning Vwave__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; VL_DEBUG_IF(VL_DBG_MSGF("+ Vwave___024root__trace_chg_0_sub_0\n"); ); // Init uint32_t* const oldp VL_ATTR_UNUSED = bufp->oldp(vlSymsp->__Vm_baseCode + 1); // Body bufp->chgBit(oldp+0,(vlSelf->i_clk)); bufp->chgCData(oldp+1,(vlSelf->o_led),8); bufp->chgBit(oldp+2,(vlSelf->wave__DOT__direction)); } void Vwave___024root__trace_cleanup(void* voidSelf, VerilatedVcd* /*unused*/) { VL_DEBUG_IF(VL_DBG_MSGF("+ Vwave___024root__trace_cleanup\n"); ); // Init Vwave___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast(voidSelf); Vwave__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; VlUnpacked __Vm_traceActivity; for (int __Vi0 = 0; __Vi0 < 1; ++__Vi0) { __Vm_traceActivity[__Vi0] = 0; } // Body vlSymsp->__Vm_activity = false; __Vm_traceActivity[0U] = 0U; }