axi_adxcvr: Avoid implicit signal truncation warning

We know that NUM_OF_LANES will never exceed 255, but the tools don't know
and generate a warning about implicit signal truncation. Make the
truncation explicit to indicate that this is intentional.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2017-08-07 06:50:41 +02:00
parent 28801f2f37
commit c51517f548
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ module axi_adxcvr_up #(
assign up_rparam_s[15: 9] = 7'd0;
assign up_rparam_s[ 8: 8] = (TX_OR_RX_N == 0) ? 1'b0 : 1'b1;
assign up_rparam_s[ 7: 0] = NUM_OF_LANES;
assign up_rparam_s[ 7: 0] = NUM_OF_LANES[7:0];
// read interface