summaryrefslogtreecommitdiff
path: root/verilog/alu/obj_dir/Valu__Trace__0.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'verilog/alu/obj_dir/Valu__Trace__0.cpp')
-rw-r--r--verilog/alu/obj_dir/Valu__Trace__0.cpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/verilog/alu/obj_dir/Valu__Trace__0.cpp b/verilog/alu/obj_dir/Valu__Trace__0.cpp
new file mode 100644
index 0000000..4713f0f
--- /dev/null
+++ b/verilog/alu/obj_dir/Valu__Trace__0.cpp
@@ -0,0 +1,42 @@
+// 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;
+}