mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Merge pull request #299 from davidharrishmc/dev
Changed timeout for riscof and removed imperas tests from coverage
This commit is contained in:
		
						commit
						502836b2ff
					
				
							
								
								
									
										8
									
								
								examples/verilog/fulladder/fulladder-batch-coverage.do
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								examples/verilog/fulladder/fulladder-batch-coverage.do
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					# fulladder-batch-coverage.do 
 | 
				
			||||||
 | 
					# David_Harris@hmc.edu 22 May 2023
 | 
				
			||||||
 | 
					vlog fulladder.sv 
 | 
				
			||||||
 | 
					vopt +acc work.testbench -o workopt +cover=sbecf
 | 
				
			||||||
 | 
					vsim workopt -coverage
 | 
				
			||||||
 | 
					run -all
 | 
				
			||||||
 | 
					coverage save -instance /testbench/dut fulladder.ucdb
 | 
				
			||||||
 | 
					quit
 | 
				
			||||||
@ -136,11 +136,9 @@ tests64gc = ["arch64f", "arch64d", "arch64f_fma", "arch64d_fma", "arch64i", "arc
 | 
				
			|||||||
             "arch64priv", "arch64c",  "arch64m", "arch64zi", "wally64a", "wally64periph", "wally64priv"] 
 | 
					             "arch64priv", "arch64c",  "arch64m", "arch64zi", "wally64a", "wally64periph", "wally64priv"] 
 | 
				
			||||||
if (coverage):  # delete all but 64gc tests when running coverage
 | 
					if (coverage):  # delete all but 64gc tests when running coverage
 | 
				
			||||||
    configs = []
 | 
					    configs = []
 | 
				
			||||||
#    tests64gc = ["coverage64gc", "arch64f", "arch64d", "arch64i", "arch64priv", "arch64c",  "arch64m", 
 | 
					 | 
				
			||||||
    tests64gc = ["coverage64gc", "arch64i", "arch64priv", "arch64c",  "arch64m", 
 | 
					    tests64gc = ["coverage64gc", "arch64i", "arch64priv", "arch64c",  "arch64m", 
 | 
				
			||||||
                 "arch64zi", "wally64a", "wally64periph", "wally64priv", 
 | 
					                 "arch64zi", "wally64a", "wally64periph", "wally64priv", 
 | 
				
			||||||
                 "arch64zba",  "arch64zbb",  "arch64zbc",  "arch64zbs", 
 | 
					                 "arch64zba",  "arch64zbb",  "arch64zbc",  "arch64zbs"]
 | 
				
			||||||
                 "imperas64f", "imperas64d", "imperas64c", "imperas64i"] 
 | 
					 | 
				
			||||||
    if (fp):
 | 
					    if (fp):
 | 
				
			||||||
       tests64gc.append("arch64f")
 | 
					       tests64gc.append("arch64f")
 | 
				
			||||||
       tests64gc.append("arch64d")
 | 
					       tests64gc.append("arch64d")
 | 
				
			||||||
 | 
				
			|||||||
@ -130,4 +130,5 @@ class sail_cSim(pluginTemplate):
 | 
				
			|||||||
            make.add_target(execute)
 | 
					            make.add_target(execute)
 | 
				
			||||||
#        make.execute_all(self.work_dir)
 | 
					#        make.execute_all(self.work_dir)
 | 
				
			||||||
# DH 7/26/22 increase timeout so sim will finish on slow machines
 | 
					# DH 7/26/22 increase timeout so sim will finish on slow machines
 | 
				
			||||||
        make.execute_all(self.work_dir, timeout = 1800)
 | 
					# DH 5/17/23 increase timeout to 3600 seconds
 | 
				
			||||||
 | 
					        make.execute_all(self.work_dir, timeout = 3600)
 | 
				
			||||||
 | 
				
			|||||||
@ -191,7 +191,8 @@ class spike(pluginTemplate):
 | 
				
			|||||||
      # parallel using the make command set above.
 | 
					      # parallel using the make command set above.
 | 
				
			||||||
      #make.execute_all(self.work_dir)
 | 
					      #make.execute_all(self.work_dir)
 | 
				
			||||||
      # DH 7/26/22 increase timeout to 1800 seconds so sim will finish on slow machines
 | 
					      # DH 7/26/22 increase timeout to 1800 seconds so sim will finish on slow machines
 | 
				
			||||||
      make.execute_all(self.work_dir, timeout = 1800) 
 | 
					      # DH 5/17/23 increase timeout to 3600 seconds
 | 
				
			||||||
 | 
					      make.execute_all(self.work_dir, timeout = 3600) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # if target runs are not required then we simply exit as this point after running all
 | 
					      # if target runs are not required then we simply exit as this point after running all
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user