aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/lsp/files/hello.vhdl
blob: f93578b4ad32bcb096e103cfe95cd109aa0ba2e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;