From 597bc9928352ba187bdb0a707332a5f7a0a28e1a Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 16 Aug 2021 23:56:16 +0200 Subject: Handle context references. --- testsuite/pyunit/Current.vhdl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'testsuite/pyunit') diff --git a/testsuite/pyunit/Current.vhdl b/testsuite/pyunit/Current.vhdl index a835eae40..240c11d5f 100644 --- a/testsuite/pyunit/Current.vhdl +++ b/testsuite/pyunit/Current.vhdl @@ -206,6 +206,16 @@ begin ende: std.env.stop; end architecture behav; +context ctx is + library osvvm; + library axi4_lite, axi4_stream; + use osvvm.alert.all; + use osvvm.alert.alertid, osvvm.alert.priority; +end context; + + +context work.ctx; + package package_1 is generic ( BITS : positive @@ -251,10 +261,3 @@ 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; -- cgit v1.2.3