diff options
Diffstat (limited to 'doc/quick_start/hello/hello.vhdl')
-rw-r--r-- | doc/quick_start/hello/hello.vhdl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/quick_start/hello/hello.vhdl b/doc/quick_start/hello/hello.vhdl new file mode 100644 index 000000000..4d969c6a8 --- /dev/null +++ b/doc/quick_start/hello/hello.vhdl @@ -0,0 +1,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; |