summaryrefslogtreecommitdiff
path: root/verilog/alu/v6/obj_dir/Valu6__Slow.cpp
diff options
context:
space:
mode:
authorjoshua <joshua@fedora.framework>2022-05-14 23:30:38 -0500
committerjoshua <joshua@fedora.framework>2022-05-14 23:30:38 -0500
commitb8936029065835366e9e057a219c0c5194db8662 (patch)
tree31e50944ac6e23850f92bb0e0f6d851b74307f60 /verilog/alu/v6/obj_dir/Valu6__Slow.cpp
parentd6b7d26cf51b4b3a7b5604f9b81bb43f55cbc33c (diff)
downloadriscv-processor-inorder-b8936029065835366e9e057a219c0c5194db8662.tar.gz
Verilog update
Diffstat (limited to 'verilog/alu/v6/obj_dir/Valu6__Slow.cpp')
-rw-r--r--verilog/alu/v6/obj_dir/Valu6__Slow.cpp61
1 files changed, 61 insertions, 0 deletions
diff --git a/verilog/alu/v6/obj_dir/Valu6__Slow.cpp b/verilog/alu/v6/obj_dir/Valu6__Slow.cpp
new file mode 100644
index 0000000..6cd030d
--- /dev/null
+++ b/verilog/alu/v6/obj_dir/Valu6__Slow.cpp
@@ -0,0 +1,61 @@
+// Verilated -*- C++ -*-
+// DESCRIPTION: Verilator output: Design implementation internals
+// See Valu6.h for the primary calling header
+
+#include "Valu6.h"
+#include "Valu6__Syms.h"
+
+//==========
+
+VL_CTOR_IMP(Valu6) {
+ Valu6__Syms* __restrict vlSymsp = __VlSymsp = new Valu6__Syms(this, name());
+ Valu6* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
+ // Reset internal values
+
+ // Reset structure values
+ _ctor_var_reset();
+}
+
+void Valu6::__Vconfigure(Valu6__Syms* vlSymsp, bool first) {
+ if (false && first) {} // Prevent unused
+ this->__VlSymsp = vlSymsp;
+ if (false && this->__VlSymsp) {} // Prevent unused
+ Verilated::timeunit(-6);
+ Verilated::timeprecision(-9);
+}
+
+Valu6::~Valu6() {
+ VL_DO_CLEAR(delete __VlSymsp, __VlSymsp = nullptr);
+}
+
+void Valu6::_eval_initial(Valu6__Syms* __restrict vlSymsp) {
+ VL_DEBUG_IF(VL_DBG_MSGF("+ Valu6::_eval_initial\n"); );
+ Valu6* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
+}
+
+void Valu6::final() {
+ VL_DEBUG_IF(VL_DBG_MSGF("+ Valu6::final\n"); );
+ // Variables
+ Valu6__Syms* __restrict vlSymsp = this->__VlSymsp;
+ Valu6* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
+}
+
+void Valu6::_eval_settle(Valu6__Syms* __restrict vlSymsp) {
+ VL_DEBUG_IF(VL_DBG_MSGF("+ Valu6::_eval_settle\n"); );
+ Valu6* const __restrict vlTOPp VL_ATTR_UNUSED = vlSymsp->TOPp;
+ // Body
+ vlTOPp->_combo__TOP__1(vlSymsp);
+}
+
+void Valu6::_ctor_var_reset() {
+ VL_DEBUG_IF(VL_DBG_MSGF("+ Valu6::_ctor_var_reset\n"); );
+ // Body
+ alu_in_1 = VL_RAND_RESET_I(32);
+ alu_in_2 = VL_RAND_RESET_I(32);
+ alu_op_i = VL_RAND_RESET_I(4);
+ alu_output = VL_RAND_RESET_I(32);
+ alu6__DOT__sum = VL_RAND_RESET_I(32);
+ for (int __Vi0=0; __Vi0<1; ++__Vi0) {
+ __Vm_traceActivity[__Vi0] = VL_RAND_RESET_I(1);
+ }
+}