diff options
author | joshua <joshua@joshuayun.com> | 2022-05-16 11:00:23 -0400 |
---|---|---|
committer | joshua <joshua@joshuayun.com> | 2022-05-16 11:00:23 -0400 |
commit | 7a8afb2b6659f88881139fcbcb02de5476952152 (patch) | |
tree | 446ca228be5746e0b6af24f44072a42289c13899 /verilog/alu/obj_dir | |
parent | b8936029065835366e9e057a219c0c5194db8662 (diff) | |
download | riscv-processor-inorder-7a8afb2b6659f88881139fcbcb02de5476952152.tar.gz |
Yes
Diffstat (limited to 'verilog/alu/obj_dir')
25 files changed, 0 insertions, 782 deletions
diff --git a/verilog/alu/obj_dir/Valu b/verilog/alu/obj_dir/Valu Binary files differdeleted file mode 100755 index de4fc59..0000000 --- a/verilog/alu/obj_dir/Valu +++ /dev/null diff --git a/verilog/alu/obj_dir/Valu.cpp b/verilog/alu/obj_dir/Valu.cpp deleted file mode 100644 index 7d020e4..0000000 --- a/verilog/alu/obj_dir/Valu.cpp +++ /dev/null @@ -1,118 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Model implementation (design independent parts) - -#include "Valu.h" -#include "Valu__Syms.h" -#include "verilated_vcd_c.h" - -//============================================================ -// Constructors - -Valu::Valu(VerilatedContext* _vcontextp__, const char* _vcname__) - : vlSymsp{new Valu__Syms(_vcontextp__, _vcname__, this)} - , op{vlSymsp->TOP.op} - , in1{vlSymsp->TOP.in1} - , in2{vlSymsp->TOP.in2} - , out{vlSymsp->TOP.out} - , rootp{&(vlSymsp->TOP)} -{ -} - -Valu::Valu(const char* _vcname__) - : Valu(nullptr, _vcname__) -{ -} - -//============================================================ -// Destructor - -Valu::~Valu() { - delete vlSymsp; -} - -//============================================================ -// Evaluation loop - -void Valu___024root___eval_initial(Valu___024root* vlSelf); -void Valu___024root___eval_settle(Valu___024root* vlSelf); -void Valu___024root___eval(Valu___024root* vlSelf); -#ifdef VL_DEBUG -void Valu___024root___eval_debug_assertions(Valu___024root* vlSelf); -#endif // VL_DEBUG -void Valu___024root___final(Valu___024root* vlSelf); - -static void _eval_initial_loop(Valu__Syms* __restrict vlSymsp) { - vlSymsp->__Vm_didInit = true; - Valu___024root___eval_initial(&(vlSymsp->TOP)); - // Evaluate till stable - vlSymsp->__Vm_activity = true; - do { - VL_DEBUG_IF(VL_DBG_MSGF("+ Initial loop\n");); - Valu___024root___eval_settle(&(vlSymsp->TOP)); - Valu___024root___eval(&(vlSymsp->TOP)); - } while (0); -} - -void Valu::eval_step() { - VL_DEBUG_IF(VL_DBG_MSGF("+++++TOP Evaluate Valu::eval_step\n"); ); -#ifdef VL_DEBUG - // Debug assertions - Valu___024root___eval_debug_assertions(&(vlSymsp->TOP)); -#endif // VL_DEBUG - // Initialize - if (VL_UNLIKELY(!vlSymsp->__Vm_didInit)) _eval_initial_loop(vlSymsp); - // Evaluate till stable - vlSymsp->__Vm_activity = true; - do { - VL_DEBUG_IF(VL_DBG_MSGF("+ Clock loop\n");); - Valu___024root___eval(&(vlSymsp->TOP)); - } while (0); - // Evaluate cleanup -} - -//============================================================ -// Utilities - -VerilatedContext* Valu::contextp() const { - return vlSymsp->_vm_contextp__; -} - -const char* Valu::name() const { - return vlSymsp->name(); -} - -//============================================================ -// Invoke final blocks - -VL_ATTR_COLD void Valu::final() { - Valu___024root___final(&(vlSymsp->TOP)); -} - -//============================================================ -// Trace configuration - -void Valu___024root__trace_init_top(Valu___024root* vlSelf, VerilatedVcd* tracep); - -VL_ATTR_COLD static void trace_init(void* voidSelf, VerilatedVcd* tracep, uint32_t code) { - // Callback from tracep->open() - Valu___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast<Valu___024root*>(voidSelf); - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - if (!vlSymsp->_vm_contextp__->calcUnusedSigs()) { - VL_FATAL_MT(__FILE__, __LINE__, __FILE__, - "Turning on wave traces requires Verilated::traceEverOn(true) call before time 0."); - } - vlSymsp->__Vm_baseCode = code; - tracep->scopeEscape(' '); - tracep->pushNamePrefix(std::string{vlSymsp->name()} + ' '); - Valu___024root__trace_init_top(vlSelf, tracep); - tracep->popNamePrefix(); - tracep->scopeEscape('.'); -} - -VL_ATTR_COLD void Valu___024root__trace_register(Valu___024root* vlSelf, VerilatedVcd* tracep); - -VL_ATTR_COLD void Valu::trace(VerilatedVcdC* tfp, int levels, int options) { - if (false && levels && options) {} // Prevent unused - tfp->spTrace()->addInitCb(&trace_init, &(vlSymsp->TOP)); - Valu___024root__trace_register(&(vlSymsp->TOP), tfp->spTrace()); -} diff --git a/verilog/alu/obj_dir/Valu.h b/verilog/alu/obj_dir/Valu.h deleted file mode 100644 index 57738b5..0000000 --- a/verilog/alu/obj_dir/Valu.h +++ /dev/null @@ -1,73 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Primary model header -// -// This header should be included by all source files instantiating the design. -// The class here is then constructed to instantiate the design. -// See the Verilator manual for examples. - -#ifndef VERILATED_VALU_H_ -#define VERILATED_VALU_H_ // guard - -#include "verilated.h" - -class Valu__Syms; -class Valu___024root; -class VerilatedVcdC; - -// This class is the main interface to the Verilated model -class Valu VL_NOT_FINAL { - private: - // Symbol table holding complete model state (owned by this class) - Valu__Syms* const vlSymsp; - - public: - - // PORTS - // The application code writes and reads these signals to - // propagate new values into/out from the Verilated model. - VL_IN8(&op,3,0); - VL_IN(&in1,31,0); - VL_IN(&in2,31,0); - VL_OUT(&out,31,0); - - // CELLS - // Public to allow access to /* verilator public */ items. - // Otherwise the application code can consider these internals. - - // Root instance pointer to allow access to model internals, - // including inlined /* verilator public_flat_* */ items. - Valu___024root* const rootp; - - // CONSTRUCTORS - /// Construct the model; called by application code - /// If contextp is null, then the model will use the default global context - /// If name is "", then makes a wrapper with a - /// single model invisible with respect to DPI scope names. - explicit Valu(VerilatedContext* contextp, const char* name = "TOP"); - explicit Valu(const char* name = "TOP"); - /// Destroy the model; called (often implicitly) by application code - virtual ~Valu(); - private: - VL_UNCOPYABLE(Valu); ///< Copying not allowed - - public: - // API METHODS - /// Evaluate the model. Application must call when inputs change. - void eval() { eval_step(); } - /// Evaluate when calling multiple units/models per time step. - void eval_step(); - /// Evaluate at end of a timestep for tracing, when using eval_step(). - /// Application must call after all eval() and before time changes. - void eval_end_step() {} - /// Simulation complete, run final blocks. Application must call on completion. - void final(); - /// Trace signals in the model; called by application code - void trace(VerilatedVcdC* tfp, int levels, int options = 0); - /// Return current simulation context for this model. - /// Used to get to e.g. simulation time via contextp()->time() - VerilatedContext* contextp() const; - /// Retrieve name of this model instance (as passed to constructor). - const char* name() const; -} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES); - -#endif // guard diff --git a/verilog/alu/obj_dir/Valu.mk b/verilog/alu/obj_dir/Valu.mk deleted file mode 100644 index 15a2c2f..0000000 --- a/verilog/alu/obj_dir/Valu.mk +++ /dev/null @@ -1,68 +0,0 @@ -# Verilated -*- Makefile -*- -# DESCRIPTION: Verilator output: Makefile for building Verilated archive or executable -# -# Execute this makefile from the object directory: -# make -f Valu.mk - -default: Valu - -### Constants... -# Perl executable (from $PERL) -PERL = perl -# Path to Verilator kit (from $VERILATOR_ROOT) -VERILATOR_ROOT = /usr/share/verilator -# SystemC include directory with systemc.h (from $SYSTEMC_INCLUDE) -SYSTEMC_INCLUDE ?= -# SystemC library directory with libsystemc.a (from $SYSTEMC_LIBDIR) -SYSTEMC_LIBDIR ?= - -### Switches... -# C++ code coverage 0/1 (from --prof-c) -VM_PROFC = 0 -# SystemC output mode? 0/1 (from --sc) -VM_SC = 0 -# Legacy or SystemC output mode? 0/1 (from --sc) -VM_SP_OR_SC = $(VM_SC) -# Deprecated -VM_PCLI = 1 -# Deprecated: SystemC architecture to find link library path (from $SYSTEMC_ARCH) -VM_SC_TARGET_ARCH = linux - -### Vars... -# Design prefix (from --prefix) -VM_PREFIX = Valu -# Module prefix (from --prefix) -VM_MODPREFIX = Valu -# User CFLAGS (from -CFLAGS on Verilator command line) -VM_USER_CFLAGS = \ - -# User LDLIBS (from -LDFLAGS on Verilator command line) -VM_USER_LDLIBS = \ - -# User .cpp files (from .cpp's on Verilator command line) -VM_USER_CLASSES = \ - tbalu \ - -# User .cpp directories (from .cpp's on Verilator command line) -VM_USER_DIR = \ - . \ - - -### Default rules... -# Include list of all generated classes -include Valu_classes.mk -# Include global rules -include $(VERILATOR_ROOT)/include/verilated.mk - -### Executable rules... (from --exe) -VPATH += $(VM_USER_DIR) - -tbalu.o: tbalu.cpp - $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_FAST) -c -o $@ $< - -### Link rules... (from --exe) -Valu: $(VK_USER_OBJS) $(VK_GLOBAL_OBJS) $(VM_PREFIX)__ALL.a $(VM_HIER_LIBS) - $(LINK) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) $(LIBS) $(SC_LIBS) -o $@ - - -# Verilated -*- Makefile -*- diff --git a/verilog/alu/obj_dir/Valu__ALL.a b/verilog/alu/obj_dir/Valu__ALL.a Binary files differdeleted file mode 100644 index 4ad5286..0000000 --- a/verilog/alu/obj_dir/Valu__ALL.a +++ /dev/null diff --git a/verilog/alu/obj_dir/Valu__ALL.cpp b/verilog/alu/obj_dir/Valu__ALL.cpp deleted file mode 100644 index ed815ee..0000000 --- a/verilog/alu/obj_dir/Valu__ALL.cpp +++ /dev/null @@ -1,9 +0,0 @@ -// DESCRIPTION: Generated by verilator_includer via makefile -#define VL_INCLUDE_OPT include -#include "Valu.cpp" -#include "Valu___024root__DepSet_ha59b247d__0.cpp" -#include "Valu__Trace__0.cpp" -#include "Valu___024root__Slow.cpp" -#include "Valu___024root__DepSet_ha59b247d__0__Slow.cpp" -#include "Valu__Syms.cpp" -#include "Valu__Trace__0__Slow.cpp" diff --git a/verilog/alu/obj_dir/Valu__ALL.d b/verilog/alu/obj_dir/Valu__ALL.d deleted file mode 100644 index 636205f..0000000 --- a/verilog/alu/obj_dir/Valu__ALL.d +++ /dev/null @@ -1,13 +0,0 @@ -Valu__ALL.o: Valu__ALL.cpp Valu.cpp Valu.h \ - /usr/share/verilator/include/verilated.h \ - /usr/share/verilator/include/verilatedos.h \ - /usr/share/verilator/include/verilated_config.h \ - /usr/share/verilator/include/verilated_types.h \ - /usr/share/verilator/include/verilated_funcs.h Valu__Syms.h \ - Valu___024root.h /usr/share/verilator/include/verilated_vcd_c.h \ - /usr/share/verilator/include/verilated.h \ - /usr/share/verilator/include/verilated_trace.h \ - /usr/share/verilator/include/verilated_trace_defs.h \ - Valu___024root__DepSet_ha59b247d__0.cpp Valu__Trace__0.cpp \ - Valu___024root__Slow.cpp Valu___024root__DepSet_ha59b247d__0__Slow.cpp \ - Valu__Syms.cpp Valu__Trace__0__Slow.cpp diff --git a/verilog/alu/obj_dir/Valu__ALL.o b/verilog/alu/obj_dir/Valu__ALL.o Binary files differdeleted file mode 100644 index 1377001..0000000 --- a/verilog/alu/obj_dir/Valu__ALL.o +++ /dev/null diff --git a/verilog/alu/obj_dir/Valu__Syms.cpp b/verilog/alu/obj_dir/Valu__Syms.cpp deleted file mode 100644 index bd9fdd1..0000000 --- a/verilog/alu/obj_dir/Valu__Syms.cpp +++ /dev/null @@ -1,26 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Symbol table implementation internals - -#include "Valu__Syms.h" -#include "Valu.h" -#include "Valu___024root.h" - -// FUNCTIONS -Valu__Syms::~Valu__Syms() -{ -} - -Valu__Syms::Valu__Syms(VerilatedContext* contextp, const char* namep,Valu* modelp) - : VerilatedSyms{contextp} - // Setup internal state of the Syms class - , __Vm_modelp{modelp} - // Setup module instances - , TOP(namep) -{ - // Configure time unit / time precision - _vm_contextp__->timeunit(-6); - _vm_contextp__->timeprecision(-9); - // Setup each module's pointers to their submodules - // Setup each module's pointer back to symbol table (for public functions) - TOP.__Vconfigure(this, true); -} diff --git a/verilog/alu/obj_dir/Valu__Syms.h b/verilog/alu/obj_dir/Valu__Syms.h deleted file mode 100644 index e69592b..0000000 --- a/verilog/alu/obj_dir/Valu__Syms.h +++ /dev/null @@ -1,39 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Symbol table internal header -// -// Internal details; most calling programs do not need this header, -// unless using verilator public meta comments. - -#ifndef VERILATED_VALU__SYMS_H_ -#define VERILATED_VALU__SYMS_H_ // guard - -#include "verilated.h" - -// INCLUDE MODEL CLASS - -#include "Valu.h" - -// INCLUDE MODULE CLASSES -#include "Valu___024root.h" - -// SYMS CLASS (contains all model state) -class Valu__Syms final : public VerilatedSyms { - public: - // INTERNAL STATE - Valu* const __Vm_modelp; - bool __Vm_activity = false; ///< Used by trace routines to determine change occurred - uint32_t __Vm_baseCode = 0; ///< Used by trace routines when tracing multiple models - bool __Vm_didInit = false; - - // MODULE INSTANCE STATE - Valu___024root TOP; - - // CONSTRUCTORS - Valu__Syms(VerilatedContext* contextp, const char* namep, Valu* modelp); - ~Valu__Syms(); - - // METHODS - const char* name() { return TOP.name(); } -} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES); - -#endif // guard diff --git a/verilog/alu/obj_dir/Valu__Trace__0.cpp b/verilog/alu/obj_dir/Valu__Trace__0.cpp deleted file mode 100644 index 4713f0f..0000000 --- a/verilog/alu/obj_dir/Valu__Trace__0.cpp +++ /dev/null @@ -1,42 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Tracing implementation internals -#include "verilated_vcd_c.h" -#include "Valu__Syms.h" - - -void Valu___024root__trace_chg_sub_0(Valu___024root* vlSelf, VerilatedVcd* tracep); - -void Valu___024root__trace_chg_top_0(void* voidSelf, VerilatedVcd* tracep) { - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_chg_top_0\n"); ); - // Init - Valu___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast<Valu___024root*>(voidSelf); - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - if (VL_UNLIKELY(!vlSymsp->__Vm_activity)) return; - // Body - Valu___024root__trace_chg_sub_0((&vlSymsp->TOP), tracep); -} - -void Valu___024root__trace_chg_sub_0(Valu___024root* vlSelf, VerilatedVcd* tracep) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_chg_sub_0\n"); ); - // Init - vluint32_t* const oldp VL_ATTR_UNUSED = tracep->oldp(vlSymsp->__Vm_baseCode + 1); - // Body - tracep->chgIData(oldp+0,(vlSelf->in1),32); - tracep->chgIData(oldp+1,(vlSelf->in2),32); - tracep->chgCData(oldp+2,(vlSelf->op),4); - tracep->chgIData(oldp+3,(vlSelf->out),32); - tracep->chgIData(oldp+4,(vlSelf->alu__DOT__result),32); -} - -void Valu___024root__trace_cleanup(void* voidSelf, VerilatedVcd* /*unused*/) { - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_cleanup\n"); ); - // Init - Valu___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast<Valu___024root*>(voidSelf); - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VlUnpacked<CData/*0:0*/, 1> __Vm_traceActivity; - // Body - vlSymsp->__Vm_activity = false; - __Vm_traceActivity[0U] = 0U; -} diff --git a/verilog/alu/obj_dir/Valu__Trace__0__Slow.cpp b/verilog/alu/obj_dir/Valu__Trace__0__Slow.cpp deleted file mode 100644 index 25d47f5..0000000 --- a/verilog/alu/obj_dir/Valu__Trace__0__Slow.cpp +++ /dev/null @@ -1,74 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Tracing implementation internals -#include "verilated_vcd_c.h" -#include "Valu__Syms.h" - - -VL_ATTR_COLD void Valu___024root__trace_init_sub__TOP__0(Valu___024root* vlSelf, VerilatedVcd* tracep) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_init_sub__TOP__0\n"); ); - // Init - const int c = vlSymsp->__Vm_baseCode; - // Body - tracep->declBus(c+1,"in1", false,-1, 31,0); - tracep->declBus(c+2,"in2", false,-1, 31,0); - tracep->declBus(c+3,"op", false,-1, 3,0); - tracep->declBus(c+4,"out", false,-1, 31,0); - tracep->pushNamePrefix("alu "); - tracep->declBus(c+1,"in1", false,-1, 31,0); - tracep->declBus(c+2,"in2", false,-1, 31,0); - tracep->declBus(c+3,"op", false,-1, 3,0); - tracep->declBus(c+4,"out", false,-1, 31,0); - tracep->declBus(c+6,"diff", false,-1, 31,0); - tracep->declBus(c+5,"result", false,-1, 31,0); - tracep->popNamePrefix(1); -} - -VL_ATTR_COLD void Valu___024root__trace_init_top(Valu___024root* vlSelf, VerilatedVcd* tracep) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_init_top\n"); ); - // Body - Valu___024root__trace_init_sub__TOP__0(vlSelf, tracep); -} - -VL_ATTR_COLD void Valu___024root__trace_full_top_0(void* voidSelf, VerilatedVcd* tracep); -void Valu___024root__trace_chg_top_0(void* voidSelf, VerilatedVcd* tracep); -void Valu___024root__trace_cleanup(void* voidSelf, VerilatedVcd* /*unused*/); - -VL_ATTR_COLD void Valu___024root__trace_register(Valu___024root* vlSelf, VerilatedVcd* tracep) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_register\n"); ); - // Body - tracep->addFullCb(&Valu___024root__trace_full_top_0, vlSelf); - tracep->addChgCb(&Valu___024root__trace_chg_top_0, vlSelf); - tracep->addCleanupCb(&Valu___024root__trace_cleanup, vlSelf); -} - -VL_ATTR_COLD void Valu___024root__trace_full_sub_0(Valu___024root* vlSelf, VerilatedVcd* tracep); - -VL_ATTR_COLD void Valu___024root__trace_full_top_0(void* voidSelf, VerilatedVcd* tracep) { - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_full_top_0\n"); ); - // Init - Valu___024root* const __restrict vlSelf VL_ATTR_UNUSED = static_cast<Valu___024root*>(voidSelf); - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - // Body - Valu___024root__trace_full_sub_0((&vlSymsp->TOP), tracep); -} - -VL_ATTR_COLD void Valu___024root__trace_full_sub_0(Valu___024root* vlSelf, VerilatedVcd* tracep) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root__trace_full_sub_0\n"); ); - // Init - vluint32_t* const oldp VL_ATTR_UNUSED = tracep->oldp(vlSymsp->__Vm_baseCode); - // Body - tracep->fullIData(oldp+1,(vlSelf->in1),32); - tracep->fullIData(oldp+2,(vlSelf->in2),32); - tracep->fullCData(oldp+3,(vlSelf->op),4); - tracep->fullIData(oldp+4,(vlSelf->out),32); - tracep->fullIData(oldp+5,(vlSelf->alu__DOT__result),32); - tracep->fullIData(oldp+6,(0U),32); -} diff --git a/verilog/alu/obj_dir/Valu___024root.h b/verilog/alu/obj_dir/Valu___024root.h deleted file mode 100644 index 18b3f2f..0000000 --- a/verilog/alu/obj_dir/Valu___024root.h +++ /dev/null @@ -1,34 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Design internal header -// See Valu.h for the primary calling header - -#ifndef VERILATED_VALU___024ROOT_H_ -#define VERILATED_VALU___024ROOT_H_ // guard - -#include "verilated.h" - -class Valu__Syms; -VL_MODULE(Valu___024root) { - public: - - // DESIGN SPECIFIC STATE - VL_IN8(op,3,0); - VL_IN(in1,31,0); - VL_IN(in2,31,0); - VL_OUT(out,31,0); - IData/*31:0*/ alu__DOT__result; - - // INTERNAL VARIABLES - Valu__Syms* vlSymsp; // Symbol table - - // CONSTRUCTORS - Valu___024root(const char* name); - ~Valu___024root(); - VL_UNCOPYABLE(Valu___024root); - - // INTERNAL METHODS - void __Vconfigure(Valu__Syms* symsp, bool first); -} VL_ATTR_ALIGNED(VL_CACHE_LINE_BYTES); - - -#endif // guard diff --git a/verilog/alu/obj_dir/Valu___024root__DepSet_ha59b247d__0.cpp b/verilog/alu/obj_dir/Valu___024root__DepSet_ha59b247d__0.cpp deleted file mode 100644 index 99146ec..0000000 --- a/verilog/alu/obj_dir/Valu___024root__DepSet_ha59b247d__0.cpp +++ /dev/null @@ -1,117 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Design implementation internals -// See Valu.h for the primary calling header - -#include "verilated.h" - -#include "Valu___024root.h" - -VL_INLINE_OPT void Valu___024root___combo__TOP__0(Valu___024root* vlSelf) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root___combo__TOP__0\n"); ); - // Body - vlSelf->alu__DOT__result = ((8U & (IData)(vlSelf->op)) - ? ((4U & (IData)(vlSelf->op)) - ? ((2U & (IData)(vlSelf->op)) - ? ((1U & (IData)(vlSelf->op)) - ? vlSelf->in1 - : 0U) : - ((1U & (IData)(vlSelf->op)) - ? (((0x1fU - >= vlSelf->in2) - ? (vlSelf->in1 - >> vlSelf->in2) - : 0U) - | ((vlSelf->in1 - >> 0x1fU) - ? - ((IData)(0xffffffffU) - << - ((0x10U - & ((~ - (vlSelf->in2 - >> 4U)) - << 4U)) - | ((8U - & ((~ - (vlSelf->in2 - >> 3U)) - << 3U)) - | ((4U - & ((~ - (vlSelf->in2 - >> 2U)) - << 2U)) - | ((2U - & ((~ - (vlSelf->in2 - >> 1U)) - << 1U)) - | (1U - & (~ vlSelf->in2))))))) - : 0U)) - : 0U)) : 0U) - : ((4U & (IData)(vlSelf->op)) - ? ((2U & (IData)(vlSelf->op)) - ? ((1U & (IData)(vlSelf->op)) - ? (vlSelf->in1 - & vlSelf->in2) - : (vlSelf->in1 - | vlSelf->in2)) - : ((1U & (IData)(vlSelf->op)) - ? ((0x1fU - >= vlSelf->in2) - ? - (vlSelf->in1 - >> vlSelf->in2) - : 0U) - : (vlSelf->in1 - - vlSelf->in2))) - : ((2U & (IData)(vlSelf->op)) - ? ((1U & (IData)(vlSelf->op)) - ? ((vlSelf->in1 - < vlSelf->in2) - ? 1U - : 0U) - : (((vlSelf->in1 - >> 0x1fU) - == - (vlSelf->in2 - >> 0x1fU)) - ? 0U - : - ((vlSelf->in1 - >> 0x1fU) - ? 1U - : 0U))) - : ((1U & (IData)(vlSelf->op)) - ? ((0x1fU - >= vlSelf->in2) - ? - (vlSelf->in1 - >> vlSelf->in2) - : 0U) - : (vlSelf->in1 - + vlSelf->in2))))); - vlSelf->out = vlSelf->alu__DOT__result; -} - -void Valu___024root___eval(Valu___024root* vlSelf) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root___eval\n"); ); - // Body - Valu___024root___combo__TOP__0(vlSelf); -} - -#ifdef VL_DEBUG -void Valu___024root___eval_debug_assertions(Valu___024root* vlSelf) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root___eval_debug_assertions\n"); ); - // Body - if (VL_UNLIKELY((vlSelf->op & 0xf0U))) { - Verilated::overWidthError("op");} -} -#endif // VL_DEBUG diff --git a/verilog/alu/obj_dir/Valu___024root__DepSet_ha59b247d__0__Slow.cpp b/verilog/alu/obj_dir/Valu___024root__DepSet_ha59b247d__0__Slow.cpp deleted file mode 100644 index 99dde1e..0000000 --- a/verilog/alu/obj_dir/Valu___024root__DepSet_ha59b247d__0__Slow.cpp +++ /dev/null @@ -1,41 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Design implementation internals -// See Valu.h for the primary calling header - -#include "verilated.h" - -#include "Valu___024root.h" - -VL_ATTR_COLD void Valu___024root___eval_initial(Valu___024root* vlSelf) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root___eval_initial\n"); ); -} - -void Valu___024root___combo__TOP__0(Valu___024root* vlSelf); - -VL_ATTR_COLD void Valu___024root___eval_settle(Valu___024root* vlSelf) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root___eval_settle\n"); ); - // Body - Valu___024root___combo__TOP__0(vlSelf); -} - -VL_ATTR_COLD void Valu___024root___final(Valu___024root* vlSelf) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root___final\n"); ); -} - -VL_ATTR_COLD void Valu___024root___ctor_var_reset(Valu___024root* vlSelf) { - if (false && vlSelf) {} // Prevent unused - Valu__Syms* const __restrict vlSymsp VL_ATTR_UNUSED = vlSelf->vlSymsp; - VL_DEBUG_IF(VL_DBG_MSGF("+ Valu___024root___ctor_var_reset\n"); ); - // Body - vlSelf->in1 = VL_RAND_RESET_I(32); - vlSelf->in2 = VL_RAND_RESET_I(32); - vlSelf->op = VL_RAND_RESET_I(4); - vlSelf->out = VL_RAND_RESET_I(32); - vlSelf->alu__DOT__result = VL_RAND_RESET_I(32); -} diff --git a/verilog/alu/obj_dir/Valu___024root__Slow.cpp b/verilog/alu/obj_dir/Valu___024root__Slow.cpp deleted file mode 100644 index 7e197c5..0000000 --- a/verilog/alu/obj_dir/Valu___024root__Slow.cpp +++ /dev/null @@ -1,25 +0,0 @@ -// Verilated -*- C++ -*- -// DESCRIPTION: Verilator output: Design implementation internals -// See Valu.h for the primary calling header - -#include "verilated.h" - -#include "Valu__Syms.h" -#include "Valu___024root.h" - -void Valu___024root___ctor_var_reset(Valu___024root* vlSelf); - -Valu___024root::Valu___024root(const char* _vcname__) - : VerilatedModule(_vcname__) - { - // Reset structure values - Valu___024root___ctor_var_reset(this); -} - -void Valu___024root::__Vconfigure(Valu__Syms* _vlSymsp, bool first) { - if (false && first) {} // Prevent unused - this->vlSymsp = _vlSymsp; -} - -Valu___024root::~Valu___024root() { -} diff --git a/verilog/alu/obj_dir/Valu__ver.d b/verilog/alu/obj_dir/Valu__ver.d deleted file mode 100644 index 050f4a2..0000000 --- a/verilog/alu/obj_dir/Valu__ver.d +++ /dev/null @@ -1 +0,0 @@ -obj_dir/Valu.cpp obj_dir/Valu.h obj_dir/Valu.mk obj_dir/Valu__Syms.cpp obj_dir/Valu__Syms.h obj_dir/Valu__Trace__0.cpp obj_dir/Valu__Trace__0__Slow.cpp obj_dir/Valu___024root.h obj_dir/Valu___024root__DepSet_ha59b247d__0.cpp obj_dir/Valu___024root__DepSet_ha59b247d__0__Slow.cpp obj_dir/Valu___024root__Slow.cpp obj_dir/Valu__ver.d obj_dir/Valu_classes.mk : /usr/bin/verilator_bin /usr/bin/verilator_bin alu.v aluOp.vh diff --git a/verilog/alu/obj_dir/Valu__verFiles.dat b/verilog/alu/obj_dir/Valu__verFiles.dat deleted file mode 100644 index 9886e43..0000000 --- a/verilog/alu/obj_dir/Valu__verFiles.dat +++ /dev/null @@ -1,19 +0,0 @@ -# DESCRIPTION: Verilator output: Timestamp data for --skip-identical. Delete at will. -C "-Wall --cc --exe --build tbalu.cpp alu.v --trace" -S 8301864 49571880 1647534899 665184882 1647204701 0 "/usr/bin/verilator_bin" -S 826 47450694 1650399377 438046012 1650399377 438046012 "alu.v" -S 391 47450690 1650315291 577169333 1650315291 577169333 "aluOp.vh" -T 3738 47972485 1650399379 228051294 1650399379 228051294 "obj_dir/Valu.cpp" -T 2663 47972468 1650399379 228051294 1650399379 228051294 "obj_dir/Valu.h" -T 1808 47972982 1650399379 228051294 1650399379 228051294 "obj_dir/Valu.mk" -T 735 47972353 1650399379 228051294 1650399379 228051294 "obj_dir/Valu__Syms.cpp" -T 1073 47972356 1650399379 228051294 1650399379 228051294 "obj_dir/Valu__Syms.h" -T 1816 47972973 1650399379 228051294 1650399379 228051294 "obj_dir/Valu__Trace__0.cpp" -T 3410 47972972 1650399379 228051294 1650399379 228051294 "obj_dir/Valu__Trace__0__Slow.cpp" -T 765 47972494 1650399379 228051294 1650399379 228051294 "obj_dir/Valu___024root.h" -T 6435 47972971 1650399379 228051294 1650399379 228051294 "obj_dir/Valu___024root__DepSet_ha59b247d__0.cpp" -T 1597 47972817 1650399379 228051294 1650399379 228051294 "obj_dir/Valu___024root__DepSet_ha59b247d__0__Slow.cpp" -T 630 47972816 1650399379 228051294 1650399379 228051294 "obj_dir/Valu___024root__Slow.cpp" -T 421 47972983 1650399379 228051294 1650399379 228051294 "obj_dir/Valu__ver.d" -T 0 0 1650399379 228051294 1650399379 228051294 "obj_dir/Valu__verFiles.dat" -T 1735 47972979 1650399379 228051294 1650399379 228051294 "obj_dir/Valu_classes.mk" diff --git a/verilog/alu/obj_dir/Valu_classes.mk b/verilog/alu/obj_dir/Valu_classes.mk deleted file mode 100644 index ba99411..0000000 --- a/verilog/alu/obj_dir/Valu_classes.mk +++ /dev/null @@ -1,54 +0,0 @@ -# Verilated -*- Makefile -*- -# DESCRIPTION: Verilator output: Make include file with class lists -# -# This file lists generated Verilated files, for including in higher level makefiles. -# See Valu.mk for the caller. - -### Switches... -# C11 constructs required? 0/1 (always on now) -VM_C11 = 1 -# Coverage output mode? 0/1 (from --coverage) -VM_COVERAGE = 0 -# Parallel builds? 0/1 (from --output-split) -VM_PARALLEL_BUILDS = 0 -# Threaded output mode? 0/1/N threads (from --threads) -VM_THREADS = 0 -# Tracing output mode? 0/1 (from --trace/--trace-fst) -VM_TRACE = 1 -# Tracing output mode in FST format? 0/1 (from --trace-fst) -VM_TRACE_FST = 0 -# Tracing threaded output mode? 0/1/N threads (from --trace-thread) -VM_TRACE_THREADS = 0 -# Separate FST writer thread? 0/1 (from --trace-fst with --trace-thread > 0) -VM_TRACE_FST_WRITER_THREAD = 0 - -### Object file lists... -# Generated module classes, fast-path, compile with highest optimization -VM_CLASSES_FAST += \ - Valu \ - Valu___024root__DepSet_ha59b247d__0 \ - -# Generated module classes, non-fast-path, compile with low/medium optimization -VM_CLASSES_SLOW += \ - Valu___024root__Slow \ - Valu___024root__DepSet_ha59b247d__0__Slow \ - -# Generated support classes, fast-path, compile with highest optimization -VM_SUPPORT_FAST += \ - Valu__Trace__0 \ - -# Generated support classes, non-fast-path, compile with low/medium optimization -VM_SUPPORT_SLOW += \ - Valu__Syms \ - Valu__Trace__0__Slow \ - -# Global classes, need linked once per executable, fast-path, compile with highest optimization -VM_GLOBAL_FAST += \ - verilated \ - verilated_vcd_c \ - -# Global classes, need linked once per executable, non-fast-path, compile with low/medium optimization -VM_GLOBAL_SLOW += \ - - -# Verilated -*- Makefile -*- diff --git a/verilog/alu/obj_dir/tbalu.d b/verilog/alu/obj_dir/tbalu.d deleted file mode 100644 index 4964d6f..0000000 --- a/verilog/alu/obj_dir/tbalu.d +++ /dev/null @@ -1,9 +0,0 @@ -tbalu.o: ../tbalu.cpp /usr/share/verilator/include/verilated.h \ - /usr/share/verilator/include/verilatedos.h \ - /usr/share/verilator/include/verilated_config.h \ - /usr/share/verilator/include/verilated_types.h \ - /usr/share/verilator/include/verilated_funcs.h \ - /usr/share/verilator/include/verilated_vcd_c.h \ - /usr/share/verilator/include/verilated.h \ - /usr/share/verilator/include/verilated_trace.h \ - /usr/share/verilator/include/verilated_trace_defs.h Valu.h ../aluOp.h diff --git a/verilog/alu/obj_dir/tbalu.o b/verilog/alu/obj_dir/tbalu.o Binary files differdeleted file mode 100644 index 1612e2b..0000000 --- a/verilog/alu/obj_dir/tbalu.o +++ /dev/null diff --git a/verilog/alu/obj_dir/verilated.d b/verilog/alu/obj_dir/verilated.d deleted file mode 100644 index 7f4c5e4..0000000 --- a/verilog/alu/obj_dir/verilated.d +++ /dev/null @@ -1,9 +0,0 @@ -verilated.o: /usr/share/verilator/include/verilated.cpp \ - /usr/share/verilator/include/verilatedos.h \ - /usr/share/verilator/include/verilated_imp.h \ - /usr/share/verilator/include/verilated.h \ - /usr/share/verilator/include/verilated_config.h \ - /usr/share/verilator/include/verilated_types.h \ - /usr/share/verilator/include/verilated_funcs.h \ - /usr/share/verilator/include/verilated_syms.h \ - /usr/share/verilator/include/verilated_sym_props.h diff --git a/verilog/alu/obj_dir/verilated.o b/verilog/alu/obj_dir/verilated.o Binary files differdeleted file mode 100644 index a226a8b..0000000 --- a/verilog/alu/obj_dir/verilated.o +++ /dev/null diff --git a/verilog/alu/obj_dir/verilated_vcd_c.d b/verilog/alu/obj_dir/verilated_vcd_c.d deleted file mode 100644 index 667485f..0000000 --- a/verilog/alu/obj_dir/verilated_vcd_c.d +++ /dev/null @@ -1,11 +0,0 @@ -verilated_vcd_c.o: /usr/share/verilator/include/verilated_vcd_c.cpp \ - /usr/share/verilator/include/verilatedos.h \ - /usr/share/verilator/include/verilated.h \ - /usr/share/verilator/include/verilated_config.h \ - /usr/share/verilator/include/verilated_types.h \ - /usr/share/verilator/include/verilated_funcs.h \ - /usr/share/verilator/include/verilated_vcd_c.h \ - /usr/share/verilator/include/verilated_trace.h \ - /usr/share/verilator/include/verilated_trace_defs.h \ - /usr/share/verilator/include/verilated_trace_imp.cpp \ - /usr/share/verilator/include/verilated_intrinsics.h diff --git a/verilog/alu/obj_dir/verilated_vcd_c.o b/verilog/alu/obj_dir/verilated_vcd_c.o Binary files differdeleted file mode 100644 index 469c75e..0000000 --- a/verilog/alu/obj_dir/verilated_vcd_c.o +++ /dev/null |