how do you define the end ?But whatever pulses have the y the goal must be to reach the end at the same time....
depending on what you think a reasonable resolution is (and achievable) not all possible pulse counts in the range 100-600 will divide exactly into the duration .
what is the duration 800 * 300 uS or 799 * 300 uS ?
how do you intend the sync to be eg leading edge low to high transition to trailing edge high to low transition ?
can the final y pulse just be truncated to fit ?
Bookmarks