summaryrefslogtreecommitdiff
path: root/3866/CH9/EX9.1/Ex9_1.sce
blob: 5956b1bc1eae33dc1e722f8e79712f1ab090a5ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
clc; clear; close;

Ctag=450;//in fF
Cin=3;//in fF
Pinv=0.5;
Cg=2;//in fF/um
Reqn=12.5;//in kiloohm
Ln=0.2;//in um
C=200;//in fF
N=round(log10(Ctag/Cin)/log10(4));
disp(N,'Number of stages of drivers=');
SE=(Ctag/Cin)^(1/N);
disp(SE,'Optimal stage effort=');
D=(N*SE)+(N*Pinv);
disp(D,'Normalised delay=');
Tinv=3*Cg*Reqn*Ln;
Ttag=Tinv*D;
disp(Ttag,'Actual delay(in picoseconds)=');
Reff=Reqn/8;
Tmatchline=Reff*C;
disp(Tmatchline,'Delay for the matchline(in picoseconds)=');
Ttotal=Ttag+Tmatchline;
disp(Ttotal,'Total delay (in picoseconds)=');
//answers vary due to round off error