Spaces:
Sleeping
Sleeping
| // Verilated -*- C++ -*- | |
| // DESCRIPTION: Verilator output: Symbol table implementation internals | |
| // FUNCTIONS | |
| Vtop__Syms::~Vtop__Syms() | |
| { | |
| // Tear down scope hierarchy | |
| __Vhier.remove(0, &__Vscope_moore_ol); | |
| } | |
| 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(31); | |
| // 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", "<null>", 0, VerilatedScope::SCOPE_OTHER); | |
| __Vscope_moore_ol.configure(this, name(), "moore_ol", "moore_ol", "moore_ol", -9, VerilatedScope::SCOPE_MODULE); | |
| // Set up scope hierarchy | |
| __Vhier.add(0, &__Vscope_moore_ol); | |
| // Setup export functions | |
| for (int __Vfinal = 0; __Vfinal < 2; ++__Vfinal) { | |
| __Vscope_TOP.varInsert(__Vfinal,"clk", &(TOP.clk), false, VLVT_UINT8,VLVD_IN|VLVF_PUB_RW,0,0); | |
| __Vscope_TOP.varInsert(__Vfinal,"inp", &(TOP.inp), false, VLVT_UINT8,VLVD_IN|VLVF_PUB_RW,0,0); | |
| __Vscope_TOP.varInsert(__Vfinal,"out", &(TOP.out), false, VLVT_UINT8,VLVD_OUT|VLVF_PUB_RW,0,0); | |
| __Vscope_TOP.varInsert(__Vfinal,"reset", &(TOP.reset), false, VLVT_UINT8,VLVD_IN|VLVF_PUB_RW,0,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"S0", const_cast<void*>(static_cast<const void*>(&(TOP.moore_ol__DOT__S0))), true, VLVT_UINT32,VLVD_NODIR|VLVF_PUB_RW,0,1 ,31,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"S1", const_cast<void*>(static_cast<const void*>(&(TOP.moore_ol__DOT__S1))), true, VLVT_UINT32,VLVD_NODIR|VLVF_PUB_RW,0,1 ,31,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"S2", const_cast<void*>(static_cast<const void*>(&(TOP.moore_ol__DOT__S2))), true, VLVT_UINT32,VLVD_NODIR|VLVF_PUB_RW,0,1 ,31,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"S3", const_cast<void*>(static_cast<const void*>(&(TOP.moore_ol__DOT__S3))), true, VLVT_UINT32,VLVD_NODIR|VLVF_PUB_RW,0,1 ,31,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"S4", const_cast<void*>(static_cast<const void*>(&(TOP.moore_ol__DOT__S4))), true, VLVT_UINT32,VLVD_NODIR|VLVF_PUB_RW,0,1 ,31,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"clk", &(TOP.moore_ol__DOT__clk), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"inp", &(TOP.moore_ol__DOT__inp), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"next_state", &(TOP.moore_ol__DOT__next_state), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,1 ,2,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"out", &(TOP.moore_ol__DOT__out), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"present_state", &(TOP.moore_ol__DOT__present_state), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,1 ,2,0); | |
| __Vscope_moore_ol.varInsert(__Vfinal,"reset", &(TOP.moore_ol__DOT__reset), false, VLVT_UINT8,VLVD_NODIR|VLVF_PUB_RW,0,0); | |
| } | |
| } | |