mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	ALU lint fixes
This commit is contained in:
		
							parent
							
								
									ed6a0466ad
								
							
						
					
					
						commit
						02a7dc45f0
					
				| @ -67,6 +67,7 @@ module alu #(parameter WIDTH=32) ( | ||||
|         11'b0010000_110_1: CondShiftA = {{29{1'b0}},A[31:0], {3'b0}}; //sh3add.uw
 | ||||
|         default: CondShiftA = A; | ||||
|       endcase | ||||
|     end | ||||
|   else begin | ||||
|     assign CondShiftA = A; | ||||
|   end | ||||
| @ -88,8 +89,8 @@ module alu #(parameter WIDTH=32) ( | ||||
|       endcase | ||||
|     end | ||||
|   else begin | ||||
|     InvB = 1'b0; | ||||
|     Rotate = 1'b0; | ||||
|     assign InvB = 1'b0; | ||||
|     assign Rotate = 1'b0; | ||||
|   end | ||||
| 
 | ||||
|   assign CondInvB = (SubArith | InvB) ? ~B : B; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user