Patent ID: 11947886
Assignee: DELTA ELECTRONICS, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A method of an offline software-in-the-loop simulation, the method comprising:
a) obtaining a product program and a configuration header file, wherein the product program is configured to record a code of controlling a product related circuit, the configuration header file is configured to connect a processing program required by a peripheral module, and the processing program is configured to control the peripheral module in a physical chip or a circuit simulation software;
b) executing a compiler to compile the product program and the configuration header file to generate a chip control program; and
c) executing the chip control program in the physical chip or the circuit simulation software to control the product related circuit through controlling the peripheral module;
wherein the b) comprises:
b1) searching the processing program from a database based on the configuration header file, and adding the processing program to a hardware abstraction layer (HAL);
b2) compiling an application layer and the HAL to generate the chip control program, wherein the application layer comprises the product program and the configuration header file; and
b3) providing the chip control program to the physical chip or the circuit simulation software.