mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	cxxrtl: Mask bmux result appropriately
				
					
				
			This commit is contained in:
		
							parent
							
								
									39fdde87a7
								
							
						
					
					
						commit
						449e3dbbd3
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		|  | @ -475,6 +475,7 @@ struct value : public expr_base<value<Bits>> { | |||
| 			carry = (shift_bits == 0) ? 0 | ||||
| 				: data[result.chunks + shift_chunks - 1 - n] << (chunk::bits - shift_bits); | ||||
| 		} | ||||
| 		result.data[result.chunks - 1] &= result.msb_mask; | ||||
| 		return result; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue