aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/examples/comments/DesignComment.vhdl
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2022-12-05 21:39:51 +0100
committertgingold <tgingold@users.noreply.github.com>2022-12-06 07:23:44 +0100
commit9824b3c9a8d2103a5ecd77ff957536fa16c24bbf (patch)
tree5e870dfeaed5db9899a20bb5e10b963333bcc487 /testsuite/pyunit/libghdl/examples/comments/DesignComment.vhdl
parent60c43acaf82696dabdbf8a88138a656a9bde982c (diff)
downloadghdl-9824b3c9a8d2103a5ecd77ff957536fa16c24bbf.tar.gz
ghdl-9824b3c9a8d2103a5ecd77ff957536fa16c24bbf.tar.bz2
ghdl-9824b3c9a8d2103a5ecd77ff957536fa16c24bbf.zip
Reorganized testcases.
Diffstat (limited to 'testsuite/pyunit/libghdl/examples/comments/DesignComment.vhdl')
-rw-r--r--testsuite/pyunit/libghdl/examples/comments/DesignComment.vhdl14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/examples/comments/DesignComment.vhdl b/testsuite/pyunit/libghdl/examples/comments/DesignComment.vhdl
new file mode 100644
index 000000000..5cd555d33
--- /dev/null
+++ b/testsuite/pyunit/libghdl/examples/comments/DesignComment.vhdl
@@ -0,0 +1,14 @@
+-- No copyright for :accum: design.
+
+library ieee;
+use ieee.std_logic_1164.all;
+
+entity accum is
+ port (
+ -- :a: and :b: are the inputs of the adder.
+ a, b : in std_logic_vector (31 downto 0);
+ -- :res: is the result of the adder.
+ res : out std_logic_vector (31 downto 0)
+ );
+end accum;
+