mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			340 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| set -ex
 | |
| 
 | |
| rm -rf temp
 | |
| mkdir -p temp
 | |
| 
 | |
| ../../yosys -p 'test_cell -muxdiv -w temp/test all'
 | |
| rm -f temp/test_{alu,fa,lcu,lut,macc,shiftx}_*
 | |
| 
 | |
| cat > temp/makefile << "EOT"
 | |
| all: $(addsuffix .ok,$(basename $(wildcard temp/test_*.il)))
 | |
| %.ok: %.il
 | |
| 	bash run-single.sh $(basename $<)
 | |
| 	touch $@
 | |
| EOT
 | |
| 
 | |
| ${MAKE:-make} -f temp/makefile
 | |
| 
 |