Fix compile issues in previous patch

This commit is contained in:
Cary R 2026-07-14 00:07:34 -07:00
parent e367080276
commit dec4e939f4
2 changed files with 4 additions and 3 deletions

View File

@ -462,8 +462,8 @@ static void draw_binary_vec4_logical(ivl_expr_t expr, char op)
jmp_type = "1"; jmp_type = "1";
break; break;
default: default:
opcode = "<invalid>" opcode = "<invalid>";
jmp_type = "<invalid>" jmp_type = "<invalid>";
assert(0); assert(0);
break; break;
} }

View File

@ -17,6 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
#include <cstring>
#include "config.h" #include "config.h"
#include "compiler.h" #include "compiler.h"
#include "vpi_user.h" #include "vpi_user.h"
@ -126,7 +127,7 @@ s_vpi_vecval vpip_calc_clog2(vpiHandle)
} }
void vpip_count_drivers(vpiHandle, unsigned, unsigned [4]) { } void vpip_count_drivers(vpiHandle, unsigned, unsigned [4]) { }
void vpip_format_strength(char*, s_vpi_value*, unsigned) { } void vpip_format_strength(char*, s_vpi_value*, unsigned) { }
char* vpip_format_pretty(vpiHandle) { return "invalid"; } char* vpip_format_pretty(vpiHandle) { return strdup("invalid"); }
void vpip_make_systf_system_defined(vpiHandle) { } void vpip_make_systf_system_defined(vpiHandle) { }
void vpip_mcd_rawwrite(PLI_UINT32, const char*, size_t) { } void vpip_mcd_rawwrite(PLI_UINT32, const char*, size_t) { }
void vpip_set_return_value(int) { } void vpip_set_return_value(int) { }