More fixes from synthesis. Now we don't have a 32-bit counter we sample from, only a single bit that toggles each clock cycle.