mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 13:57:18 +02:00
Fix some vvp initialization problems found with cppcheck.
This patch adds a few missing initializations to various constructors in the vvp directory. It also enhances the array alias code to copy more values from the aliased array.
This commit is contained in:
+4
-1
@@ -75,7 +75,10 @@ class vvp_fun_delay : public vvp_net_fun_t, private vvp_gen_event_s {
|
||||
|
||||
enum delay_type_t {UNKNOWN_DELAY, VEC4_DELAY, VEC8_DELAY, REAL_DELAY};
|
||||
struct event_ {
|
||||
event_(vvp_time64_t s) : sim_time(s) { }
|
||||
event_(vvp_time64_t s) : sim_time(s) {
|
||||
ptr_real = 0.0;
|
||||
next = NULL;
|
||||
}
|
||||
void (vvp_fun_delay::*run_run_ptr)(struct vvp_fun_delay::event_*cur);
|
||||
const vvp_time64_t sim_time;
|
||||
vvp_vector4_t ptr_vec4;
|
||||
|
||||
Reference in New Issue
Block a user