Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: Leon on October 04, 2016, 03:00:54 PM

Title: IRQ_F2P interrupt width does not change after apply_board_preset
Post by: Leon on October 04, 2016, 03:00:54 PM
Hi,
Normally when you instantiate the ZYNQ7 Processing System in Vivado (2016.2) you can enable multiple IRQ_F2P interrupt inputs with:
The above is as described in https://forums.xilinx.com/t5/Embedded-Processor-System-Design/How-to-use-more-than-one-IRQ-F2P-interrupt/td-p/514661

I have been doing this after applying the old style board presets using:
set_property CONFIG.PCW_IMPORT_BOARD_PRESET   {TE0720-01_a.xml}  [get_bd_cells /processing_system7_0]
and it all works fine.

I am moving over to the new board description files by using:
set_property board_part trenz.biz:te0720_1cr:part0:1.0 [current_project]
...
apply_bd_automation -rule ... apply_board_preset "1" ...

This correctly applies the presets, but the width update of IRQ_F2P does not occur any more. It does not matter even if I correctly set the IRQ_F2P width before applying the preset - it just gets set back to [0:0].

I have tried removing parts of the preset.xml file, but I have to remove the entire <ip_preset preset_proc_name="ps7_preset"> ... </ip_preset> section before the interrupt width is able to be set correctly.

Is there a bug somewhere? Are you able to provide the current set of presets (for TE0720-1CR) as a CONFIG.PCW_IMPORT_BOARD_PRESET so that I can make progress?

Regards
Leon
Title: Re: IRQ_F2P interrupt width does not change after apply_board_preset
Post by: Antti Lukats on October 04, 2016, 04:39:52 PM
is known issue is being fixed..
Title: Re: IRQ_F2P interrupt width does not change after apply_board_preset
Post by: Leon on October 04, 2016, 05:40:26 PM
OK.
A known issue where: Vivado, .xml?
Who is fixing it: Trenz or Xilinx?
When are they expecting a fix, will it require a Vivado update?

Thanks.
Title: Re: IRQ_F2P interrupt width does not change after apply_board_preset
Post by: Antti Lukats on October 04, 2016, 06:17:48 PM
we are fixing it, the script did change some READ ONLY properties, so they can not be changed later.

Title: Re: IRQ_F2P interrupt width does not change after apply_board_preset
Post by: JH on October 05, 2016, 10:10:51 AM
Hi,
open the boardpart file TE0720_1CR\1.0\preset.xml with texteditor and delete the following line:<user_parameter  name="CONFIG.PCW_NUM_F2P_INTR_INPUTS" value="1"/>
Recreate the project and the property should be set automatically after validation. We change the board part files this week and upload a new version on our download site.
br
John
Title: Re: IRQ_F2P interrupt width does not change after apply_board_preset
Post by: Leon on October 05, 2016, 10:42:16 AM
Thanks - that worked.

I had tried removing this from preset.xml before, but it reads the file earlier in the flow (set_property ip_repo_paths ??), not when the apply_board_preset command is issued, so it had no effect.

Thanks
Leon