From 2f05c831c0d80cb0bff082eb47deb39bdd282a71 Mon Sep 17 00:00:00 2001 From: Cary R Date: Sun, 25 Jan 2026 18:17:59 -0800 Subject: [PATCH] Add more windows get64 fixes --- vpi/libvpi.c | 7 ++++++- vvp/vpi_priv.cc | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/vpi/libvpi.c b/vpi/libvpi.c index af1221116..d82422586 100644 --- a/vpi/libvpi.c +++ b/vpi/libvpi.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2025 Martin Whitaker (icarus@martin-whitaker.me.uk) + * Copyright (c) 2019-2026 Martin Whitaker (icarus@martin-whitaker.me.uk) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -91,6 +91,11 @@ PLI_INT32 vpi_get(int property, vpiHandle ref) assert(vpip_routines); return vpip_routines->get(property, ref); } +PLI_INT64 vpi_get64(int property, vpiHandle ref) +{ + assert(vpip_routines); + return vpip_routines->get64(property, ref); +} char*vpi_get_str(PLI_INT32 property, vpiHandle ref) { assert(vpip_routines); diff --git a/vvp/vpi_priv.cc b/vvp/vpi_priv.cc index 69fefe386..e13378d41 100644 --- a/vvp/vpi_priv.cc +++ b/vvp/vpi_priv.cc @@ -2020,6 +2020,7 @@ vpip_routines_s vpi_routines = { .iterate = vpi_iterate, .scan = vpi_scan, .get = vpi_get, + .get64 = vpi_get64, .get_str = vpi_get_str, .get_delays = vpi_get_delays, .put_delays = vpi_put_delays,