aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/vpi/vpi005/vpi1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/vpi/vpi005/vpi1.c')
-rw-r--r--testsuite/vpi/vpi005/vpi1.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/vpi/vpi005/vpi1.c b/testsuite/vpi/vpi005/vpi1.c
new file mode 100644
index 000000000..f2cccd286
--- /dev/null
+++ b/testsuite/vpi/vpi005/vpi1.c
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <vpi_user.h>
+
+void my_startup()
+{
+ printf ("VPI lib 1\n");
+}
+
+void (*vlog_startup_routines[]) () =
+{
+ my_startup,
+ 0
+};