summaryrefslogtreecommitdiff
path: root/68/CH10/EX10.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /68/CH10/EX10.2
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '68/CH10/EX10.2')
-rwxr-xr-x68/CH10/EX10.2/ex2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/68/CH10/EX10.2/ex2.sce b/68/CH10/EX10.2/ex2.sce
new file mode 100755
index 000000000..21340b2fc
--- /dev/null
+++ b/68/CH10/EX10.2/ex2.sce
@@ -0,0 +1,15 @@
+// Example 10.2 : W/L ratios for the logic circuit
+//For basic inverter
+n=1.5;
+p=5;
+L=0.25*10^-6; // (m)
+WbyL=2*n; // W/L for Q_NB , Q_NC , Q_ND
+disp(WbyL,"W/L ratio for Q_NB")
+disp(WbyL,"W/L ratio for Q_NC")
+disp(WbyL,"W/L ratio for Q_ND")
+WbyL=n; // W/L ratio for Q_NA
+disp(WbyL,"W/L ratio for Q_NA")
+WbyL=3*p; // W/L for Q_PA, Q_PC , Q_PD
+disp(WbyL,"W/L ratio for Q_PA")
+disp(WbyL,"W/L ratio for Q_PC")
+disp(WbyL,"W/L ratio for Q_PD") \ No newline at end of file