We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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