diff --git a/code/VProc.h b/code/VProc.h index e865002..ec2c3fd 100644 --- a/code/VProc.h +++ b/code/VProc.h @@ -35,7 +35,7 @@ #include #include -#define VERSION_STRING "VProc version 1.13.4. Copyright (c) 2004-2025 Simon Southwell." +#define VERSION_STRING "VProc version 1.13.5. Copyright (c) 2004-2026 Simon Southwell." #ifndef VP_MAX_NODES #define VP_MAX_NODES 64 diff --git a/code/VUser.h b/code/VUser.h index e5f1d4a..b1e6e80 100644 --- a/code/VUser.h +++ b/code/VUser.h @@ -78,10 +78,10 @@ extern void VRegIrqPy (const pPyIrqCB_t func, const unsigned node); // VUser function prototype for VInit in VSched.c extern int VUser (const unsigned node); -#if defined(VPROC_VHDL) || defined (ICARUS) || defined (VPROC_SV) -# define VPrint(...) printf (__VA_ARGS__) -#else +#if defined(VPROC_USE_VPI_VPRINT) # define VPrint(...) vpi_printf (__VA_ARGS__) +#else +# define VPrint(...) printf (__VA_ARGS__) #endif #ifdef DEBUG