mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			234 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			234 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/bash
 | 
						|
set -e
 | 
						|
 | 
						|
for x in *.lib; do
 | 
						|
	echo "Running $x.."
 | 
						|
    echo "read_verilog small.v" > test.ys
 | 
						|
    echo "synth -top small" >> test.ys
 | 
						|
    echo "dfflibmap -liberty ${x}" >> test.ys
 | 
						|
	../../yosys -ql ${x%.lib}.log -s test.ys
 | 
						|
done
 |