// Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See Vj1a.h for the primary calling header

#include "Vj1a.h"
#include "Vj1a__Syms.h"

//==========

void Vj1a::eval_step() {
    VL_DEBUG_IF(VL_DBG_MSGF("+++++TOP Evaluate Vj1a::eval\n"); );
    Vj1a__Syms* __restrict vlSymsp = this->__VlSymsp;  // Setup global symbol table
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
#ifdef VL_DEBUG
    // Debug assertions
    _eval_debug_assertions();
#endif  // VL_DEBUG
    // Initialize
    if (VL_UNLIKELY(!vlSymsp->__Vm_didInit)) _eval_initial_loop(vlSymsp);
    // Evaluate till stable
    int __VclockLoop = 0;
    QData __Vchange = 1;
    do {
        VL_DEBUG_IF(VL_DBG_MSGF("+ Clock loop\n"););
        _eval(vlSymsp);
        if (VL_UNLIKELY(++__VclockLoop > 100)) {
            // About to fail, so enable debug to see what's not settling.
            // Note you must run make with OPT=-DVL_DEBUG for debug prints.
            int __Vsaved_debug = Verilated::debug();
            Verilated::debug(1);
            __Vchange = _change_request(vlSymsp);
            Verilated::debug(__Vsaved_debug);
            VL_FATAL_MT("j1a.v", 9, "",
                "Verilated model didn't converge\n"
                "- See DIDNOTCONVERGE in the Verilator manual");
        } else {
            __Vchange = _change_request(vlSymsp);
        }
    } while (VL_UNLIKELY(__Vchange));
}

void Vj1a::_eval_initial_loop(Vj1a__Syms* __restrict vlSymsp) {
    vlSymsp->__Vm_didInit = true;
    _eval_initial(vlSymsp);
    // Evaluate till stable
    int __VclockLoop = 0;
    QData __Vchange = 1;
    do {
        _eval_settle(vlSymsp);
        _eval(vlSymsp);
        if (VL_UNLIKELY(++__VclockLoop > 100)) {
            // About to fail, so enable debug to see what's not settling.
            // Note you must run make with OPT=-DVL_DEBUG for debug prints.
            int __Vsaved_debug = Verilated::debug();
            Verilated::debug(1);
            __Vchange = _change_request(vlSymsp);
            Verilated::debug(__Vsaved_debug);
            VL_FATAL_MT("j1a.v", 9, "",
                "Verilated model didn't DC converge\n"
                "- See DIDNOTCONVERGE in the Verilator manual");
        } else {
            __Vchange = _change_request(vlSymsp);
        }
    } while (VL_UNLIKELY(__Vchange));
}

VL_INLINE_OPT void Vj1a::_sequent__TOP__2(Vj1a__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_sequent__TOP__2\n"); );
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    if (vlTOPp->resetq) {
        vlTOPp->v__DOT___j1__DOT__dsp = vlTOPp->v__DOT___j1__DOT__dspN;
        vlTOPp->v__DOT___j1__DOT__rsp = vlTOPp->v__DOT___j1__DOT__rspN;
    } else {
        vlTOPp->v__DOT___j1__DOT__dsp = 0U;
        vlTOPp->v__DOT___j1__DOT__rsp = 0U;
    }
    vlTOPp->v__DOT___j1__DOT__notreboot = vlTOPp->resetq;
    vlTOPp->v__DOT___j1__DOT__pc = ((IData)(vlTOPp->resetq)
                                     ? (IData)(vlTOPp->v__DOT___j1__DOT__pcN)
                                     : 0U);
}

