diff options
Diffstat (limited to '911/CH4')
24 files changed, 289 insertions, 0 deletions
diff --git a/911/CH4/EX4.1.a/ex_4_1_a.pdf b/911/CH4/EX4.1.a/ex_4_1_a.pdf Binary files differnew file mode 100644 index 000000000..00c517c51 --- /dev/null +++ b/911/CH4/EX4.1.a/ex_4_1_a.pdf diff --git a/911/CH4/EX4.1.a/ex_4_1_a.sce b/911/CH4/EX4.1.a/ex_4_1_a.sce new file mode 100644 index 000000000..c17cba077 --- /dev/null +++ b/911/CH4/EX4.1.a/ex_4_1_a.sce @@ -0,0 +1,35 @@ +//example 4.1(a)//
+//the average power dissipation of a single NAND gate//
+clc
+//clears the variables//
+clear
+//clears the screen//
+//given//
+a=0.4
+//I(oh)max in mA//
+b=2.7
+//V(oh) min in V//
+c=2
+//V(ih) min in V//
+d=.8
+//V(il)max in V//
+e=.4
+//V(ol) max in V//
+f=8
+//I(ol)max in mA//
+g=.4
+//I(il)max in mA//
+h=20
+//I(ih) max in micro amp//
+i=1.6
+//I(cch)max in mA//
+j=4.4
+//I(ccl)max in mA//
+t=15
+//t(pLH)=t(pHL) in mA//
+disp('average supply current = ')
+s=(i+j)/2;
+u=5*s/4;
+disp('mA',s)
+disp('average power dissipation for one gate (in mW) is: ')
+disp(u)
\ No newline at end of file diff --git a/911/CH4/EX4.1.b/ex_4_1_b.pdf b/911/CH4/EX4.1.b/ex_4_1_b.pdf Binary files differnew file mode 100644 index 000000000..d0a28f954 --- /dev/null +++ b/911/CH4/EX4.1.b/ex_4_1_b.pdf diff --git a/911/CH4/EX4.1.b/ex_4_1_b.sce b/911/CH4/EX4.1.b/ex_4_1_b.sce new file mode 100644 index 000000000..4a5e95714 --- /dev/null +++ b/911/CH4/EX4.1.b/ex_4_1_b.sce @@ -0,0 +1,31 @@ +//example 4.1(b)//
+//the maximum average propagation delay of a single gate//
+clc
+//clears the variables//
+clear
+//clears the screen//
+//given//
+a=0.4
+//I(oh)max in mA//
+b=2.7
+//V(oh) min in V//
+c=2
+//V(ih) min in V//
+d=.8
+//V(il)max in V//
+e=.4
+//V(ol) max in V//
+f=8
+//I(ol)max in mA//
+g=.4
+//I(il)max in mA//
+h=20
+//I(ih) max in micro amp//
+i=1.6
+//I(cch)max in mA//
+j=4.4
+//I(ccl)max in mA//
+t=15
+//t(pLH)=t(pHL) in ns//
+disp('the maximum average propagation delay of a single gate')
+disp('ns',t)
\ No newline at end of file diff --git a/911/CH4/EX4.1.c/ex_4_1_c.pdf b/911/CH4/EX4.1.c/ex_4_1_c.pdf Binary files differnew file mode 100644 index 000000000..16e537594 --- /dev/null +++ b/911/CH4/EX4.1.c/ex_4_1_c.pdf diff --git a/911/CH4/EX4.1.c/ex_4_1_c.sce b/911/CH4/EX4.1.c/ex_4_1_c.sce new file mode 100644 index 000000000..65f769e83 --- /dev/null +++ b/911/CH4/EX4.1.c/ex_4_1_c.sce @@ -0,0 +1,32 @@ +//example 4.1(c)//
+//The HIGH-state noise margin//
+clc
+//clears the variables//
+clear
+//clears the screen//
+//given//
+a=0.4
+//I(oh)max in mA//
+b=2.7
+//V(oh) min in V//
+c=2
+//V(ih) min in V//
+d=.8
+//V(il)max in V//
+e=.4
+//V(ol) max in V//
+f=8
+//I(ol)max in mA//
+g=.4
+//I(il)max in mA//
+h=20
+//I(ih) max in micro amp//
+i=1.6
+//I(cch)max in mA//
+j=4.4
+//I(ccl)max in mA//
+t=15
+//t(pLH)=t(pHL) in ns//
+disp('The HIGH-state noise margin = ')
+s=b-c;
+disp('V',s)
\ No newline at end of file diff --git a/911/CH4/EX4.1.d/ex_4_1_d.pdf b/911/CH4/EX4.1.d/ex_4_1_d.pdf Binary files differnew file mode 100644 index 000000000..6480e35d7 --- /dev/null +++ b/911/CH4/EX4.1.d/ex_4_1_d.pdf diff --git a/911/CH4/EX4.1.d/ex_4_1_d.sce b/911/CH4/EX4.1.d/ex_4_1_d.sce new file mode 100644 index 000000000..668b85948 --- /dev/null +++ b/911/CH4/EX4.1.d/ex_4_1_d.sce @@ -0,0 +1,32 @@ +//example 4.1(d)//
+//The LOW-state noise margin//
+clc
+//clears the variables//
+clear
+//clears the screen//
+//given//
+a=0.4
+//I(oh)max in mA//
+b=2.7
+//V(oh) min in V//
+c=2
+//V(ih) min in V//
+d=.8
+//V(il)max in V//
+e=.4
+//V(ol) max in V//
+f=8
+//I(ol)max in mA//
+g=.4
+//I(il)max in mA//
+h=20
+//I(ih) max in micro amp//
+i=1.6
+//I(cch)max in mA//
+j=4.4
+//I(ccl)max in mA//
+t=15
+//t(pLH)=t(pHL) in ns//
+disp('The LOW-state noise margin = ')
+s=d-e;
+disp('V',s)
\ No newline at end of file diff --git a/911/CH4/EX4.2/ex_4_2.pdf b/911/CH4/EX4.2/ex_4_2.pdf Binary files differnew file mode 100644 index 000000000..8c5b58f47 --- /dev/null +++ b/911/CH4/EX4.2/ex_4_2.pdf diff --git a/911/CH4/EX4.2/ex_4_2.sce b/911/CH4/EX4.2/ex_4_2.sce new file mode 100644 index 000000000..76ba5754a --- /dev/null +++ b/911/CH4/EX4.2/ex_4_2.sce @@ -0,0 +1,37 @@ +//example 4.2//
+//How many NAND gate inputs can be driven from the output of a NAND gate of this type//
+clc
+//clears the variables//
+clear
+//clears the screen//
+//given//
+a=0.4
+//I(oh)max in mA//
+b=2.7
+//V(oh) min in V//
+c=2
+//V(ih) min in V//
+d=.8
+//V(il)max in V//
+e=.4
+//V(ol) max in V//
+f=8
+//I(ol)max in mA//
+g=.4
+//I(il)max in mA//
+h=20
+//I(ih) max in micro amp//
+i=1.6
+//I(cch)max in mA//
+j=4.4
+//I(ccl)max in mA//
+t=15
+//t(pLH)=t(pHL) in ns//
+disp('This figure is given by the worst-case fan-out specification of the device')
+s=a*1000/h;
+disp(s,'the HIGH-state fan-out=')
+u=f/g;
+disp(u,'LOW-state fan-out=')
+z=min(s,u);
+disp('Therefore, the number of inputs that can be driven from a single output =')
+disp('V',z)
\ No newline at end of file diff --git a/911/CH4/EX4.3/ex_4_3.pdf b/911/CH4/EX4.3/ex_4_3.pdf Binary files differnew file mode 100644 index 000000000..feaf8af4b --- /dev/null +++ b/911/CH4/EX4.3/ex_4_3.pdf diff --git a/911/CH4/EX4.3/ex_4_3.sce b/911/CH4/EX4.3/ex_4_3.sce new file mode 100644 index 000000000..73dd8a86e --- /dev/null +++ b/911/CH4/EX4.3/ex_4_3.sce @@ -0,0 +1,22 @@ +//example 4.3//
+//Determine the fan-out of IC 74LS04//
+clc
+//clears the variables//
+clear
+//clears the screen//
+a=.5;
+//input loading factor(high state) in UL//
+b=.25;
+//input loading factor(low state) in UL//
+c=10;
+//output loading factor(high state) in UL//
+d=5;
+//output loading factor(low state) in UL//
+disp('The HIGH-state fan-out can be computed from: fan-out=output loading factor (HIGH)/input loading factor (HIGH)')
+s=c/a;
+disp(s,'=')
+disp('The LOW-state fan-out can be computed from: fan-out = output loading factor (LOW)/input loading factor (LOW)')
+u=d/b;
+disp(u,'=')
+z=min(s,u)
+disp(z,'fan-out')
\ No newline at end of file diff --git a/911/CH4/EX4.4.a/ex_4_4_a.pdf b/911/CH4/EX4.4.a/ex_4_4_a.pdf Binary files differnew file mode 100644 index 000000000..34b9eaf7c --- /dev/null +++ b/911/CH4/EX4.4.a/ex_4_4_a.pdf diff --git a/911/CH4/EX4.4.a/ex_4_4_a.sce b/911/CH4/EX4.4.a/ex_4_4_a.sce new file mode 100644 index 000000000..d4ac15a84 --- /dev/null +++ b/911/CH4/EX4.4.a/ex_4_4_a.sce @@ -0,0 +1,20 @@ +//example 4.4(a)//
+//The input loading factor (HIGH state) in TTL//
+clc
+//clears the variables//
+clear
+//clears the screen//
+a=20
+//I(ih) in micro A//
+b=.1
+//I(il) in mA//
+c=.4
+//I(oh) in mA//
+d=4
+//I(OL) in mA//
+e=1.6
+//UL (low state) in mA//
+f=40
+//UL (high state) in micro Amp//
+s=a/f;
+disp(s,'The input loading factor (HIGH state) = ')
\ No newline at end of file diff --git a/911/CH4/EX4.4.b/ex_4_4_b.pdf b/911/CH4/EX4.4.b/ex_4_4_b.pdf Binary files differnew file mode 100644 index 000000000..3958bf691 --- /dev/null +++ b/911/CH4/EX4.4.b/ex_4_4_b.pdf diff --git a/911/CH4/EX4.4.b/ex_4_4_b.sce b/911/CH4/EX4.4.b/ex_4_4_b.sce new file mode 100644 index 000000000..c127c0a6b --- /dev/null +++ b/911/CH4/EX4.4.b/ex_4_4_b.sce @@ -0,0 +1,20 @@ +//example 4.4(b)//
+//The input loading factor (LOW state) in TTL//
+clc
+//clears the variables//
+clear
+//clears the screen//
+a=20
+//I(ih) in micro A//
+b=.1
+//I(il) in mA//
+c=.4
+//I(oh) in mA//
+d=4
+//I(OL) in mA//
+e=1.6
+//UL (low state) in mA//
+f=40
+//UL (high state) in micro Amp//
+s=b/e;
+disp(s,'The input loading factor (LOW state) = ')
\ No newline at end of file diff --git a/911/CH4/EX4.4.c/ex_4_4_c.pdf b/911/CH4/EX4.4.c/ex_4_4_c.pdf Binary files differnew file mode 100644 index 000000000..021982487 --- /dev/null +++ b/911/CH4/EX4.4.c/ex_4_4_c.pdf diff --git a/911/CH4/EX4.4.c/ex_4_4_c.sce b/911/CH4/EX4.4.c/ex_4_4_c.sce new file mode 100644 index 000000000..d1f4fb166 --- /dev/null +++ b/911/CH4/EX4.4.c/ex_4_4_c.sce @@ -0,0 +1,20 @@ +//example 4.4(c)//
+//The output loading factor (HIGH state) in TTL//
+clc
+//clears the variables//
+clear
+//clears the screen//
+a=20
+//I(ih) in micro A//
+b=.1
+//I(il) in mA//
+c=.4
+//I(oh) in mA//
+d=4
+//I(OL) in mA//
+e=1.6
+//UL (low state) in mA//
+f=40
+//UL (high state) in micro Amp//
+s=c*1000/f;
+disp(s,'The output loading factor (HIGH state) = ')
\ No newline at end of file diff --git a/911/CH4/EX4.4.d/ex_4_4_d.pdf b/911/CH4/EX4.4.d/ex_4_4_d.pdf Binary files differnew file mode 100644 index 000000000..7a9c15e1e --- /dev/null +++ b/911/CH4/EX4.4.d/ex_4_4_d.pdf diff --git a/911/CH4/EX4.4.d/ex_4_4_d.sce b/911/CH4/EX4.4.d/ex_4_4_d.sce new file mode 100644 index 000000000..b61d13c9f --- /dev/null +++ b/911/CH4/EX4.4.d/ex_4_4_d.sce @@ -0,0 +1,20 @@ +//example 4.4(d)//
+//The output loading factor (LOW state) in TTL//
+clc
+//clears the variables//
+clear
+//clears the screen//
+a=20
+//I(ih) in micro A//
+b=.1
+//I(il) in mA//
+c=.4
+//I(oh) in mA//
+d=4
+//I(OL) in mA//
+e=1.6
+//UL (low state) in mA//
+f=40
+//UL (high state) in micro Amp//
+s=d/e;
+disp(s,'The output loading factor (LOW state) = ')
\ No newline at end of file diff --git a/911/CH4/EX4.5.a/ex_4_5.sce b/911/CH4/EX4.5.a/ex_4_5.sce new file mode 100644 index 000000000..ed5f76ed1 --- /dev/null +++ b/911/CH4/EX4.5.a/ex_4_5.sce @@ -0,0 +1,10 @@ +//example 4.5//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+a=40;
+//when output is HIGH, inputs of all gates draw current individually//
+i=7*a;
+//input loading factor//
+disp(i,'current being sourced when output is high (in microA) = ')
\ No newline at end of file diff --git a/911/CH4/EX4.5.a/ex_4_5_a.pdf b/911/CH4/EX4.5.a/ex_4_5_a.pdf Binary files differnew file mode 100644 index 000000000..d4363be64 --- /dev/null +++ b/911/CH4/EX4.5.a/ex_4_5_a.pdf diff --git a/911/CH4/EX4.5.b/ex_4_5.pdf b/911/CH4/EX4.5.b/ex_4_5.pdf Binary files differnew file mode 100644 index 000000000..dace59db0 --- /dev/null +++ b/911/CH4/EX4.5.b/ex_4_5.pdf diff --git a/911/CH4/EX4.5.b/ex_4_5_b.sce b/911/CH4/EX4.5.b/ex_4_5_b.sce new file mode 100644 index 000000000..418b38906 --- /dev/null +++ b/911/CH4/EX4.5.b/ex_4_5_b.sce @@ -0,0 +1,10 @@ +//example 4.5//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+a=1.6;
+//when output is LOW, inputs of all gates draw current individually//
+i=5*a;
+//input loading factor//
+disp(i,'current being sourced when output is high (in mA) = ')
\ No newline at end of file |