mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-28 18:29:25 +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 .
 |