diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-16 23:47:04 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 16:35:36 +0200 |
commit | 3f0308a5f807269aa5691fa1c704c0e9147d45f1 (patch) | |
tree | e29bc841c2720f5668a71c8b18c9aa8151b84645 /testsuite/pyunit | |
parent | db48ba4042769646676f7ffb981149cbb5e52740 (diff) | |
download | ghdl-3f0308a5f807269aa5691fa1c704c0e9147d45f1.tar.gz ghdl-3f0308a5f807269aa5691fa1c704c0e9147d45f1.tar.bz2 ghdl-3f0308a5f807269aa5691fa1c704c0e9147d45f1.zip |
Handle contexts.
Diffstat (limited to 'testsuite/pyunit')
-rw-r--r-- | testsuite/pyunit/Current.vhdl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/pyunit/Current.vhdl b/testsuite/pyunit/Current.vhdl index cd6537519..a835eae40 100644 --- a/testsuite/pyunit/Current.vhdl +++ b/testsuite/pyunit/Current.vhdl @@ -219,6 +219,9 @@ package package_1 is attribute fixed of ghdl, gtkwave [x, y] : constant is true; component comp is + generic ( + BITS : positive := 2 + ); port ( clk : std ); @@ -248,3 +251,10 @@ end package body; vunit vu (component_1) { } + +context ctx is + library osvvm; + library axi4_lite, axi4_stream; + use osvvm.alert.all; + use osvvm.alert.alertid, osvvm.alert.priority; +end context; |