a normal meal takes about 2.5 hours to digest to a decent level, from what i've heard. so have your last proper meal like two or so hours before your workout - at least that's what i've found to be best for me. I generally have a cheeky protein shake half and hour before hand as well.