xilinx/axi_adxcvr/axi_adxcvr_mdrp: Fix read if all channels are selected
If all channels are selected for read the values and ready signals from every transceiver are combined. Each element merges his signals with the previous. The first element of the chain must assume the previous channel is always ready.main
parent
2995f78751
commit
20161cf458
|
@ -116,7 +116,7 @@ module axi_adxcvr_mdrp (
|
||||||
up_rdata_i <= 16'd0;
|
up_rdata_i <= 16'd0;
|
||||||
up_ready_i <= 1'b0;
|
up_ready_i <= 1'b0;
|
||||||
end else begin
|
end else begin
|
||||||
if (up_ready_in == 1'b1) begin
|
if (up_ready_in == 1'b1 || XCVR_ID == 0) begin
|
||||||
up_rdata_i <= up_rdata_in;
|
up_rdata_i <= up_rdata_in;
|
||||||
up_ready_i <= 1'b1;
|
up_ready_i <= 1'b1;
|
||||||
end else if (up_enb == 1'b1) begin
|
end else if (up_enb == 1'b1) begin
|
||||||
|
|
Loading…
Reference in New Issue