@@ -47,28 +47,45 @@ def replace_context_with_use_clauses(file_name):
47
47
48
48
text = text .replace ("context vunit_lib.vunit_context;" , """\
49
49
-- context vunit_lib.vunit_context; -- Not supported by Cadence Incisive
50
- use vunit_lib.lang.all;
50
+
51
+ use vunit_lib.integer_vector_ptr_pkg.all;
52
+ use vunit_lib.integer_vector_ptr_pool_pkg.all;
53
+ use vunit_lib.integer_array_pkg.all;
54
+ use vunit_lib.string_ptr_pkg.all;
55
+ use vunit_lib.queue_pkg.all;
56
+ use vunit_lib.queue_pool_pkg.all;
57
+ use vunit_lib.string_ptr_pkg.all;
58
+ use vunit_lib.string_ptr_pool_pkg.all;
59
+ use vunit_lib.dict_pkg.all;
60
+
51
61
use vunit_lib.string_ops.all;
52
62
use vunit_lib.dictionary.all;
53
63
use vunit_lib.path.all;
54
- use vunit_lib.log_types_pkg.all;
55
- use vunit_lib.log_special_types_pkg.all;
56
- use vunit_lib.check_types_pkg.all;
57
- use vunit_lib.check_special_types_pkg.all;
64
+ use vunit_lib.print_pkg.all;
65
+ use vunit_lib.log_levels_pkg.all;
66
+ use vunit_lib.logger_pkg.all;
67
+ use vunit_lib.log_handler_pkg.all;
68
+ use vunit_lib.log_deprecated_pkg.all;
69
+ use vunit_lib.ansi_pkg.all;
70
+ use vunit_lib.checker_pkg.all;
58
71
use vunit_lib.check_pkg.all;
72
+ use vunit_lib.check_deprecated_pkg.all;
59
73
use vunit_lib.run_types_pkg.all;
60
- use vunit_lib.run_special_types_pkg.all;
61
- use vunit_lib.run_base_pkg.all;
62
- use vunit_lib.run_pkg.all;""" )
74
+ use vunit_lib.run_pkg.all;
75
+ use vunit_lib.run_deprecated_pkg.all;""" )
63
76
64
77
text = text .replace ("context vunit_lib.com_context;" , """\
65
78
-- context vunit_lib.com_context; -- Not supported by Cadence Incisive
66
79
use vunit_lib.com_pkg.all;
67
80
use vunit_lib.com_types_pkg.all;
68
- use vunit_lib.com_codec_pkg.all;
81
+ use vunit_lib.codec_pkg.all;
82
+ use vunit_lib.codec_2008_pkg.all;
69
83
use vunit_lib.com_string_pkg.all;
84
+ use vunit_lib.codec_builder_pkg.all;
85
+ use vunit_lib.codec_builder_2008_pkg.all;
70
86
use vunit_lib.com_debug_codec_builder_pkg.all;
71
- use vunit_lib.com_std_codec_builder_pkg.all;
87
+ use vunit_lib.com_deprecated_pkg.all;
88
+ use vunit_lib.com_common_pkg.all;
72
89
""" )
73
90
74
91
with open (file_name , "w" ) as fptr :
0 commit comments