summaryrefslogtreecommitdiff
path: root/3866/CH6/EX6.15/Ex6_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3866/CH6/EX6.15/Ex6_15.sce')
-rw-r--r--3866/CH6/EX6.15/Ex6_15.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3866/CH6/EX6.15/Ex6_15.sce b/3866/CH6/EX6.15/Ex6_15.sce
new file mode 100644
index 000000000..14a92df76
--- /dev/null
+++ b/3866/CH6/EX6.15/Ex6_15.sce
@@ -0,0 +1,19 @@
+clc; clear; close;
+
+LEnand=4/3;
+Cout=4.5;
+Cin=1;
+N=3;
+Pnand=1;
+LEp=LEnand^3;
+disp(LEp,'Logical effort=');
+FOp=Cout/Cin;
+disp(FOp,'Electrical effort=');
+BEp=2*3;
+disp(BEp,'Branching effort=');
+PE=LEp*FOp*BEp;
+disp(PE,'Path effort=');
+SE=PE^(1/N);
+disp(SE,'Optimal stage effort=');
+D=(N*SE)+Pnand*3;
+disp(D,'Delay=');