Generating multiple non overlapping chunks of memories from a given big memory

In reply to sra1dreddy:

I believe the constraints you set won’t give you 5 non overlapping memory chunks. This because even though start and end are unique the constraint will not take in account what is already been generated. Meaning you can have something like:

start: 4932,end: 6845 //1
start: 534,end: 3161 //2
start: 3416,end: 8042 //3
start: 3384,end: 6603 //4
start: 1161,end: 4421 //5

If you check out chunk 3 is partially included in chunk 4 same for others. Is this what you are looking for?