blob: 11276ca56f0263ecb15ef361b0f2945a59094d4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//example 8.2//
clc
//clears the screen//
clear
//clears the command window//
s=4;
//s=stage of ripple counter//
d=50;
//delay of flip-flop in nano sec//
p=30;
//pulse width in nano secs//
f=1000/(s*d+p);
disp('maximum frequency (in MHz) is')
disp(f)
|