summaryrefslogtreecommitdiff
path: root/45/CH1/EX1.2/example_1_2.sce
blob: 71602b264a3b233bcddacd101120a2aabae513f8 (plain)
1
2
3
4
5
6
//Example 1.2
clc;
clear;
n=8; // given no of flip flops 
max_count = 2^n -1 ; 
printf("Maximum count = %d",max_count);