ad_ip_jesd204_tpl_dac: Add Platform Designer presets

Most converters refer to their different operating modes as a "Mode X"
(where X is a number) in their datasheet. Each mode has a specific framer
configuration associated with it.

Provide a set of Platform Designer (previously known as Qsys) preset files
for each mode. This allows to quickly select a specific operating mode
without having to lookup the corresponding framer configuration from the
datasheet.

A preset can be selected either in the Platform Designer GUI or from a tcl
script using the apply_preset command. E.g.

  add_instance ad9172_transport ad_ip_jesd204_tpl_dac
  apply_preset ad9172_transport "AD9172 Mode 10"

The preset files are generated using the scripts/generate_presets.py
script and the scripts/modes.txt file.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
main
Lars-Peter Clausen 2018-08-08 10:40:28 +02:00 committed by István Csomortáni
parent 0636b7f098
commit 3c5e53ec12
10 changed files with 818 additions and 0 deletions

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9135 Mode 08" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9135">
<parameter name="PART" value="AD9135" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9135 Mode 09" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9135">
<parameter name="PART" value="AD9135" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9135 Mode 10" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9135">
<parameter name="PART" value="AD9135" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9135 Mode 11" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9135">
<parameter name="PART" value="AD9135" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9135 Mode 12" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9135">
<parameter name="PART" value="AD9135" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9135 Mode 13" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9135">
<parameter name="PART" value="AD9135" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
</presets></ip>

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9136 Mode 08" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9136">
<parameter name="PART" value="AD9136" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9136 Mode 09" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9136">
<parameter name="PART" value="AD9136" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9136 Mode 10" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9136">
<parameter name="PART" value="AD9136" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9136 Mode 11" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9136">
<parameter name="PART" value="AD9136" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9136 Mode 12" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9136">
<parameter name="PART" value="AD9136" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9136 Mode 13" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9136">
<parameter name="PART" value="AD9136" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
</presets></ip>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9144 Mode 00" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 01" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 02" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 03" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 04" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 05" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 06" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 07" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 09" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9144 Mode 10" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9144">
<parameter name="PART" value="AD9144" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
</presets></ip>

View File

@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9152 Mode 04" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9152">
<parameter name="PART" value="AD9152" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9152 Mode 05" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9152">
<parameter name="PART" value="AD9152" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9152 Mode 06" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9152">
<parameter name="PART" value="AD9152" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9152 Mode 07" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9152">
<parameter name="PART" value="AD9152" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9152 Mode 09" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9152">
<parameter name="PART" value="AD9152" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9152 Mode 10" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9152">
<parameter name="PART" value="AD9152" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
</presets></ip>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9154 Mode 00" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 01" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 02" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 03" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 04" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 05" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 06" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 07" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 09" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9154 Mode 10" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9154">
<parameter name="PART" value="AD9154" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
</presets></ip>

View File

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9171 Mode 00" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9171">
<parameter name="PART" value="AD9171" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9171 Mode 03" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9171">
<parameter name="PART" value="AD9171" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9171 Mode 05" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9171">
<parameter name="PART" value="AD9171" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="12" />
<parameter name="BITS_PER_SAMPLE" value="12" />
</preset>
</presets></ip>

View File

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9172 Mode 00" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 01" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 02" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="6" />
<parameter name="NUM_LANES" value="3" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 03" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 04" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 05" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="12" />
<parameter name="BITS_PER_SAMPLE" value="12" />
</preset>
<preset name="AD9172 Mode 06" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="12" />
<parameter name="BITS_PER_SAMPLE" value="12" />
</preset>
<preset name="AD9172 Mode 07" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 08" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 09" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 10" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 11" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="4" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 12" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="8" />
<parameter name="CONVERTER_RESOLUTION" value="12" />
<parameter name="BITS_PER_SAMPLE" value="12" />
</preset>
<preset name="AD9172 Mode 18" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 19" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="4" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 20" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="4" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9172 Mode 21" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9172">
<parameter name="PART" value="AD9172" />
<parameter name="NUM_CHANNELS" value="1" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="8" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
</presets></ip>

View File

@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<ip><presets version="17.1">
<preset name="AD9173 Mode 00" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 01" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 02" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="6" />
<parameter name="NUM_LANES" value="3" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 03" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 04" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 05" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="12" />
<parameter name="BITS_PER_SAMPLE" value="12" />
</preset>
<preset name="AD9173 Mode 06" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="2" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="12" />
<parameter name="BITS_PER_SAMPLE" value="12" />
</preset>
<preset name="AD9173 Mode 07" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="4" />
<parameter name="NUM_LANES" value="1" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 08" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 09" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="16" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 13" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="CONVERTER_RESOLUTION" value="11" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 14" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="4" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="11" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 15" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="2" />
<parameter name="CONVERTER_RESOLUTION" value="11" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 16" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="4" />
<parameter name="CONVERTER_RESOLUTION" value="11" />
<parameter name="BITS_PER_SAMPLE" value="16" />
</preset>
<preset name="AD9173 Mode 17" kind="ad_ip_jesd204_tpl_dac" version="All" description="AD9173">
<parameter name="PART" value="AD9173" />
<parameter name="NUM_CHANNELS" value="2" />
<parameter name="NUM_LANES" value="8" />
<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />
<parameter name="SAMPLES_PER_FRAME_MANUAL" value="8" />
<parameter name="CONVERTER_RESOLUTION" value="11" />
<parameter name="BITS_PER_SAMPLE" value="12" />
</preset>
</presets></ip>

