🏠 Homework

link


✏️ Execises

K-maps counter

  • D0 = enable XOR count[0]
  • D1 = (enable AND count[0]) XOR count[1]
EnableCurrent StateNext State
countcount
000
001
010
011
100
101
110
111

When enable is 0, the next state is the same as the current state (the counter holds its value). When enable is 1, the counter increments.

K-Map for D0 (Next State of count)

enable \ countcount00011110
00110
11001

D0 = enable’·count[0] + enable·count[0]’

D0 = enable XOR count[0]

K-Map for D1 (Next State of count)

enable \ countcount00011110
00011
10101

D1 = count[1]·count[0]’ + enable·count[1]‘·count[0] + enable’·count[1]·count[0]

D1 = (enable AND count[0]) XOR count[1]


📄Assignment