Q: You are to design a synchronous MOD-14 counter for use in a hotel lift. The counter must count up from 1 to 12, skip 13, and continue counting to 15, and then back to 1 to continue the cycle. If the counter somehow enters an unused state then it should remain in that state forever. The only memory elements you have available are positive edge triggered D flip flops.
First of all, can D flip flops have asynchronous inputs CLEAR and PRESET, similar to J-K flip flops? If they can, then I'm thinking of resetting the LSB flip flop when the sequence is 1101 (decimal 13) so I get 1100, but how do I turn that into a 1110 (decimal 14)?
Could someone please help? Thanks.
First of all, can D flip flops have asynchronous inputs CLEAR and PRESET, similar to J-K flip flops? If they can, then I'm thinking of resetting the LSB flip flop when the sequence is 1101 (decimal 13) so I get 1100, but how do I turn that into a 1110 (decimal 14)?
Could someone please help? Thanks.