mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			274 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			274 B
		
	
	
	
		
			Text
		
	
	
	
	
	
read_verilog <<EOT
 | 
						|
module top(input a, output y);
 | 
						|
assign y = !a;
 | 
						|
endmodule
 | 
						|
EOT
 | 
						|
 | 
						|
prep -top top
 | 
						|
write_verilog write_gzip.v.gz
 | 
						|
design -reset
 | 
						|
 | 
						|
! rm -f write_gzip.v
 | 
						|
! gunzip write_gzip.v.gz
 | 
						|
read_verilog write_gzip.v
 | 
						|
! rm -f write_gzip.v
 | 
						|
hierarchy -top top
 | 
						|
select -assert-any top
 |