mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Do not accept new frame until header is read
This commit is contained in:
parent
4d1180d74c
commit
59952bd8cf
@ -231,7 +231,7 @@ always @* begin
|
||||
// end of frame detection
|
||||
frame_next = ~current_input_tlast;
|
||||
end
|
||||
end else if (enable & selected_input_eth_hdr_valid) begin
|
||||
end else if (enable & ~output_eth_hdr_valid & selected_input_eth_hdr_valid) begin
|
||||
// start of frame, grab select value
|
||||
frame_next = 1;
|
||||
select_next = select;
|
||||
|
@ -240,7 +240,7 @@ always @* begin
|
||||
// end of frame detection
|
||||
frame_next = ~current_input_tlast;
|
||||
end
|
||||
end else if (enable & selected_input_eth_hdr_valid) begin
|
||||
end else if (enable & ~output_eth_hdr_valid & selected_input_eth_hdr_valid) begin
|
||||
// start of frame, grab select value
|
||||
frame_next = 1;
|
||||
select_next = select;
|
||||
|
@ -236,7 +236,7 @@ always @* begin
|
||||
// end of frame detection
|
||||
frame_next = ~current_input_tlast;
|
||||
end
|
||||
end else if (enable & selected_input_eth_hdr_valid) begin
|
||||
end else if (enable & ~output_eth_hdr_valid & selected_input_eth_hdr_valid) begin
|
||||
// start of frame, grab select value
|
||||
frame_next = 1;
|
||||
select_next = select;
|
||||
|
@ -251,7 +251,7 @@ always @* begin
|
||||
// end of frame detection
|
||||
frame_next = ~current_input_tlast;
|
||||
end
|
||||
end else if (enable & selected_input_eth_hdr_valid) begin
|
||||
end else if (enable & ~output_eth_hdr_valid & selected_input_eth_hdr_valid) begin
|
||||
// start of frame, grab select value
|
||||
frame_next = 1;
|
||||
select_next = select;
|
||||
|
Loading…
x
Reference in New Issue
Block a user