Each stage of the silkworm cycle takes time, as shown below:
Eggs hatch in about 6-20 days.
Caterpillars eat for about 26 days before spinning silk.
It takes about 3 days to fully spin a cocoon and turn into a pupa.
The moth emerges from the cocoon after about 21 days.
The moth lays eggs about two days after emerging from the cocoon.