summaryrefslogtreecommitdiff
path: root/68/CH10/EX10.2/ex2.sce
blob: 21340b2fc0f1563c8f3a9a84710fabb4e757358a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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")