VL_INLINE_OPT void Vj1a::_sequent__TOP__3(Vj1a__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_sequent__TOP__3\n"); );
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Variables
    CData/*0:0*/ __Vdlyvset__v__DOT___j1__DOT__mem__v0;
    SData/*12:0*/ __Vdlyvdim0__v__DOT___j1__DOT__mem__v0;
    SData/*15:0*/ __Vdlyvval__v__DOT___j1__DOT__mem__v0;
    WData/*511:0*/ __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[16];
    WData/*511:0*/ __Vtemp2[16];
    WData/*511:0*/ __Vtemp19[16];
    WData/*511:0*/ __Vtemp56[16];
    WData/*511:0*/ __Vtemp74[16];
    // Body
    __Vdlyvset__v__DOT___j1__DOT__mem__v0 = 0U;
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[1U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[2U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[3U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[4U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[5U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[6U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[7U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[8U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[9U] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU];
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
        = vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU];
    if (((IData)(vlTOPp->v__DOT__io_wr) & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                           >> 5U))) {
        vlTOPp->v__DOT__portb_out = (0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
    }
    if (((IData)(vlTOPp->v__DOT__io_wr) & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                           >> 0xaU))) {
        vlTOPp->v__DOT__portc_dir = (0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
    }
    if (((IData)(vlTOPp->v__DOT__io_wr) & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                           >> 2U))) {
        vlTOPp->v__DOT__porta_dir = (0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
    }
    if (((IData)(vlTOPp->v__DOT__io_wr) & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                           >> 9U))) {
        vlTOPp->v__DOT__portc_out = (0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
    }
    if (((IData)(vlTOPp->v__DOT__io_wr) & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                           >> 6U))) {
        vlTOPp->v__DOT__portb_dir = (0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
    }
    if (((IData)(vlTOPp->v__DOT__io_wr) & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                           >> 1U))) {
        vlTOPp->v__DOT__porta_out = (0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
    }
    if (((IData)(vlTOPp->v__DOT___j1__DOT__is_alu) 
         & (3U == (7U & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                         >> 4U))))) {
        __Vdlyvval__v__DOT___j1__DOT__mem__v0 = (0xffffU 
                                                 & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
        __Vdlyvset__v__DOT___j1__DOT__mem__v0 = 1U;
        __Vdlyvdim0__v__DOT___j1__DOT__mem__v0 = (0x1fffU 
                                                  & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                     >> 1U));
    }
    if ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))) {
        __Vtemp19[1U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U]);
        __Vtemp19[2U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U]);
        __Vtemp19[3U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U]);
        __Vtemp19[4U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U]);
        __Vtemp19[5U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U]);
        __Vtemp19[6U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U]);
        __Vtemp19[7U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U]);
        __Vtemp19[8U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U]);
        __Vtemp19[9U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                               << 0x10U)))
                          : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U]);
        __Vtemp19[0xaU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                                 << 0x10U)))
                            : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU]);
        __Vtemp19[0xbU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                                 << 0x10U)))
                            : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU]);
        __Vtemp19[0xcU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                                 << 0x10U)))
                            : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU]);
        __Vtemp19[0xdU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                                 << 0x10U)))
                            : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU]);
        __Vtemp19[0xeU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU] 
                                                 << 0x10U)))
                            : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU]);
    } else {
        __Vtemp19[1U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U])));
        __Vtemp19[2U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U])));
        __Vtemp19[3U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U])));
        __Vtemp19[4U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U])));
        __Vtemp19[5U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U])));
        __Vtemp19[6U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U])));
        __Vtemp19[7U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U])));
        __Vtemp19[8U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U])));
        __Vtemp19[9U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U])));
        __Vtemp19[0xaU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU])));
        __Vtemp19[0xbU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU])));
        __Vtemp19[0xcU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU])));
        __Vtemp19[0xdU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU])));
        __Vtemp19[0xeU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU])));
    }
    if (((8U != (8U & (((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
                        << 3U) | (7U & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                        >> 0xdU))))) 
         & ((2U == (((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
                     << 3U) | (7U & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                     >> 0xdU)))) | 
            ((3U == (((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
                      << 3U) | (7U & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                      >> 0xdU)))) & 
             (2U == (7U & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                           >> 4U))))))) {
        __Vtemp2[0U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                                << 0x10U)) 
                                | (IData)(vlTOPp->v__DOT___j1__DOT__rstkD))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U] 
                                                << 0x10U)) 
                                | (IData)(vlTOPp->v__DOT___j1__DOT__rstkD))
                             : ((0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U]) 
                                | (IData)(vlTOPp->v__DOT___j1__DOT__rstkD))));
        __Vtemp2[1U] = __Vtemp19[1U];
        __Vtemp2[2U] = __Vtemp19[2U];
        __Vtemp2[3U] = __Vtemp19[3U];
        __Vtemp2[4U] = __Vtemp19[4U];
        __Vtemp2[5U] = __Vtemp19[5U];
        __Vtemp2[6U] = __Vtemp19[6U];
        __Vtemp2[7U] = __Vtemp19[7U];
        __Vtemp2[8U] = __Vtemp19[8U];
        __Vtemp2[9U] = __Vtemp19[9U];
        __Vtemp2[0xaU] = __Vtemp19[0xaU];
        __Vtemp2[0xbU] = __Vtemp19[0xbU];
        __Vtemp2[0xcU] = __Vtemp19[0xcU];
        __Vtemp2[0xdU] = __Vtemp19[0xdU];
        __Vtemp2[0xeU] = __Vtemp19[0xeU];
        __Vtemp2[0xfU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                           ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? (0x55aa0000U | (0xffffU 
                                                 & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU] 
                                                    >> 0x10U)))
                               : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU])
                           : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                              >> 0x10U)) 
                                  | (0xffff0000U & 
                                     (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU] 
                                      << 0x10U))) : 
                              ((0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU]))));
    } else {
        __Vtemp2[0U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U] 
                                                << 0x10U)) 
                                | (0xffffU & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U]))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U]));
        __Vtemp2[1U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U]));
        __Vtemp2[2U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U]));
        __Vtemp2[3U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U]));
        __Vtemp2[4U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U]));
        __Vtemp2[5U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U]));
        __Vtemp2[6U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U]));
        __Vtemp2[7U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U]));
        __Vtemp2[8U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U]));
        __Vtemp2[9U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                         ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                 << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                              >> 0x10U))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U])
                         : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                             ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
                                            >> 0x10U)) 
                                | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                                  << 0x10U)))
                             : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U]));
        __Vtemp2[0xaU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                           ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                   << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                                >> 0x10U))
                               : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU])
                           : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
                                              >> 0x10U)) 
                                  | (0xffff0000U & 
                                     (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                      << 0x10U))) : 
                              vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU]));
        __Vtemp2[0xbU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                           ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                   << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                                >> 0x10U))
                               : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU])
                           : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
                                              >> 0x10U)) 
                                  | (0xffff0000U & 
                                     (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                      << 0x10U))) : 
                              vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU]));
        __Vtemp2[0xcU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                           ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                   << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                                >> 0x10U))
                               : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU])
                           : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
                                              >> 0x10U)) 
                                  | (0xffff0000U & 
                                     (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                      << 0x10U))) : 
                              vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU]));
        __Vtemp2[0xdU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                           ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                   << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                                >> 0x10U))
                               : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU])
                           : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
                                              >> 0x10U)) 
                                  | (0xffff0000U & 
                                     (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                      << 0x10U))) : 
                              vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU]));
        __Vtemp2[0xeU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                           ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU] 
                                   << 0x10U) | (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                                >> 0x10U))
                               : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU])
                           : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
                                              >> 0x10U)) 
                                  | (0xffff0000U & 
                                     (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                      << 0x10U))) : 
                              vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU]));
        __Vtemp2[0xfU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                           ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? (0x55aa0000U | (0xffffU 
                                                 & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU] 
                                                    >> 0x10U)))
                               : vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU])
                           : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__rspI))
                               ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
                                              >> 0x10U)) 
                                  | (0xffff0000U & 
                                     (vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU] 
                                      << 0x10U))) : 
                              vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU]));
    }
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U] 
        = __Vtemp2[0U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[1U] 
        = __Vtemp2[1U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[2U] 
        = __Vtemp2[2U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[3U] 
        = __Vtemp2[3U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[4U] 
        = __Vtemp2[4U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[5U] 
        = __Vtemp2[5U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[6U] 
        = __Vtemp2[6U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[7U] 
        = __Vtemp2[7U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[8U] 
        = __Vtemp2[8U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[9U] 
        = __Vtemp2[9U];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xaU] 
        = __Vtemp2[0xaU];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xbU] 
        = __Vtemp2[0xbU];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xcU] 
        = __Vtemp2[0xcU];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xdU] 
        = __Vtemp2[0xdU];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xeU] 
        = __Vtemp2[0xeU];
    vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0xfU] 
        = __Vtemp2[0xfU];
    if ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))) {
        __Vtemp56[1U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U])));
        __Vtemp56[2U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U])));
        __Vtemp56[3U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U])));
        __Vtemp56[4U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U])));
        __Vtemp56[5U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U])));
        __Vtemp56[6U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U])));
        __Vtemp56[7U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U])));
        __Vtemp56[8U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U])));
        __Vtemp56[9U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU])));
        __Vtemp56[0xaU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU])));
        __Vtemp56[0xbU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU])));
        __Vtemp56[0xcU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU])));
        __Vtemp56[0xdU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU])));
        __Vtemp56[0xeU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU])));
    } else {
        __Vtemp56[1U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U])));
        __Vtemp56[2U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U])));
        __Vtemp56[3U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U])));
        __Vtemp56[4U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U])));
        __Vtemp56[5U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U])));
        __Vtemp56[6U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U])));
        __Vtemp56[7U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U])));
        __Vtemp56[8U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U])));
        __Vtemp56[9U] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                                         >> 0x10U)) 
                             | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                                               << 0x10U)))
                          : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U]) 
                             | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U])));
        __Vtemp56[0xaU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU])));
        __Vtemp56[0xbU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU])));
        __Vtemp56[0xcU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU])));
        __Vtemp56[0xdU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU])));
        __Vtemp56[0xeU] = ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                                           >> 0x10U)) 
                               | (0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                                                 << 0x10U)))
                            : ((0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU]) 
                               | (0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU])));
    }
    if ((1U & ((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
               | (((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                   >> 0xfU) | (((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                >> 0xeU) & (((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                             >> 0xdU) 
                                            & (1U == 
                                               (7U 
                                                & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                   >> 4U))))))))) {
        __Vtemp74[0U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                              ? ((0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                                 << 0x10U)) 
                                 | (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                              : ((0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U]) 
                                 | (IData)(vlTOPp->v__DOT___j1__DOT__st0)))
                          : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                              ? ((0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                                 << 0x10U)) 
                                 | (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                              : ((0xffff0000U & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]) 
                                 | (IData)(vlTOPp->v__DOT___j1__DOT__st0))));
        __Vtemp74[0xfU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                                ? (0x55aa0000U | (0xffffU 
                                                  & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
                                                     >> 0x10U)))
                                : 0x55aa55aaU) : ((1U 
                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                                                   ? 
                                                  ((0xffffU 
                                                    & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                                                       >> 0x10U)) 
                                                   | (0xffff0000U 
                                                      & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
                                                         << 0x10U)))
                                                   : 
                                                  ((0xffffU 
                                                    & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU]) 
                                                   | (0xffff0000U 
                                                      & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU]))));
    } else {
        __Vtemp74[0U] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                          ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                              ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                  << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                               >> 0x10U))
                              : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U])
                          : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                              ? ((0xffff0000U & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                                 << 0x10U)) 
                                 | (0xffffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]))
                              : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]));
        __Vtemp74[0xfU] = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                            ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                                ? (0x55aa0000U | (0xffffU 
                                                  & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
                                                     >> 0x10U)))
                                : 0x55aa55aaU) : ((1U 
                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                                                   ? 
                                                  ((0xffffU 
                                                    & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                                                       >> 0x10U)) 
                                                   | (0xffff0000U 
                                                      & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
                                                         << 0x10U)))
                                                   : 
                                                  vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU]));
    }
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0U] 
        = __Vtemp74[0U];
    if ((1U & ((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
               | (((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                   >> 0xfU) | (((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                >> 0xeU) & (((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                             >> 0xdU) 
                                            & (1U == 
                                               (7U 
                                                & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                   >> 4U))))))))) {
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[1U] 
            = __Vtemp56[1U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[2U] 
            = __Vtemp56[2U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[3U] 
            = __Vtemp56[3U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[4U] 
            = __Vtemp56[4U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[5U] 
            = __Vtemp56[5U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[6U] 
            = __Vtemp56[6U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[7U] 
            = __Vtemp56[7U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[8U] 
            = __Vtemp56[8U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[9U] 
            = __Vtemp56[9U];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
            = __Vtemp56[0xaU];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
            = __Vtemp56[0xbU];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
            = __Vtemp56[0xcU];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
            = __Vtemp56[0xdU];
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
            = __Vtemp56[0xeU];
    } else {
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[1U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[2U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[3U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[4U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[5U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[6U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[7U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[8U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[9U] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU]));
        __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
            = ((2U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                ? ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
                        << 0x10U) | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                                     >> 0x10U)) : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU])
                : ((1U & (IData)(vlTOPp->v__DOT___j1__DOT__dspI))
                    ? ((0xffffU & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
                                   >> 0x10U)) | (0xffff0000U 
                                                 & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
                                                    << 0x10U)))
                    : vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU]));
    }
    __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
        = __Vtemp74[0xfU];
    vlTOPp->v__DOT___j1__DOT__insn_from_memory = vlTOPp->v__DOT___j1__DOT__mem
        [(0x1fffU & ((IData)(vlTOPp->v__DOT___j1__DOT__pcN) 
                     >> 1U))];
    vlTOPp->v__DOT__interrupt = (1U & (((IData)(1U) 
                                        + (IData)(vlTOPp->v__DOT__ticks)) 
                                       >> 0x10U));
    if (__Vdlyvset__v__DOT___j1__DOT__mem__v0) {
        vlTOPp->v__DOT___j1__DOT__mem[__Vdlyvdim0__v__DOT___j1__DOT__mem__v0] 
            = __Vdlyvval__v__DOT___j1__DOT__mem__v0;
    }
    vlTOPp->v__DOT__ticks = (0xffffU & (((IData)(vlTOPp->v__DOT__io_wr) 
                                         & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                            >> 0xeU))
                                         ? vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]
                                         : vlTOPp->v__DOT__ticks_plus_1));
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[1U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[2U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[2U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[3U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[3U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[4U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[4U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[5U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[5U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[6U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[6U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[7U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[7U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[8U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[8U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[9U] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[9U];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xaU] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xaU];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xbU] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xbU];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xcU] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xcU];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xdU] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xdU];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xeU] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xeU];
    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0xfU] 
        = __Vdly__v__DOT___j1__DOT__dstack__DOT__stack[0xfU];
    vlTOPp->v__DOT__ticks_plus_1 = (0x1ffffU & ((IData)(1U) 
                                                + (IData)(vlTOPp->v__DOT__ticks)));
    vlTOPp->uart_w = (0xffU & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]);
}

VL_INLINE_OPT void Vj1a::_sequent__TOP__5(Vj1a__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_sequent__TOP__5\n"); );
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    vlTOPp->v__DOT___j1__DOT__interrupt = ((IData)(vlTOPp->v__DOT__interrupt) 
                                           & (IData)(vlTOPp->v__DOT___j1__DOT__pc));
    vlTOPp->v__DOT___j1__DOT__pc_plus_2 = (0xffffU 
                                           & (((IData)(vlTOPp->v__DOT___j1__DOT__pc) 
                                               + (2U 
                                                  & ((~ (IData)(vlTOPp->v__DOT___j1__DOT__interrupt)) 
                                                     << 1U))) 
                                              | ((IData)(vlTOPp->v__DOT___j1__DOT__interrupt) 
                                                 << 0xfU)));
    vlTOPp->v__DOT___j1__DOT__fetch = (1U & (((IData)(vlTOPp->v__DOT___j1__DOT__pc) 
                                              >> 0xeU) 
                                             & (~ (IData)(vlTOPp->v__DOT___j1__DOT__interrupt))));
    vlTOPp->v__DOT___j1__DOT__insn = ((IData)(vlTOPp->v__DOT___j1__DOT__interrupt)
                                       ? 0x5fffU : (IData)(vlTOPp->v__DOT___j1__DOT__insn_from_memory));
    vlTOPp->v__DOT___j1__DOT__st0 = ((IData)(vlTOPp->resetq)
                                      ? (IData)(vlTOPp->v__DOT___j1__DOT__st0N)
                                      : 0U);
    vlTOPp->v__DOT___j1__DOT__rspI = ((8U == (8U & 
                                              (((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
                                                << 3U) 
                                               | (7U 
                                                  & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                     >> 0xdU)))))
                                       ? 3U : ((2U 
                                                == 
                                                (((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
                                                  << 3U) 
                                                 | (7U 
                                                    & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                       >> 0xdU))))
                                                ? 1U
                                                : (
                                                   (3U 
                                                    == 
                                                    (((IData)(vlTOPp->v__DOT___j1__DOT__fetch) 
                                                      << 3U) 
                                                     | (7U 
                                                        & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                           >> 0xdU))))
                                                    ? 
                                                   (3U 
                                                    & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                       >> 2U))
                                                    : 0U)));
    vlTOPp->v__DOT___j1__DOT__rspN = (0x1fU & ((IData)(vlTOPp->v__DOT___j1__DOT__rsp) 
                                               + ((0x10U 
                                                   & ((IData)(vlTOPp->v__DOT___j1__DOT__rspI) 
                                                      << 3U)) 
                                                  | ((8U 
                                                      & ((IData)(vlTOPp->v__DOT___j1__DOT__rspI) 
                                                         << 2U)) 
                                                     | ((4U 
                                                         & ((IData)(vlTOPp->v__DOT___j1__DOT__rspI) 
                                                            << 1U)) 
                                                        | (IData)(vlTOPp->v__DOT___j1__DOT__rspI))))));
    vlTOPp->v__DOT___j1__DOT__dspI = ((IData)(vlTOPp->v__DOT___j1__DOT__fetch)
                                       ? 1U : ((0x8000U 
                                                & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                ? 1U
                                                : (3U 
                                                   & ((0x4000U 
                                                       & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                       ? 
                                                      ((0x2000U 
                                                        & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                        ? (IData)(vlTOPp->v__DOT___j1__DOT__insn)
                                                        : 0U)
                                                       : 
                                                      ((0x2000U 
                                                        & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                        ? 3U
                                                        : 0U)))));
    vlTOPp->v__DOT___j1__DOT__dspN = (0x1fU & ((IData)(vlTOPp->v__DOT___j1__DOT__dsp) 
                                               + ((0x10U 
                                                   & ((IData)(vlTOPp->v__DOT___j1__DOT__dspI) 
                                                      << 3U)) 
                                                  | ((8U 
                                                      & ((IData)(vlTOPp->v__DOT___j1__DOT__dspI) 
                                                         << 2U)) 
                                                     | ((4U 
                                                         & ((IData)(vlTOPp->v__DOT___j1__DOT__dspI) 
                                                            << 1U)) 
                                                        | (IData)(vlTOPp->v__DOT___j1__DOT__dspI))))));
    vlTOPp->v__DOT___j1__DOT__is_alu = (((IData)(vlTOPp->v__DOT___j1__DOT__notreboot) 
                                         & (~ (IData)(vlTOPp->v__DOT___j1__DOT__fetch))) 
                                        & (3U == (7U 
                                                  & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                     >> 0xdU))));
    vlTOPp->v__DOT__io_wr = ((IData)(vlTOPp->v__DOT___j1__DOT__is_alu) 
                             & (4U == (7U & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                             >> 4U))));
    vlTOPp->v__DOT___j1__DOT__eint = ((IData)(vlTOPp->v__DOT___j1__DOT__is_alu) 
                                      & (7U == (7U 
                                                & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                   >> 4U))));
    vlTOPp->v__DOT___j1__DOT__dint = ((IData)(vlTOPp->v__DOT___j1__DOT__is_alu) 
                                      & (6U == (7U 
                                                & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                   >> 4U))));
    vlTOPp->uart0_rd = (((IData)(vlTOPp->v__DOT___j1__DOT__is_alu) 
                         & (5U == (7U & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                         >> 4U)))) 
                        & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                           >> 0xcU));
    vlTOPp->v__DOT___j1__DOT__rstkD = ((0x2000U & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                        ? (IData)(vlTOPp->v__DOT___j1__DOT__st0)
                                        : (IData)(vlTOPp->v__DOT___j1__DOT__pc_plus_2));
    vlTOPp->v__DOT___j1__DOT__minus = (0x1ffffU & ((IData)(1U) 
                                                   + 
                                                   ((0x10000U 
                                                     | (0xffffU 
                                                        & (~ (IData)(vlTOPp->v__DOT___j1__DOT__st0)))) 
                                                    + 
                                                    (0xffffU 
                                                     & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]))));
    vlTOPp->v__DOT___j1__DOT__umstar = ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                        * (0xffffU 
                                           & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]));
    vlTOPp->uart0_wr = ((IData)(vlTOPp->v__DOT__io_wr) 
                        & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                           >> 0xcU));
    vlTOPp->v__DOT___j1__DOT__interrupt_enableN = (1U 
                                                   & (((IData)(vlTOPp->v__DOT___j1__DOT__pc) 
                                                       | (IData)(vlTOPp->v__DOT___j1__DOT__eint)) 
                                                      & (~ 
                                                         ((IData)(vlTOPp->v__DOT___j1__DOT__dint) 
                                                          | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt)))));
    vlTOPp->v__DOT___j1__DOT__interrupt_enableN_return 
        = (1U & ((((vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U] 
                    >> 0xfU) | (IData)(vlTOPp->v__DOT___j1__DOT__pc)) 
                  | (IData)(vlTOPp->v__DOT___j1__DOT__eint)) 
                 & (~ ((IData)(vlTOPp->v__DOT___j1__DOT__dint) 
                       | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt)))));
    vlTOPp->v__DOT___j1__DOT__pcN = ((IData)(vlTOPp->v__DOT___j1__DOT__notreboot)
                                      ? ((IData)(vlTOPp->v__DOT___j1__DOT__fetch)
                                          ? ((0x7ffeU 
                                              & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U]) 
                                             | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN_return))
                                          : ((0x8000U 
                                              & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                              ? ((0xfffeU 
                                                  & (IData)(vlTOPp->v__DOT___j1__DOT__pc_plus_2)) 
                                                 | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN))
                                              : ((0x4000U 
                                                  & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                  ? 
                                                 ((0x2000U 
                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                   ? 
                                                  ((0x80U 
                                                    & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                    ? 
                                                   ((0x7ffeU 
                                                     & vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U]) 
                                                    | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN_return))
                                                    : 
                                                   ((0xfffeU 
                                                     & (IData)(vlTOPp->v__DOT___j1__DOT__pc_plus_2)) 
                                                    | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN)))
                                                   : 
                                                  ((0x3ffeU 
                                                    & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                       << 1U)) 
                                                   | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN)))
                                                  : 
                                                 ((0x2000U 
                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                   ? 
                                                  ((0U 
                                                    != (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                    ? 
                                                   ((0xfffeU 
                                                     & (IData)(vlTOPp->v__DOT___j1__DOT__pc_plus_2)) 
                                                    | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN))
                                                    : 
                                                   ((0x3ffeU 
                                                     & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                        << 1U)) 
                                                    | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN)))
                                                   : 
                                                  ((0x3ffeU 
                                                    & ((IData)(vlTOPp->v__DOT___j1__DOT__insn) 
                                                       << 1U)) 
                                                   | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN))))))
                                      : ((IData)(vlTOPp->v__DOT___j1__DOT__fetch)
                                          ? ((0xfffeU 
                                              & (IData)(vlTOPp->v__DOT___j1__DOT__pc_plus_2)) 
                                             | (IData)(vlTOPp->v__DOT___j1__DOT__interrupt_enableN))
                                          : 0U));
}

