Part 2. ASM CHART For Displaying The Number of People in A Room
Part 2. ASM CHART For Displaying The Number of People in A Room
ASM
CHART for
displaying the
number of
people in a
room
reset
S_idle:
Ready
S_inc:
P<-P+1
S_dec:
P<-P-1
Part I. ASM
CHART of 2-bit
Binary
Multiplier
reset
S_idle:
Ready
Start
1
Register A
Carry flip-flop C
Multiplicand B
Multiplier Q
Sequence Counter P
A <- A+1
C <- 0
B <- multiplicand
Q <- multiplier
P <- n
S_add:
P<-P+1
Q[0]
S_shift:
[C,A,Q] <- [C,A,Q]
>>1
*17 bit register shifts
to the right by one bit
Zero