olofk / ipyxact

Python-based IP-XACT parser
MIT License
121 stars 47 forks source link

Loading Xilinx File failes (root.tag == S+self._tag) #21

Closed Botnic closed 8 months ago

Botnic commented 4 years ago

Hello

I'm completely new to this topic. I would like to read and modify a Xilinx xci file.

f1 = open('axis_switch_0.xci', 'r') from ipyxact.ipyxact import Component c1 = Component() c1.load(f1)

Traceback (most recent call last): File "", line 1, in File "ipyxact.py", line 106, in load raise Exception

What am I doing wrong? The parsed file is attached. axis_switch_0.xci.zip

Thank you for your help

olofk commented 8 months ago

The issue is that the xci file describes an IP-XACT design file, and not a component. The new API handles design files as well, but it is only available for IP-XACT 2014 and Vivado still only support IP-XACT 2009