mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			255 B
		
	
	
	
		
			Text
		
	
	
	
	
	
read_verilog <<EOT
 | 
						|
(* blackbox *)
 | 
						|
module bb(input i, output o);
 | 
						|
endmodule
 | 
						|
 | 
						|
(* whitebox *)
 | 
						|
module wb(input i, output o);
 | 
						|
assign o = ~i;
 | 
						|
endmodule
 | 
						|
 | 
						|
module top(input i, output o);
 | 
						|
assign o = ~i;
 | 
						|
endmodule
 | 
						|
EOT
 | 
						|
 | 
						|
design -stash gate
 | 
						|
design -import gate -as gate
 |