From 75ef931f4a7a0a4f3ddca1727d6f63ea6f4d2482 Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 5 Jan 2021 22:34:14 +0100 Subject: doc: reorganise and update --- doc/quick_start/simulation/hello/hello.vhdl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/quick_start/simulation/hello/hello.vhdl (limited to 'doc/quick_start/simulation/hello/hello.vhdl') diff --git a/doc/quick_start/simulation/hello/hello.vhdl b/doc/quick_start/simulation/hello/hello.vhdl new file mode 100644 index 000000000..4d969c6a8 --- /dev/null +++ b/doc/quick_start/simulation/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; -- cgit v1.2.3