5.8.1. Single SC_THREAD and wait() calls

All exported models from a System Generator EVP are exported within a single SC_Thread. Therefore all initiators on the System Generator side are seen from the SystemC scheduler as a single component.

Figure 5.12 shows a scenario where two cores in an EVP issue a transaction to peripherals modeled in SystemC (Peripheral 1 and 2). Both peripherals call wait(10ms) to finish the transaction. This results in an overall delay of 20ms. The correct delay would be 10ms if both Cores in the EVP were modeled in a separate SC_THREAD.

Figure 5.12. SC_THREAD wrapper for exported components


Peripherals used with temporal decoupled models must not call wait(). It is recommended to model peripherals in a way to avoid wait() calls as EVP target functional correct behavior but is not timing accurate. This limitation will be removed in a future release.

Copyright © 2007-2009 ARM Limited. All rights reserved.ARM DUI 0370H