mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			161 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			161 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
module muliply (a,product);
 | 
						|
  	  	input [3:0] a;
 | 
						|
  	  	output [4:0] product;
 | 
						|
  	  	wire [4:0] product;
 | 
						|
  	  	 
 | 
						|
  	  	assign product  = a << 1;
 | 
						|
  	  	 
 | 
						|
endmodule
 |