// Verilated -*- C++ -*- // DESCRIPTION: Verilator output: Symbol table implementation internals #include "Vtop__pch.h" #include "Vtop.h" #include "Vtop___024root.h" // FUNCTIONS Vtop__Syms::~Vtop__Syms() { // Tear down scope hierarchy __Vhier.remove(0, &__Vscope_half_adder); } Vtop__Syms::Vtop__Syms(VerilatedContext* contextp, const char* namep, Vtop* modelp) : VerilatedSyms{contextp} // Setup internal state of the Syms class , __Vm_modelp{modelp} // Setup module instances , TOP{this, namep} { // Check resources Verilated::stackCheck(25); // Configure time unit / time precision _vm_contextp__->timeunit(-9); _vm_contextp__->timeprecision(-12); // Setup each module's pointers to their submodules // Setup each module's pointer back to symbol table (for public functions) TOP.__Vconfigure(true); // Setup scopes __Vscope_TOP.configure(this, name(), "TOP", "TOP", "", 0, VerilatedScope::SCOPE_OTHER); __Vscope_half_adder.configure(this, name(), "half_adder", "half_adder", "half_adder", -9, VerilatedScope::SCOPE_MODULE); // Set up scope hierarchy __Vhier.add(0, &__Vscope_half_adder); // Setup export functions for (int __Vfinal = 0; __Vfinal < 2; ++__Vfinal) { __Vscope_TOP.varInsert(__Vfinal,"a", &(TOP.a), false, VLVT_UINT8,VLVD_IN|VLVF_PUB_RW,0,0); __Vscope_TOP.varInsert(__Vfinal,"b", &(TOP.b), false, VLVT_UINT8,VLVD_IN|VLVF_PUB_RW,0,0); __Vscope_TOP.varInsert(__Vfinal,"carry", &(TOP.carry), false, VLVT_UINT8,VLVD_OUT|VLVF_PUB_RW,0,0); __Vscope_TOP.varInsert(__Vfinal,"sum", &(TOP.sum), false, VLVT_UINT8,VLVD_OUT|VLVF_PUB_RW,0,0); __Vscope_half_adder.varInsert(__Vfinal,"a", &(TOP.half_adder__DOT__a), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); __Vscope_half_adder.varInsert(__Vfinal,"b", &(TOP.half_adder__DOT__b), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); __Vscope_half_adder.varInsert(__Vfinal,"carry", &(TOP.half_adder__DOT__carry), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); __Vscope_half_adder.varInsert(__Vfinal,"sum", &(TOP.half_adder__DOT__sum), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); } }