@@ -85,7 +85,7 @@ def supports_vhdl_contexts():
8585 """
8686 Returns True when this simulator supports VHDL 2008 contexts
8787 """
88- return False
88+ return True
8989
9090 def __init__ ( # pylint: disable=too-many-arguments
9191 self , prefix , output_path , gui = False , log_level = None , cdslib = None , hdlvar = None
@@ -182,7 +182,7 @@ def _vhdl_std_opt(vhdl_standard):
182182 return "-v200x -extv200x"
183183
184184 if vhdl_standard == VHDL .STD_2008 :
185- return "-v200x -extv200x"
185+ return "-v200x -extv200x -inc_v200x_pkg "
186186
187187 if vhdl_standard == VHDL .STD_1993 :
188188 return "-v93"
@@ -306,7 +306,7 @@ def _get_mapped_libraries(self):
306306 cds = CDSFile .parse (self ._cdslib )
307307 return cds
308308
309- def simulate ( # pylint: disable=too-many-locals
309+ def simulate ( # pylint: disable=too-many-locals, too-many-branches
310310 self , output_path , test_suite_name , config , elaborate_only = False
311311 ):
312312 """
@@ -362,6 +362,14 @@ def simulate( # pylint: disable=too-many-locals
362362 args += self ._generic_args (config .entity_name , config .generics )
363363 for library in self ._libraries :
364364 args += ['-reflib "%s"' % library .directory ]
365+ args += ['-input "@set intovf_severity_level ignore"' ]
366+ if config .sim_options .get ("disable_ieee_warnings" , False ):
367+ args += [
368+ '-input "@set pack_assert_off { std_logic_arith numeric_std }"'
369+ ]
370+ args += [
371+ '-input "@set assert_stop_level %s"' % config .vhdl_assert_stop_level
372+ ]
365373 if launch_gui :
366374 args += ["-access +rwc" ]
367375 # args += ['-linedebug']
0 commit comments