aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/lsp/files/hello.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/pyunit/lsp/files/hello.vhdl')
-rw-r--r--testsuite/pyunit/lsp/files/hello.vhdl19
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/pyunit/lsp/files/hello.vhdl b/testsuite/pyunit/lsp/files/hello.vhdl
new file mode 100644
index 000000000..f93578b4a
--- /dev/null
+++ b/testsuite/pyunit/lsp/files/hello.vhdl
@@ -0,0 +1,19 @@
+
+-- Hello world program
+use std.textio.all; -- Imports the standard textio package.
+
+-- Defines a design entity, without any ports.
+entity hello_world is
+end hello_world;
+
+architecture behaviour of hello_world is
+begin
+ process
+ variable l : line;
+ begin
+ write (l, String'("Hello world!"));
+ writeline (output, l);
+ wait;
+ end process;
+end behaviour;
+