mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Minor "make vgtest" changes
This commit is contained in:
		
							parent
							
								
									6d2f31c04a
								
							
						
					
					
						commit
						0fcc8c1467
					
				
					 2 changed files with 6 additions and 2 deletions
				
			
		|  | @ -286,7 +286,8 @@ Run all tests with "make config-{clang,gcc,gcc-4.6}": | ||||||
| 
 | 
 | ||||||
| 	cd ~yosys | 	cd ~yosys | ||||||
| 	make clean | 	make clean | ||||||
| 	make test vloghtb | 	make test | ||||||
|  | 	make vloghtb | ||||||
| 	make install | 	make install | ||||||
| 
 | 
 | ||||||
| 	cd ~yosys-bigsim | 	cd ~yosys-bigsim | ||||||
|  | @ -301,6 +302,9 @@ Run all tests with "make config-{clang,gcc,gcc-4.6}": | ||||||
| 
 | 
 | ||||||
| Then with default config setting: | Then with default config setting: | ||||||
| 
 | 
 | ||||||
|  | 	cd ~yosys | ||||||
|  | 	make vgtest | ||||||
|  | 
 | ||||||
| 	cd ~yosys | 	cd ~yosys | ||||||
| 	./yosys -p 'proc; show' tests/simple/fiedler-cooley.v | 	./yosys -p 'proc; show' tests/simple/fiedler-cooley.v | ||||||
| 	./yosys -p 'proc; opt; show' tests/simple/fiedler-cooley.v | 	./yosys -p 'proc; opt; show' tests/simple/fiedler-cooley.v | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -320,7 +320,7 @@ test: $(TARGETS) $(EXTRA_TARGETS) | ||||||
| VALGRIND ?= valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes --errors-for-leak-kinds=all | VALGRIND ?= valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes --errors-for-leak-kinds=all | ||||||
| 
 | 
 | ||||||
| vgtest: $(TARGETS) $(EXTRA_TARGETS) | vgtest: $(TARGETS) $(EXTRA_TARGETS) | ||||||
| 	$(VALGRIND) ./yosys -p 'setattr -mod -unset top; hierarchy; proc; opt; memory -nomap; opt -fine; techmap; opt' $$( ls tests/simple/*.v | grep -v repwhile.v ) | 	$(VALGRIND) ./yosys -p 'setattr -mod -unset top; synth' $$( ls tests/simple/*.v | grep -v repwhile.v ) | ||||||
| 	@echo "" | 	@echo "" | ||||||
| 	@echo "  Passed \"make vgtest\"." | 	@echo "  Passed \"make vgtest\"." | ||||||
| 	@echo "" | 	@echo "" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue