mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
| (* cxxrtl_blackbox *)
 | |
| module blackbox(...);
 | |
|     (* cxxrtl_edge = "p" *)
 | |
|     input clk;
 | |
| 
 | |
|     (* cxxrtl_sync *)
 | |
|     output [7:0] out1;
 | |
| 
 | |
|     (* cxxrtl_sync *)
 | |
|     output [7:0] out2;
 | |
| endmodule
 | |
| 
 | |
| module unconnected_output(
 | |
|     input  clk,
 | |
|            in,
 | |
|     output out
 | |
| );
 | |
|     blackbox bb (
 | |
|         .clock (clock),
 | |
|         .in    (in),
 | |
|         .out1  (out),
 | |
|         .out2  (/* unconnected */),
 | |
|     );
 | |
| endmodule
 |