summaryrefslogtreecommitdiff
path: root/911/CH9/EX9.11.a/ex_9_11_a.sce
blob: aad6e13be1a52c54338d70b452d74a955f551371 (plain)
1
2
3
4
5
6
//example 9.11.a//
clc
//clears the screen//
clear
//clears all existing variables//
disp('The modulus of a ring counter is same as the number of bits (or flip flops). Therefore, the number of flip flops required is 10. The count sequence is 1000000000, 0100000000, 0010000000, 0001000000, 0000100000, 0000010000, 0000001000, 0000000100, 0000000010, 0000000001, and back to 1000000000')