mapping = {
    "layer_on_core0": {
        "core_allocation": [0],
    },
    "layer_on_core1": {
        "core_allocation": [1],
    },
    "layer_on_core2": {
        "core_allocation": [2],
    },
    "layer_on_core3": {
        "core_allocation": [3],
    },
    "default": {
        "core_allocation": [0],
    }
}