aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/examples
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-12-07 07:35:34 +0100
committerTristan Gingold <tgingold@free.fr>2022-12-07 07:35:34 +0100
commit674246f8351f5e59d3b048e777053f2903f12ea8 (patch)
treeb7eee5cdd27ad92f5207f354c437aa3ef1e5add7 /testsuite/pyunit/libghdl/examples
parent0ab45a7186882093a2f619f165ff66e4a22fac76 (diff)
downloadghdl-674246f8351f5e59d3b048e777053f2903f12ea8.tar.gz
ghdl-674246f8351f5e59d3b048e777053f2903f12ea8.tar.bz2
ghdl-674246f8351f5e59d3b048e777053f2903f12ea8.zip
testsuite/pyunit/libghdl: add a test for comments
Diffstat (limited to 'testsuite/pyunit/libghdl/examples')
-rw-r--r--testsuite/pyunit/libghdl/examples/comments/arch_inside_2.vhdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/examples/comments/arch_inside_2.vhdl b/testsuite/pyunit/libghdl/examples/comments/arch_inside_2.vhdl
new file mode 100644
index 000000000..cace77824
--- /dev/null
+++ b/testsuite/pyunit/libghdl/examples/comments/arch_inside_2.vhdl
@@ -0,0 +1,10 @@
+-- comment for :a2:
+architecture a2 of e2 is
+ -- comments in design units (python doc-string style) :a2:
+ --:a2: might be multi line
+
+ -- comment for :s:
+ signal s : bit;
+begin
+
+end architecture;