verilog-ethernet
verilog-ethernet copied to clipboard
fix overflow in parameter sizes for ARP timeouts
ARP sends a request 4 times with a 2 second delay then should wait for 30s before dropping packet. The parameter declarations and literals default to integer (signed 32 bit). The 30 sec cycle count doesn't fit in 31 bits of integer and overflows, result is a 9min wait before dropping packet.
log2(125000000 * 2) = 27.89 log2(125000000 * 30) = 31.80 (overflow)
Is this issue rectified the lastest repo
Is this issue rectified the lastest repo
No, I don't believe it is.