No they did not, here is the timeline as I see it:
Genesis 1:28 And God blessed them, and God said unto them, Be fruitful, and multiply, and replenish the earth, and subdue it: and have dominion over the fish of the sea, and over the fowl of the air, and over every living thing that moveth upon the earth.
Genesis 2:16-17 And the Lord God commanded the man, saying, Of every tree of the garden thou mayest freely eat: But of the tree of the knowledge of good and evil, thou shalt not eat of it: for in the day that thou eatest thereof thou shalt surely die.
Consequence for Breaking the 2nd commandment:
Genesis 3:23 Therefore the Lord God sent him forth from the garden of Eden, to till the ground from whence he was taken.
The children come:
Genesis 4:1 And Adam knew Eve his wife; and she conceived, and bare Cain, and said, I have gotten a man from the Lord.