View File

@ -0,0 +1,48 @@
#!/usr/bin/env python3
import math
import os
import sys
path = os.path.dirname(sys.argv[0])
f = open(os.path.join(path, 'modes.txt'))
conv = {}
for l in f:
if l[0] == "#":
continue
x = l.split()
if len(x) == 0:
continue
if len(x) == 1:
name = x[0]
modes = []
conv[name] = modes
continue
modes.append(list(map(int, x)))
f.close()
for name, modes in conv.items():
f = open(os.path.join(path, '..', '{}.qprs'.format(name)), 'w')
f.write('<?xml version="1.0" encoding="UTF-8"?>\n<ip><presets version="17.1">\n')
for m in modes:
f.write('\t<preset name="{} Mode {:02d}" kind="ad_ip_jesd204_tpl_dac" version="All" description="{}">\n'.format(name, m[0], name))
f.write('\t\t<parameter name="PART" value="{}" />\n'.format(name))
f.write('\t\t<parameter name="NUM_CHANNELS" value="{}" />\n'.format(m[1]))
f.write('\t\t<parameter name="NUM_LANES" value="{}" />\n'.format(m[2]))
if math.gcd(m[4], m[3]) != 1:
f.write('\t\t<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="1" />\n')
else:
f.write('\t\t<parameter name="ENABLE_SAMPLES_PER_FRAME_MANUAL" value="0" />\n')
f.write('\t\t<parameter name="SAMPLES_PER_FRAME_MANUAL" value="{}" />\n'.format(m[3]))
f.write('\t\t<parameter name="CONVERTER_RESOLUTION" value="{}" />\n'.format(m[6]))
f.write('\t\t<parameter name="BITS_PER_SAMPLE" value="{}" />\n'.format(m[7]))
f.write('\t</preset>\n')
f.write('</presets></ip>\n')
f.close()

View File

@ -0,0 +1,89 @@
# Mode M L S F HD N NP
AD9135
8 1 4 2 1 1 16 16
9 1 2 1 1 1 16 16
10 1 1 1 2 0 16 16
11 2 8 2 1 1 16 16
12 2 4 1 1 1 16 16
13 2 2 1 2 0 16 16
AD9136
8 1 4 2 1 1 16 16
9 1 2 1 1 1 16 16
10 1 1 1 2 0 16 16
11 2 8 2 1 1 16 16
12 2 4 1 1 1 16 16
13 2 2 1 2 0 16 16
AD9144
0 4 8 1 1 1 16 16
1 4 8 2 2 0 16 16
2 4 4 1 2 0 16 16
3 4 2 1 4 0 16 16
4 2 4 1 1 1 16 16
5 2 4 2 2 0 16 16
6 2 2 1 2 0 16 16
7 2 1 1 4 0 16 16
9 1 2 1 1 1 16 16
10 1 1 1 2 0 16 16
AD9152
4 2 4 1 1 1 16 16
5 2 4 2 2 0 16 16
6 2 2 1 2 0 16 16
7 2 1 1 4 0 16 16
9 1 2 1 1 1 16 16
10 1 1 1 2 0 16 16
AD9154
0 4 8 1 1 1 16 16
1 4 8 2 2 0 16 16
2 4 4 1 2 0 16 16
3 4 2 1 4 0 16 16
4 2 4 1 1 1 16 16
5 2 4 2 2 0 16 16
6 2 2 1 2 0 16 16
7 2 1 1 4 0 16 16
9 1 2 1 1 1 16 16
10 1 1 1 2 0 16 16
AD9171
0 2 1 1 4 1 16 16
3 2 2 1 2 1 16 16
5 2 1 1 3 1 12 12
AD9172
0 2 1 1 4 1 16 16
1 4 2 1 4 1 16 16
2 6 3 1 4 1 16 16
3 2 2 1 2 1 16 16
4 4 4 1 2 1 16 16
5 2 1 1 3 1 12 12
6 4 2 1 3 1 12 12
7 4 1 1 8 1 16 16
8 2 4 1 1 1 16 16
9 2 4 2 2 1 16 16
10 2 8 2 1 1 16 16
11 2 8 4 2 1 16 16
12 2 8 8 3 1 12 12
18 1 4 2 1 1 16 16
19 1 4 4 2 1 16 16
20 1 8 4 1 1 16 16
21 1 8 8 2 1 16 16
AD9173
0 2 1 1 4 1 16 16
1 4 2 1 4 1 16 16
2 6 3 1 4 1 16 16
3 2 2 1 2 1 16 16
4 4 4 1 2 1 16 16
5 2 1 1 3 1 12 12
6 4 2 1 3 1 12 12
7 4 1 1 8 1 16 16
8 2 4 1 1 1 16 16
9 2 4 2 2 1 16 16
13 2 4 1 1 1 11 16
14 2 4 2 2 1 11 16
15 2 8 2 1 1 11 16
16 2 8 4 2 1 11 16
17 2 8 8 3 1 11 12