Spaces:
Sleeping
Sleeping
File size: 3,370 Bytes
adceaef | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | // 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_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);
}
}
|