Segmentation fault on running SystemC executable

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:

Fullscreen
1
2
3
4
5
Fast Models [11.28.23 (Feb 17 2025)]
Copyright 2000-2025 ARM Limited.
All Rights Reserved.
Segmentation fault
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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.

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

0