Develop, test and validate embedded code


When developing embedded control algorithms engineers often wish to test their code by executing it inside a circuit simulator. With the PLECS PIL package, this can be done by tying actual code executing on real hardware into the virtual world of a PLECS model.


Instead of reading the physical sensors, values calculated by the simulation tool are used as inputs to the embedded algorithm. Similarly, outputs of the control algorithms executing on the processor are fed back into the simulation to drive the virtual environment.


This approach can expose platform-specific software defects such as overflow conditions and casting errors. PIL simulations can also detect and analyze potential problems related to the multi-threaded execution of control algorithms, including jitter and resource corruption.




A specialized PIL Block serves as the interface between simulation model and embedded processor. We also provide a collection of high-fidelity peripheral models to accurately model the behavior of advanced MCU periphals such as ADC, PWM and Capture modules.


Embedded Framework


Included with the PLECS PIL package are PIL Framework libraries with support for embedded processor families used in power conversion applications. Several communication interfaces are supported by the frameworks and by PLECS to efficiently link the processor with the circuit simulator.

Supported Embedded Processors.


Currently, the PLECS PIL package offers support for the following MCUs :


  • TI C2000 Family (including latest Delfino dual-core processors)
  • ST STM32F4 Series
  • Microchip dsPIC33F (MC version)


SKU: 284215376135191
Price Options
One-time purchase
PLECS Annual Leasing
PLECS License Annual Lease Program (1Year)
S$5,000.00yearly/ auto-renew
  • PLECS licenses are typically tied to a combination of your personal login name and the 12-character hexadecimal MAC address of the local area network (LAN) ethernet card in your computer.

    You can obtain this information from within PLECS application (both PLECS Standalone & PLECS Blockset) as follows:

    • Select "PLECS License Manager" from the menu "Help" in the schematic editor.
    • Click "Get HostID...."
    • Click "Copy to clipboard" to copy the text to your system clipboard so that you can conveniently paste it (e.g. into an email or a web form.)