mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-28 18:29:25 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			130 B
		
	
	
	
		
			Systemverilog
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			130 B
		
	
	
	
		
			Systemverilog
		
	
	
	
	
	
| module top (
 | |
|     input signed [1:0] a,
 | |
|     input signed [2:0] b,
 | |
|     output signed [4:0] c
 | |
| );
 | |
|     assign c = 2'(a) * b;
 | |
| endmodule
 |