aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorUnai Martinez-Corral <38422348+umarcor@users.noreply.github.com>2021-08-27 20:25:31 +0100
committerGitHub <noreply@github.com>2021-08-27 20:25:31 +0100
commit14fd4f9e22e0e0a4320559925ae74ee52b7b35e9 (patch)
tree3ee3c7c68900377358bbcd89bcb1920790f2645c /testsuite
parent6ae2325726c7d5dc347149cfb564e34dd9cb883d (diff)
parentca71f18daa2f8fdea623b5733c7ab439e37388b6 (diff)
downloadghdl-14fd4f9e22e0e0a4320559925ae74ee52b7b35e9.tar.gz
ghdl-14fd4f9e22e0e0a4320559925ae74ee52b7b35e9.tar.bz2
ghdl-14fd4f9e22e0e0a4320559925ae74ee52b7b35e9.zip
pyGHDL.dom: improvements (#1848)
# New Features * Translate null statements. * Sequential procedure call. * Concurrent assert statement (but without condition) This needs either PSL translations or help from @tgingold to have partial elaboration to a PSL assert becomes a normal VHDL assertion like in VHDL-93. * Translate sensitivity lists. # Changes * None # Bug fixes * Changes due to typo in pyVHDLModel for `Choises`.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/pyunit/Current.vhdl10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/pyunit/Current.vhdl b/testsuite/pyunit/Current.vhdl
index b4906e211..96e9433d9 100644
--- a/testsuite/pyunit/Current.vhdl
+++ b/testsuite/pyunit/Current.vhdl
@@ -94,6 +94,7 @@ begin
Q <= D after 10 ns;
else
Q <= std_logic_vector(unsigned(Q) + 1);
+ counter.increment(1);
end if;
end if;
@@ -133,6 +134,10 @@ begin
a <= b;
+ assert false;
+ assert false report "some error";
+ assert false severity warning;
+ assert false report "some note" severity note;
inst1: entity work.counter1(rtl)
generic map (
@@ -210,6 +215,11 @@ begin
constant G7 : boolean := False;
begin
inst: component Case5689Dummy;
+ process
+ begin
+ null;
+ wait;
+ end process;
when others =>
constant G8 : boolean := False;