axi_jesd204_rx: Ignore events if link not enabled

When the link is disabled the events can be ignored.
This is required by the free running event counter that can catch
invalid events during startup cased for example by an invalid link clock.
main
Laszlo Nagy 2020-09-25 07:09:04 +01:00 committed by Laszlo Nagy
parent aa4de79045
commit 0ecf4254ec
1 changed files with 2 additions and 1 deletions

View File

@ -162,7 +162,8 @@ sync_event #(
assign up_irq_trigger = {3'b0, assign up_irq_trigger = {3'b0,
up_event_unexpected_lane_state_error, up_event_unexpected_lane_state_error,
up_event_frame_alignment_error}; up_event_frame_alignment_error} &
{5{~up_cfg_is_writeable}};
up_axi #( up_axi #(
.AXI_ADDRESS_WIDTH (14) .AXI_ADDRESS_WIDTH (14)