mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	removed underflow from inexactct calculation
This commit is contained in:
		
							parent
							
								
									ea7b32a50b
								
							
						
					
					
						commit
						921debf930
					
				| @ -1,2 +1,2 @@ | ||||
| vsim -do "do wally-pipelined.do rv64gc arch64d" | ||||
| vsim -do "do wally-pipelined.do rv32gc wally32periph" | ||||
| 
 | ||||
|  | ||||
| @ -131,7 +131,7 @@ module flags( | ||||
| 
 | ||||
|     // Set Inexact flag if the res is diffrent from what would be outputed given infinite precision
 | ||||
|     //      - Don't set the underflow flag if an underflowed res isn't outputed
 | ||||
|     assign FpInexact = (S|Overflow|R|Underflow)&~(InfIn|NaNIn|DivByZero); | ||||
|     assign FpInexact = (S|Overflow|R)&~(InfIn|NaNIn|DivByZero); | ||||
| 
 | ||||
|     //                  if the res is too small to be represented and not 0
 | ||||
|     //                  |                                     and if the res is not invalid (outside the integer bounds)
 | ||||
|  | ||||
| @ -114,7 +114,7 @@ logic [3:0] dummy; | ||||
|         "arch32f":      if (`F_SUPPORTED) tests = arch32f; | ||||
|         "imperas32i":                     tests = imperas32i; | ||||
|         "imperas32f":   if (`F_SUPPORTED) tests = imperas32f; | ||||
|         "wally32d":     if (`D_SUPPORTED) tests = wally32d; | ||||
|         // "wally32d":     if (`D_SUPPORTED) tests = wally32d;
 | ||||
|         "imperas32m":   if (`M_SUPPORTED) tests = imperas32m; | ||||
|         "wally32a":     if (`A_SUPPORTED) tests = wally32a; | ||||
|         "imperas32c":   if (`C_SUPPORTED) tests = imperas32c; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user