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