Programmable 4-bit counter #1
Design a programmable 0-to-M counter, where 0 ≤ M ≤ 15. The value of M should be set by a programmable 4-bit input, illustrated with "1100" (= 12) in Figure E14.21. The counter must be synchronous and with serial enable.