mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	tests: Fixes for boxes
cxxrtl `test_unconnected_output` and simple_abc9 `abc9.v` both expect boxed modules in the outputs, so make sure they work as expected.
This commit is contained in:
		
							parent
							
								
									b296a970d2
								
							
						
					
					
						commit
						9a9cd05f6c
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -13,5 +13,5 @@ run_subtest value
 | 
				
			||||||
run_subtest value_fuzz
 | 
					run_subtest value_fuzz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Compile-only test.
 | 
					# Compile-only test.
 | 
				
			||||||
../../yosys -p "read_verilog test_unconnected_output.v; proc; clean; write_cxxrtl cxxrtl-test-unconnected_output.cc"
 | 
					../../yosys -p "read_verilog test_unconnected_output.v; select =*; proc; clean; write_cxxrtl cxxrtl-test-unconnected_output.cc"
 | 
				
			||||||
${CC:-gcc} -std=c++11 -c -o cxxrtl-test-unconnected_output -I../../backends/cxxrtl/runtime cxxrtl-test-unconnected_output.cc
 | 
					${CC:-gcc} -std=c++11 -c -o cxxrtl-test-unconnected_output -I../../backends/cxxrtl/runtime cxxrtl-test-unconnected_output.cc
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -49,6 +49,6 @@ exec ${MAKE:-make} -f ../tools/autotest.mk $seed *.v *.sv EXTRA_FLAGS="-f \"veri
 | 
				
			||||||
    clean; \
 | 
					    clean; \
 | 
				
			||||||
    check -assert * abc9_test037 %d; \
 | 
					    check -assert * abc9_test037 %d; \
 | 
				
			||||||
    select -assert-none t:${DOLLAR}_NOT_ t:${DOLLAR}_AND_ %%; \
 | 
					    select -assert-none t:${DOLLAR}_NOT_ t:${DOLLAR}_AND_ %%; \
 | 
				
			||||||
    setattr -mod -unset blackbox -unset whitebox'"
 | 
					    setattr -mod -unset blackbox -unset whitebox =*'"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# NOTE: Skip 'check -assert' on abc9_test037 because it intentionally has a combinatorial loop
 | 
					# NOTE: Skip 'check -assert' on abc9_test037 because it intentionally has a combinatorial loop
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue