design mod-7 synchronous up counter using jk flip flop state table of mod-7 counter state diagram of mod-7 counter k-map for mod-7 counter