mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			183 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			183 B
		
	
	
	
		
			Text
		
	
	
	
	
	
read_verilog <<EOT
 | 
						|
module top();
 | 
						|
    wire array[0:0];
 | 
						|
    wire out;
 | 
						|
    sub #(.d(1)) inst(
 | 
						|
        .in(array[0]),
 | 
						|
        .out(out)
 | 
						|
    );
 | 
						|
endmodule
 | 
						|
EOT
 | 
						|
 | 
						|
hierarchy -top top -libdir .
 |