CPC G06F 30/20 (2020.01) [G06F 30/367 (2020.01); G06F 2119/06 (2020.01)] | 20 Claims |
1. A method for simulating fault management in an electronic system comprising a primary device and a secondary device, wherein the electronic system is represented by a software model comprising a primary model representing the primary device, a secondary model representing the secondary device, a fault monitor model, and a fault injection model, the method comprising:
injecting, by a function safety model of the secondary model, a fault into a function run by a logical module of the secondary model, wherein a category of the fault is randomly chosen among a plurality of categories of faults;
characterizing, after injecting the fault and by a specific fault module of the secondary model, the fault;
generating, by the fault monitor model and based on the category of the fault, a report of the fault comprising the category of the fault;
generating, by a fault interrupt generation module of the fault injection model and based on the report of the fault, an interrupt; and
sending the interrupt to the primary model for the primary device to handle the fault.
|