mirror of
https://github.com/alexforencich/verilog-ethernet.git
synced 2025-01-14 06:43:18 +08:00
Fix constants
This commit is contained in:
parent
5428d81fd6
commit
1bec485766
@ -284,7 +284,7 @@ always @* begin
|
||||
outgoing_arp_tha_next = incoming_arp_sha;
|
||||
outgoing_arp_tpa_next = incoming_arp_spa;
|
||||
end
|
||||
end else if (incoming_arp_oper == ARP_OPER_INARP_REPLY) begin
|
||||
end else if (incoming_arp_oper == ARP_OPER_INARP_REQUEST) begin
|
||||
// INARP request
|
||||
if (incoming_arp_tha == local_mac) begin
|
||||
// send reply frame to valid incoming request
|
||||
|
@ -288,7 +288,7 @@ always @* begin
|
||||
outgoing_arp_tha_next = incoming_arp_sha;
|
||||
outgoing_arp_tpa_next = incoming_arp_spa;
|
||||
end
|
||||
end else if (incoming_arp_oper == ARP_OPER_INARP_REPLY) begin
|
||||
end else if (incoming_arp_oper == ARP_OPER_INARP_REQUEST) begin
|
||||
// INARP request
|
||||
if (incoming_arp_tha == local_mac) begin
|
||||
// send reply frame to valid incoming request
|
||||
|
Loading…
x
Reference in New Issue
Block a user