@@ -503,9 +503,9 @@ def test_simulate_vhdl(self, run_command, find_cds_root_irun, find_cds_root_virt
503503 simif .compile_project (project )
504504
505505 config = make_config ()
506- self .assertTrue (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
507- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
508- simulate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_simulate.args" )
506+ self .assertTrue (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
507+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
508+ simulate_args_file = str (Path ("simulator_output_path" ) / "irun_simulate.args" )
509509 run_command .assert_has_calls (
510510 [
511511 mock .call (
@@ -541,7 +541,7 @@ def test_simulate_vhdl(self, run_command, find_cds_root_irun, find_cds_root_virt
541541 "-work work" ,
542542 '-nclibdirname "%s"' % str (Path (self .output_path ) / "libraries" ),
543543 '-cdslib "%s"' % str (Path (self .output_path ) / "cds.lib" ),
544- '-log "%s"' % str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.log" ),
544+ '-log "%s"' % str (Path ("simulator_output_path" ) / "irun_elaborate.log" ),
545545 "-quiet" ,
546546 '-reflib "lib_path"' ,
547547 "-access +r" ,
@@ -565,7 +565,7 @@ def test_simulate_vhdl(self, run_command, find_cds_root_irun, find_cds_root_virt
565565 "-work work" ,
566566 '-nclibdirname "%s"' % str (Path (self .output_path ) / "libraries" ),
567567 '-cdslib "%s"' % str (Path (self .output_path ) / "cds.lib" ),
568- '-log "%s"' % str (Path ("suite_output_path" ) / simif . name / "irun_simulate.log" ),
568+ '-log "%s"' % str (Path ("simulator_output_path" ) / "irun_simulate.log" ),
569569 "-quiet" ,
570570 '-reflib "lib_path"' ,
571571 "-access +r" ,
@@ -591,9 +591,9 @@ def test_simulate_verilog(self, run_command, find_cds_root_irun, find_cds_root_v
591591 simif .compile_project (project )
592592
593593 config = make_config (verilog = True )
594- self .assertTrue (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
595- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
596- simulate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_simulate.args" )
594+ self .assertTrue (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
595+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
596+ simulate_args_file = str (Path ("simulator_output_path" ) / "irun_simulate.args" )
597597 run_command .assert_has_calls (
598598 [
599599 mock .call (
@@ -629,7 +629,7 @@ def test_simulate_verilog(self, run_command, find_cds_root_irun, find_cds_root_v
629629 "-work work" ,
630630 '-nclibdirname "%s"' % str (Path (self .output_path ) / "libraries" ),
631631 '-cdslib "%s"' % str (Path (self .output_path ) / "cds.lib" ),
632- '-log "%s"' % str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.log" ),
632+ '-log "%s"' % str (Path ("simulator_output_path" ) / "irun_elaborate.log" ),
633633 "-quiet" ,
634634 '-reflib "lib_path"' ,
635635 "-access +r" ,
@@ -653,7 +653,7 @@ def test_simulate_verilog(self, run_command, find_cds_root_irun, find_cds_root_v
653653 "-work work" ,
654654 '-nclibdirname "%s"' % str (Path (self .output_path ) / "libraries" ),
655655 '-cdslib "%s"' % str (Path (self .output_path ) / "cds.lib" ),
656- '-log "%s"' % str (Path ("suite_output_path" ) / simif . name / "irun_simulate.log" ),
656+ '-log "%s"' % str (Path ("simulator_output_path" ) / "irun_simulate.log" ),
657657 "-quiet" ,
658658 '-reflib "lib_path"' ,
659659 "-access +r" ,
@@ -670,9 +670,9 @@ def test_simulate_extra_flags(self, run_command, find_cds_root_irun, find_cds_ro
670670 find_cds_root_virtuoso .return_value = None
671671 simif = IncisiveInterface (prefix = "prefix" , output_path = self .output_path )
672672 config = make_config (sim_options = {"incisive.irun_sim_flags" : ["custom" , "flags" ]})
673- self .assertTrue (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
674- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
675- simulate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_simulate.args" )
673+ self .assertTrue (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
674+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
675+ simulate_args_file = str (Path ("simulator_output_path" ) / "irun_simulate.args" )
676676 run_command .assert_has_calls (
677677 [
678678 mock .call (
@@ -708,9 +708,9 @@ def test_simulate_generics_and_parameters(self, run_command, find_cds_root_irun,
708708 find_cds_root_virtuoso .return_value = None
709709 simif = IncisiveInterface (prefix = "prefix" , output_path = self .output_path )
710710 config = make_config (verilog = True , generics = {"genstr" : "genval" , "genint" : 1 , "genbool" : True })
711- self .assertTrue (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
712- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
713- simulate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_simulate.args" )
711+ self .assertTrue (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
712+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
713+ simulate_args_file = str (Path ("simulator_output_path" ) / "irun_simulate.args" )
714714 run_command .assert_has_calls (
715715 [
716716 mock .call (
@@ -744,9 +744,9 @@ def test_simulate_hdlvar(self, run_command, find_cds_root_irun, find_cds_root_vi
744744 find_cds_root_virtuoso .return_value = None
745745 simif = IncisiveInterface (prefix = "prefix" , output_path = self .output_path , hdlvar = "custom_hdlvar" )
746746 config = make_config ()
747- self .assertTrue (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
748- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
749- simulate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_simulate.args" )
747+ self .assertTrue (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
748+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
749+ simulate_args_file = str (Path ("simulator_output_path" ) / "irun_simulate.args" )
750750 run_command .assert_has_calls (
751751 [
752752 mock .call (
@@ -778,8 +778,10 @@ def test_elaborate(self, run_command, find_cds_root_irun, find_cds_root_virtuoso
778778 find_cds_root_virtuoso .return_value = None
779779 simif = IncisiveInterface (prefix = "prefix" , output_path = self .output_path )
780780 config = make_config (verilog = True )
781- self .assertTrue (simif .simulate ("suite_output_path" , "test_suite_name" , config , elaborate_only = True ))
782- elaborate_args_file = str (Path ("suite_output_path" ) / simif .name / "irun_elaborate.args" )
781+ self .assertTrue (
782+ simif .simulate ("suite_output_path" , "simulator_output_path" , "test_suite_name" , config , elaborate_only = True )
783+ )
784+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
783785 run_command .assert_has_calls (
784786 [
785787 mock .call (
@@ -810,7 +812,7 @@ def test_elaborate(self, run_command, find_cds_root_irun, find_cds_root_virtuoso
810812 "-work work" ,
811813 '-nclibdirname "%s"' % str (Path (self .output_path ) / "libraries" ),
812814 '-cdslib "%s"' % str (Path (self .output_path ) / "cds.lib" ),
813- '-log "%s"' % str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.log" ),
815+ '-log "%s"' % str (Path ("simulator_output_path" ) / "irun_elaborate.log" ),
814816 "-quiet" ,
815817 "-access +r" ,
816818 '-input "@run"' ,
@@ -826,8 +828,8 @@ def test_elaborate_fail(self, run_command, find_cds_root_irun, find_cds_root_vir
826828 find_cds_root_virtuoso .return_value = None
827829 simif = IncisiveInterface (prefix = "prefix" , output_path = self .output_path )
828830 config = make_config ()
829- self .assertFalse (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
830- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
831+ self .assertFalse (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
832+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
831833 run_command .assert_has_calls (
832834 [
833835 mock .call (
@@ -850,9 +852,9 @@ def test_simulate_fail(self, run_command, find_cds_root_irun, find_cds_root_virt
850852 find_cds_root_virtuoso .return_value = None
851853 simif = IncisiveInterface (prefix = "prefix" , output_path = self .output_path )
852854 config = make_config ()
853- self .assertFalse (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
854- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
855- simulate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_simulate.args" )
855+ self .assertFalse (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
856+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
857+ simulate_args_file = str (Path ("simulator_output_path" ) / "irun_simulate.args" )
856858 run_command .assert_has_calls (
857859 [
858860 mock .call (
@@ -888,9 +890,9 @@ def test_simulate_gui(self, run_command, find_cds_root_irun, find_cds_root_virtu
888890 with mock .patch ("vunit.sim_if.check_output" , autospec = True , return_value = "" ) as dummy :
889891 simif .compile_project (project )
890892 config = make_config ()
891- self .assertTrue (simif .simulate ("suite_output_path" , "test_suite_name" , config ))
892- elaborate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.args" )
893- simulate_args_file = str (Path ("suite_output_path" ) / simif . name / "irun_simulate.args" )
893+ self .assertTrue (simif .simulate ("suite_output_path" , "simulator_output_path" , " test_suite_name" , config ))
894+ elaborate_args_file = str (Path ("simulator_output_path" ) / "irun_elaborate.args" )
895+ simulate_args_file = str (Path ("simulator_output_path" ) / "irun_simulate.args" )
894896 run_command .assert_has_calls (
895897 [
896898 mock .call (
@@ -925,7 +927,7 @@ def test_simulate_gui(self, run_command, find_cds_root_irun, find_cds_root_virtu
925927 "-work work" ,
926928 '-nclibdirname "%s"' % str (Path (self .output_path ) / "libraries" ),
927929 '-cdslib "%s"' % str (Path (self .output_path ) / "cds.lib" ),
928- '-log "%s"' % str (Path ("suite_output_path" ) / simif . name / "irun_elaborate.log" ),
930+ '-log "%s"' % str (Path ("simulator_output_path" ) / "irun_elaborate.log" ),
929931 "-quiet" ,
930932 '-reflib "lib_path"' ,
931933 "-access +rwc" ,
@@ -949,7 +951,7 @@ def test_simulate_gui(self, run_command, find_cds_root_irun, find_cds_root_virtu
949951 "-work work" ,
950952 '-nclibdirname "%s"' % str (Path (self .output_path ) / "libraries" ),
951953 '-cdslib "%s"' % str (Path (self .output_path ) / "cds.lib" ),
952- '-log "%s"' % str (Path ("suite_output_path" ) / simif . name / "irun_simulate.log" ),
954+ '-log "%s"' % str (Path ("simulator_output_path" ) / "irun_simulate.log" ),
953955 "-quiet" ,
954956 '-reflib "lib_path"' ,
955957 "-access +rwc" ,
0 commit comments