diff --git a/target/sim/sw/host/apps/offload/src/offload.c b/target/sim/sw/host/apps/offload/src/offload.c index dab7df9b1..bcf6a8234 100644 --- a/target/sim/sw/host/apps/offload/src/offload.c +++ b/target/sim/sw/host/apps/offload/src/offload.c @@ -15,6 +15,10 @@ int main() { // Program Snitch entry point and communication buffer program_snitches(); + // Compiler fence to ensure Snitch entry point is + // programmed before Snitches are woken up + asm volatile("" ::: "memory"); + // Start Snitches wakeup_snitches_cl();