diff options
Diffstat (limited to 'testsuite/vhpi/001load_lib/vhpi_lib.c')
-rw-r--r-- | testsuite/vhpi/001load_lib/vhpi_lib.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/vhpi/001load_lib/vhpi_lib.c b/testsuite/vhpi/001load_lib/vhpi_lib.c new file mode 100644 index 000000000..46b70ede4 --- /dev/null +++ b/testsuite/vhpi/001load_lib/vhpi_lib.c @@ -0,0 +1,13 @@ +#include <stdio.h> +#include <vpi_user.h> + +void my_startup() +{ + printf ("VHPI lib\n"); +} + +void (*vhpi_startup_routines[]) () = +{ + my_startup, + 0 +}; |