diff --git a/tgt-vvp/eval_vec4.c b/tgt-vvp/eval_vec4.c index f92eb27db..357830ee5 100644 --- a/tgt-vvp/eval_vec4.c +++ b/tgt-vvp/eval_vec4.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2020 Stephen Williams (steve@icarus.com) + * Copyright (c) 2013-2026 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -462,6 +462,8 @@ static void draw_binary_vec4_logical(ivl_expr_t expr, char op) jmp_type = "1"; break; default: + opcode = "" + jmp_type = "" assert(0); break; } diff --git a/vpi_modules.cc b/vpi_modules.cc index 17a42c69f..4aecff2db 100644 --- a/vpi_modules.cc +++ b/vpi_modules.cc @@ -126,6 +126,7 @@ s_vpi_vecval vpip_calc_clog2(vpiHandle) } void vpip_count_drivers(vpiHandle, unsigned, unsigned [4]) { } void vpip_format_strength(char*, s_vpi_value*, unsigned) { } +void vpip_format_pretty(vpiHandle) { } void vpip_make_systf_system_defined(vpiHandle) { } void vpip_mcd_rawwrite(PLI_UINT32, const char*, size_t) { } void vpip_set_return_value(int) { } @@ -230,6 +231,7 @@ vpip_routines_s vpi_routines = { .calc_clog2 = vpip_calc_clog2, .count_drivers = vpip_count_drivers, .format_strength = vpip_format_strength, + .format_pretty = vpip_format_pretty, .make_systf_system_defined = vpip_make_systf_system_defined, .mcd_rawwrite = vpip_mcd_rawwrite, .set_return_value = vpip_set_return_value, diff --git a/vvp/vpi_bit.cc b/vvp/vpi_bit.cc index ad76f9a22..9b956861d 100644 --- a/vvp/vpi_bit.cc +++ b/vvp/vpi_bit.cc @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020-2025 Cary R. (cygcary@yahoo.com) + * Copyright (C) 2020-2026 Cary R. (cygcary@yahoo.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -57,6 +57,7 @@ static int bit_get_type(const __vpiBit*rfp) return vpiRegBit; } assert(0); + return 0; } static int bit_get(int code, vpiHandle ref)