Heart timing method and circuit for programmable memories