1. A computer implemented method for determining a memory mapping for executable instructions, the method comprising: receiving program information, the program information including a description of a plurality of program segments, where at least one of the program segments includes: a code segment, where the code segment is comprised of executable instructions generated from a graphical model, and a data segment, where the data segment is comprised of executable instructions generated from the graphical model; receiving memory information, the memory information including a description of memory elements of a computational hardware device configured to execute the executable instructions generated from the graphical model; and determining a memory mapping that executes the generated executable instructions in a determined manner on the computational hardware device, the memory mapping: identifying placement of the one or more program segments to the memory elements of the computational hardware device, where the determining is performed using the program information and the memory information.