CPC G06F 30/34 (2020.01) [G06F 30/12 (2020.01)] | 15 Claims |
1. A method for dividing a graphical simulation model up into a first sub-model and a second sub-model, wherein functionality of the graphical simulation model is modeled in the form of blocks that are connected by signals at least in part, wherein the blocks are periodically executed and each block of the simulation model is allocated a sampling time, wherein the first sub-model is to be executed on a processor and the second sub-model is to be executed on a programmable logic module, the method comprising the successive steps of:
a. identifying at least one first block as belonging to the first sub-model and identifying at least one second block as belonging to the second sub-model based on the sampling time and/or a resource allocation;
b. searching for cyclic groups of blocks, wherein a cyclic group whose blocks all have the same sampling time is deemed to be atomic;
c. identifying non-cyclic groups of blocks;
d. allocating individual blocks from the cyclic groups of blocks and the non-cyclic group of blocks to either the first sub-model or the second sub-model, wherein all blocks of an atomic cyclic group are allocated to the same sub-model;
e. generating program code for the processor from the first sub-model; and
f. generating a configuration bitstream for the programmable logic module from the second sub-model.
|