mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Wait for header instead of payload
This commit is contained in:
parent
96f1e432f4
commit
46c29160ff
@ -149,7 +149,7 @@ always @* begin
|
||||
// idle state - wait for data
|
||||
frame_ptr_next = 0;
|
||||
|
||||
if (input_eth_payload_tvalid) begin
|
||||
if (input_eth_hdr_valid) begin
|
||||
store_eth_hdr = 1;
|
||||
write_hdr_out = 1;
|
||||
write_hdr_data = input_eth_dest_mac[47:40];
|
||||
|
@ -167,7 +167,7 @@ always @* begin
|
||||
// idle state - wait for data
|
||||
frame_ptr_next = 0;
|
||||
|
||||
if (input_eth_payload_tvalid) begin
|
||||
if (input_eth_hdr_valid) begin
|
||||
store_eth_hdr = 1;
|
||||
write_hdr_out = 1;
|
||||
write_hdr_data[ 7: 0] = input_eth_dest_mac[47:40];
|
||||
|
Loading…
x
Reference in New Issue
Block a user