kactus2 / kactus2dev

Kactus2 is a graphical EDA tool based on the IP-XACT standard.
https://research.tuni.fi/system-on-chip/tools/
GNU General Public License v2.0
191 stars 34 forks source link

Verilog Source Skeleton Code Generation Segmentation Fault. #75

Closed AmeyaVS closed 1 year ago

AmeyaVS commented 1 year ago

It seems IP-XACT modules with parameter Verilog Skeleton generation is broken currently it causes the tool to crash with Segmentation Fault. I have narrowed it down to the following commit changes: https://github.com/kactus2/kactus2dev/commit/32f2cad75b19fcb9486ff8caa265daf7bfa79673.

AmeyaVS commented 1 year ago

I have a PR open #74 which has a workaround for this issue.

AmeyaVS commented 1 year ago

Here is a sample minimal IP-XACT Captured in Kactus2, unable to create skeleton Verilog module. Try importing the said module in Kactus2 Library. crc.1.0.xml.txt

Unlock the said document and try creating a Skeleton Verilog Source using the Verilog Generator. The GUI crashes immediately.

AmeyaVS commented 1 year ago

Have reverted the changes for this issue in the PR #74, based on comments received on the PR.