UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor rgebauer
Visitor
187 Views
Registered: ‎07-17-2017

RF Data Converter cannot be configured in Vivado 2018.3

I just tried to update an existing (and running) project for the ZCU111 evaluation board, running with Vivado 2018.2.1, to the new Vivado 2018.3. I encountered multiple problems, for some I found a workaround but some seem to be unresolveable...

My system: Vivado 2018.3 on CentOS 7.5, using locale de_DE.utf8

Steps to reproduce:
- Open new Vivado Project for ZCU111
- Add "RF Data Converter" (RFdc) IP core
- Double click to configure
- Activate DAC
- Set some Sampling rate, e.g. 4 GSPS, and configure the DAC, e.g. 4 Samples per AXIS cycle and 8x interpolation.

1. Trying to configure the RFdc block, I always got errors like the following although the same configuration worked fine in Vivado 2018.2:

Invalid long/float value '125,000' specified for parameter 'AXI4-Stream Clock (MHz)(DAC1_Fabric_Freq)' for BD Cell 'usp_rf_data_converter_0'.

 It turned out that the numbers are correctly parsed but internally at some point probably represented as string again, using the locale number format but to parse, the English format is used. (see the comma in the number)
Quick fix (Linux): prepend "LC_ALL=en_GB.utf8" in front of the Vivado command. -> should be fixed nevertheless

2. When trying to set the decimation mode of the ADC, I get the following error:

ERROR: [IP_Flow 19-3461] Value '8' is out of the range for parameter 'Decimation Mode(ADC_Decimation_Mode01)' for BD Cell 'rfdc' . Valid values are - 0
ERROR: [IP_Flow 19-3461] Value '8' is out of the range for parameter 'Decimation Mode(ADC_Decimation_Mode03)' for BD Cell 'rfdc' . Valid values are - 0

The same error appears when configuring the block in the Vivado GUI although nothing on the screen is marked in red before and it seems to work fine...

Screenshot_2019-01-08_15_11_30.pngNo error in GUI but clicking "OK" results in these errors.

Any help is appreciated. For me it seems like this is a bug but maybe I am just missing a right configuration?

I also experienced some strange behaviour in the Configuration GUI overall, missing and unsorted entries in dropdown lists, quite long delays after changing a value before other fields are re-evaluated...

5 Replies
Moderator
Moderator
172 Views
Registered: ‎04-18-2011

Re: RF Data Converter cannot be configured in Vivado 2018.3

There is a known issue with upgrading to 2018.3.

It is to do with DAC interpolation. 

https://www.xilinx.com/support/answers/71853.html

However it doesn't match what you are seeing here. 

I would suspect the problem is with the locale.

Is there a way for you to temporarily change it to say en_US.UTF-8?

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Visitor rgebauer
Visitor
168 Views
Registered: ‎07-17-2017

Re: RF Data Converter cannot be configured in Vivado 2018.3

Hi @klumsde
Thanks for your fast response.
The first problem is due to the locale, and I could "fix" it by defining "LC_ALL=en_GB.utf8" which temporarily sets the locale for Vivado to GB.
The second problem is unaffected by this change and persists also with changed locale (both in TCL batch mode and in the GUI).
0 Kudos
Moderator
Moderator
136 Views
Registered: ‎04-18-2011

Re: RF Data Converter cannot be configured in Vivado 2018.3

OK let me give this a try from scratch here. 

If I can reproduce I can flag it with the IP team

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
52 Views
Registered: ‎04-18-2011

Re: RF Data Converter cannot be configured in Vivado 2018.3

Hi @rgebauer

I have tried this myself and can't see an issue.

I didn't use CentOS since it is not easily available. 

can you try do this with a script?

Keith 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
47 Views
Registered: ‎04-18-2011

Re: RF Data Converter cannot be configured in Vivado 2018.3

For Example

 

create_ip -name usp_rf_data_converter -vendor xilinx.com -library ip -version 2.1 -module_name usp_rf_data_converter_0
set_property -dict [list CONFIG.ADC0_Sampling_Rate {4} CONFIG.ADC0_Refclk_Freq {4000.000} CONFIG.ADC0_Outclk_Freq {125.000} CONFIG.ADC0_Fabric_Freq {125.000} CONFIG.ADC_Decimation_Mode00 {8} CONFIG.ADC_Data_Width00 {4} CONFIG.ADC_Decimation_Mode01 {8} CONFIG.ADC_Data_Width01 {4} CONFIG.ADC_Slice02_Enable {true} CONFIG.ADC_Decimation_Mode02 {8} CONFIG.ADC_Mixer_Type02 {0} CONFIG.ADC_Data_Width02 {4} CONFIG.ADC_Slice03_Enable {true} CONFIG.ADC_Decimation_Mode03 {8} CONFIG.ADC_Mixer_Type03 {0} CONFIG.ADC_Data_Width03 {4} CONFIG.DAC0_Enable {1} CONFIG.DAC0_Sampling_Rate {4} CONFIG.DAC0_Refclk_Freq {4000.000} CONFIG.DAC0_Outclk_Freq {125.000} CONFIG.DAC0_Fabric_Freq {125.000} CONFIG.DAC_Slice00_Enable {true} CONFIG.DAC_Data_Width00 {4} CONFIG.DAC_Interpolation_Mode00 {8} CONFIG.DAC_Mixer_Type00 {0} CONFIG.DAC_Slice01_Enable {true} CONFIG.DAC_Data_Width01 {4} CONFIG.DAC_Interpolation_Mode01 {8} CONFIG.DAC_Mixer_Type01 {0}] [get_ips usp_rf_data_converter_0]
generate_target {instantiation_template} [get_files /home/klumsde/rfdc_ip_forum/rfdc_ip_forum.srcs/sources_1/ip/usp_rf_data_converter_0_1/usp_rf_data_converter_0.xci]

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos