summaryrefslogtreecommitdiff
path: root/3866/CH6/EX6.14/Ex6_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3866/CH6/EX6.14/Ex6_14.sce')
-rw-r--r--3866/CH6/EX6.14/Ex6_14.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3866/CH6/EX6.14/Ex6_14.sce b/3866/CH6/EX6.14/Ex6_14.sce
new file mode 100644
index 000000000..e32127876
--- /dev/null
+++ b/3866/CH6/EX6.14/Ex6_14.sce
@@ -0,0 +1,21 @@
+clc; clear; close;
+
+Cload=200;//in fF;
+Cin=20;//in fF
+LEnand4=2;
+LEnand2=4/3;
+LEinv=1;
+LEnor=5/3;
+Pinv=1/2;
+Pnand2=1;
+Pnand4=2;
+Pnor=3/2;
+path_effort=LEinv*LEnand2*LEnand4*Cload/Cin;
+SE=path_effort^(1/4);
+D=(4*SE)+Pnand4+Pinv+Pnand2+Pinv;
+disp(D,'Normalised Delay for 1st case=');
+path_effort1=LEinv*LEnand2*LEnand2*LEnor*Cload/Cin;
+SE1=path_effort1^(1/4);
+D1=(4*SE1)+Pnand2+Pnor+Pnand2+Pinv;
+disp(D1,'Normalised Delay for 2nd case=');
+mprintf('\n\n Option 1 is better than option 2');