pluto_hdl_adi/library/axi_ad9144
Lars-Peter Clausen 169f38e7d1 ad_ip_jesd204_tpl_dac: Add support for modes with N or N' != 16
The ad_ip_jesd204_tpl_dac currently only supports JESD204 modes that have
both N and N' set to 16.

Newer DACs like the AD9172 support modes where N and N' are not equal to
16. Add support for these modes.

The width of the internal channel data path is set to N, only processing as
many bits as necessary. At the framer the data is up-sized to N' bits with
tail bits inserted as necessary. This data is then passed to the link
layer.

The width at the DMA interface is kept at 16 bits per sample regardless of
the configuration of either N or N'. This is done to keep the interface
consistent with the existing infrastructure it will connect to like upack
and DMA. The data is expected to the LSB aligned, the unused MSBs will be
ignored.

Same is true for the test-pattern data registers. These register keep their
existing 16-bit layout, but unused MSBs will be ignored by the core.

The PN generators are modified to create only N bits of data per sample.

Note that while the core can now support modes with N' = 12 there is still
the restriction that requires the number of frames per beat to be an even
number. Which means that not all modes with N' = 12 can be supported yet.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2018-08-23 18:35:30 +03:00
..
Makefile axi_ad9144: Updates for ad_dds phase acc wrapper 2018-07-18 18:19:30 +03:00
axi_ad9144.v ad_ip_jesd204_tpl_dac: Add support for modes with N or N' != 16 2018-08-23 18:35:30 +03:00
axi_ad9144_constr.xdc
axi_ad9144_hw.tcl axi_ad91{44,52}: hw.tcl: Add missing file 2018-08-23 18:35:30 +03:00
axi_ad9144_ip.tcl axi_ad9144: Hide unused ports in DUAL mode 2018-05-02 17:21:20 +02:00