analogdevicesinc / hdl

HDL libraries and projects
https://wiki.analog.com/resources/fpga/docs/hdl
Other
1.53k stars 1.52k forks source link

ad9081: common: ad9081_fmca_ebz_bd: Fix number of quads calculation #1524

Open bluncan opened 2 days ago

bluncan commented 2 days ago

PR Description

The old formula would result in '0' quads when L was less than 4 and would not properly connect the serial lanes to the PHY. Replacing the round with ceil fixes that.

PR Type

PR Checklist