VL_INLINE_OPT void Vj1a::_combo__TOP__6(Vj1a__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_combo__TOP__6\n"); );
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    vlTOPp->v__DOT___j1__DOT__st0N = (0xffffU & ((IData)(vlTOPp->v__DOT___j1__DOT__fetch)
                                                  ? (IData)(vlTOPp->v__DOT___j1__DOT__insn)
                                                  : 
                                                 ((0x8000U 
                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                   ? 
                                                  (0x7fffU 
                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                   : 
                                                  ((0x4000U 
                                                    & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                    ? 
                                                   ((0x2000U 
                                                     & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                     ? 
                                                    ((0x1000U 
                                                      & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                      ? 
                                                     ((0x800U 
                                                       & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                       ? 
                                                      ((0x400U 
                                                        & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                        ? (IData)(vlTOPp->v__DOT___j1__DOT__st0)
                                                        : 
                                                       ((0x200U 
                                                         & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                         ? (IData)(vlTOPp->v__DOT___j1__DOT__st0)
                                                         : 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? (IData)(vlTOPp->v__DOT___j1__DOT__st0)
                                                          : 
                                                         ((vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[1U] 
                                                           << 0x10U) 
                                                          | (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                                             >> 0x10U)))))
                                                       : 
                                                      ((0x400U 
                                                        & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                        ? 
                                                       ((0x200U 
                                                         & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                         ? 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                          - (IData)(1U))
                                                          : 
                                                         ((IData)(1U) 
                                                          + (IData)(vlTOPp->v__DOT___j1__DOT__st0)))
                                                         : 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         (vlTOPp->v__DOT___j1__DOT__umstar 
                                                          >> 0x10U)
                                                          : vlTOPp->v__DOT___j1__DOT__umstar))
                                                        : 
                                                       ((0x200U 
                                                         & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                         ? 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? (IData)(vlTOPp->v__DOT___j1__DOT__rsp)
                                                          : 
                                                         ((0xfU 
                                                           >= (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                           ? 
                                                          VL_SHIFTRS_III(16,16,16, 
                                                                         (0xffffU 
                                                                          & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]), (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                           : 
                                                          (- 
                                                           (1U 
                                                            & (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                                               >> 0xfU)))))
                                                         : 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         ((0xfU 
                                                           >= (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                           ? 
                                                          ((0xffffU 
                                                            & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]) 
                                                           >> (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                           : 0U)
                                                          : 
                                                         ((0xfU 
                                                           >= (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                           ? 
                                                          (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                                           << (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                           : 0U)))))
                                                      : 
                                                     ((0x800U 
                                                       & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                       ? 
                                                      ((0x400U 
                                                        & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                        ? 
                                                       ((0x200U 
                                                         & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                         ? 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         (- (IData)(
                                                                    (1U 
                                                                     & (vlTOPp->v__DOT___j1__DOT__minus 
                                                                        >> 0x10U))))
                                                          : (IData)(vlTOPp->v__DOT___j1__DOT__dsp))
                                                         : 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         ((((((((((2U 
                                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                                   ? (IData)(vlTOPp->v__DOT__porta_out)
                                                                   : 0U) 
                                                                 | ((4U 
                                                                     & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                                     ? (IData)(vlTOPp->v__DOT__porta_dir)
                                                                     : 0U)) 
                                                                | ((0x20U 
                                                                    & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                                    ? (IData)(vlTOPp->v__DOT__portb_out)
                                                                    : 0U)) 
                                                               | ((0x40U 
                                                                   & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                                   ? (IData)(vlTOPp->v__DOT__portb_dir)
                                                                   : 0U)) 
                                                              | ((0x200U 
                                                                  & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                                  ? (IData)(vlTOPp->v__DOT__portc_out)
                                                                  : 0U)) 
                                                             | ((0x400U 
                                                                 & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                                 ? (IData)(vlTOPp->v__DOT__portc_dir)
                                                                 : 0U)) 
                                                            | ((0x1000U 
                                                                & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                                ? (IData)(vlTOPp->uart0_data)
                                                                : 0U)) 
                                                           | ((0x2000U 
                                                               & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                               ? 
                                                              (((IData)(vlTOPp->uart0_valid) 
                                                                << 1U) 
                                                               | (1U 
                                                                  & (~ (IData)(vlTOPp->uart0_busy))))
                                                               : 0U)) 
                                                          | ((0x4000U 
                                                              & (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                              ? (IData)(vlTOPp->v__DOT__ticks)
                                                              : 0U))
                                                          : vlTOPp->v__DOT___j1__DOT__minus))
                                                        : 
                                                       ((0x200U 
                                                         & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                         ? 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         vlTOPp->v__DOT___j1__DOT__rstack__DOT__stack[0U]
                                                          : 
                                                         (0xfffeU 
                                                          & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                             << 1U)))
                                                         : 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         ((0x8000U 
                                                           & (IData)(vlTOPp->v__DOT___j1__DOT__st0)) 
                                                          | (0x7fffU 
                                                             & ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                                >> 1U)))
                                                          : 
                                                         (- (IData)(
                                                                    (1U 
                                                                     & ((1U 
                                                                         & (((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                                             >> 0xfU) 
                                                                            ^ 
                                                                            (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                                                             >> 0xfU)))
                                                                         ? 
                                                                        (vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U] 
                                                                         >> 0xfU)
                                                                         : 
                                                                        (vlTOPp->v__DOT___j1__DOT__minus 
                                                                         >> 0x10U))))))))
                                                       : 
                                                      ((0x400U 
                                                        & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                        ? 
                                                       ((0x200U 
                                                         & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                         ? 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         (- (IData)(
                                                                    (0U 
                                                                     == 
                                                                     (0xffffU 
                                                                      & vlTOPp->v__DOT___j1__DOT__minus))))
                                                          : 
                                                         (~ (IData)(vlTOPp->v__DOT___j1__DOT__st0)))
                                                         : 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                          ^ 
                                                          vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U])
                                                          : 
                                                         ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                          | vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U])))
                                                        : 
                                                       ((0x200U 
                                                         & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                         ? 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                          & vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U])
                                                          : 
                                                         ((IData)(vlTOPp->v__DOT___j1__DOT__st0) 
                                                          + 
                                                          vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]))
                                                         : 
                                                        ((0x100U 
                                                          & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                          ? 
                                                         vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]
                                                          : (IData)(vlTOPp->v__DOT___j1__DOT__st0))))))
                                                     : (IData)(vlTOPp->v__DOT___j1__DOT__st0))
                                                    : 
                                                   ((0x2000U 
                                                     & (IData)(vlTOPp->v__DOT___j1__DOT__insn))
                                                     ? 
                                                    vlTOPp->v__DOT___j1__DOT__dstack__DOT__stack[0U]
                                                     : (IData)(vlTOPp->v__DOT___j1__DOT__st0))))));
}

void Vj1a::_eval(Vj1a__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_eval\n"); );
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    if ((((IData)(vlTOPp->clk) & (~ (IData)(vlTOPp->__Vclklast__TOP__clk))) 
         | ((~ (IData)(vlTOPp->resetq)) & (IData)(vlTOPp->__Vclklast__TOP__resetq)))) {
        vlTOPp->_sequent__TOP__2(vlSymsp);
    }
    if (((IData)(vlTOPp->clk) & (~ (IData)(vlTOPp->__Vclklast__TOP__clk)))) {
        vlTOPp->_sequent__TOP__3(vlSymsp);
    }
    if ((((IData)(vlTOPp->clk) & (~ (IData)(vlTOPp->__Vclklast__TOP__clk))) 
         | ((~ (IData)(vlTOPp->resetq)) & (IData)(vlTOPp->__Vclklast__TOP__resetq)))) {
        vlTOPp->_sequent__TOP__5(vlSymsp);
    }
    vlTOPp->_combo__TOP__6(vlSymsp);
    // Final
    vlTOPp->__Vclklast__TOP__clk = vlTOPp->clk;
    vlTOPp->__Vclklast__TOP__resetq = vlTOPp->resetq;
}

VL_INLINE_OPT QData Vj1a::_change_request(Vj1a__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_change_request\n"); );
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    return (vlTOPp->_change_request_1(vlSymsp));
}

VL_INLINE_OPT QData Vj1a::_change_request_1(Vj1a__Syms* __restrict vlSymsp) {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_change_request_1\n"); );
    Vj1a* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
    // Body
    // Change detection
    QData __req = false;  // Logically a bool
    return __req;
}

#ifdef VL_DEBUG
void Vj1a::_eval_debug_assertions() {
    VL_DEBUG_IF(VL_DBG_MSGF("+    Vj1a::_eval_debug_assertions\n"); );
    // Body
    if (VL_UNLIKELY((clk & 0xfeU))) {
        Verilated::overWidthError("clk");}
    if (VL_UNLIKELY((resetq & 0xfeU))) {
        Verilated::overWidthError("resetq");}
    if (VL_UNLIKELY((uart0_busy & 0xfeU))) {
        Verilated::overWidthError("uart0_busy");}
    if (VL_UNLIKELY((uart0_valid & 0xfeU))) {
        Verilated::overWidthError("uart0_valid");}
}
#endif  // VL_DEBUG
