diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3860/CH5 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3860/CH5')
-rw-r--r-- | 3860/CH5/EX5.3/Ex5_3.sce | 16 | ||||
-rw-r--r-- | 3860/CH5/EX5.3/Ex5_3.txt | 28 | ||||
-rw-r--r-- | 3860/CH5/EX5.5/Ex5_5.sce | 28 | ||||
-rw-r--r-- | 3860/CH5/EX5.5/Ex5_5.txt | 52 |
4 files changed, 124 insertions, 0 deletions
diff --git a/3860/CH5/EX5.3/Ex5_3.sce b/3860/CH5/EX5.3/Ex5_3.sce new file mode 100644 index 000000000..85b206d1d --- /dev/null +++ b/3860/CH5/EX5.3/Ex5_3.sce @@ -0,0 +1,16 @@ +//Example 5.3: Implementation of Boolean logic using Decoders
+clc // Clears the console
+disp("f(a,b,c) = Summation(0,2,3,7)")
+disp("g(a,b,c) = Summation(1,4,6,7)")
+disp("Truth Table")
+disp("a b c | f g")
+disp("0 0 0 | 1 0")
+disp("0 0 1 | 0 1")
+disp("0 1 0 | 1 0")
+disp("0 1 1 | 1 0")
+disp("1 0 0 | 0 1")
+disp("1 0 1 | 0 0")
+disp("1 1 0 | 0 1")
+disp("1 1 1 | 1 1")
+disp("The function f = a''b''c'' + a''bc'' + a''bc + abc.")
+disp("The function g = a''b''c + ab''c'' + abc'' + abc.")
diff --git a/3860/CH5/EX5.3/Ex5_3.txt b/3860/CH5/EX5.3/Ex5_3.txt new file mode 100644 index 000000000..73e9145b1 --- /dev/null +++ b/3860/CH5/EX5.3/Ex5_3.txt @@ -0,0 +1,28 @@ +
+ f(a,b,c) = Summation(0,2,3,7)
+
+ g(a,b,c) = Summation(1,4,6,7)
+
+ Truth Table
+
+ a b c | f g
+
+ 0 0 0 | 1 0
+
+ 0 0 1 | 0 1
+
+ 0 1 0 | 1 0
+
+ 0 1 1 | 1 0
+
+ 1 0 0 | 0 1
+
+ 1 0 1 | 0 0
+
+ 1 1 0 | 0 1
+
+ 1 1 1 | 1 1
+
+ The function f = a'b'c' + a'bc' + a'bc + abc.
+
+ The function g = a'b'c + ab'c' + abc' + abc.
\ No newline at end of file diff --git a/3860/CH5/EX5.5/Ex5_5.sce b/3860/CH5/EX5.5/Ex5_5.sce new file mode 100644 index 000000000..e716e963f --- /dev/null +++ b/3860/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,28 @@ +//Example 5.5: Implementation of Boolean logic Multiplexer
+clc // Clears the console
+disp("f(a,b,c) = Summation(0,1,2,5)")
+disp("Truth Table")
+disp("a b c | f")
+disp("0 0 0 | 1")
+disp("0 0 1 | 1")
+disp("0 1 0 | 1")
+disp("0 1 1 | 0")
+disp("1 0 0 | 0")
+disp("1 0 1 | 1")
+disp("1 1 0 | 0")
+disp("1 1 1 | 0")
+disp("The function f = a''b''c'' + a''b''c + a''bc'' + ab''c")
+disp("*************************************************************")
+disp("Implementation using 8:1 Multiplexer")
+disp("Inputs of Multiplexer are denoted by D0,D1,D2,D3,D4,D5,D6 and D7")
+disp("Select Lines of Multiplexer are denoted by S2,S1,S0")
+disp("Input and Select Line assignment")
+disp(" D0 = 1, D1 = 1, D2 = 1,D3 = 0, D4 = 0, D5 = 1, D6 = 0, D7 = 0")
+disp(" S2 = a, S1 = b, S0 = c")
+disp("*************************************************************")
+disp("Implementation using 4:1 Multiplexer")
+disp("Inputs of Multiplexer are denoted by D0,D1,D2,D3")
+disp("Select Lines of Multiplexer are denoted by S1,S0")
+disp("Input and Select Line assignment")
+disp(" D0 = 1, D1 = c'', D2 = c ,D3 = 0")
+disp(" S1 = a, S0 = b")
diff --git a/3860/CH5/EX5.5/Ex5_5.txt b/3860/CH5/EX5.5/Ex5_5.txt new file mode 100644 index 000000000..1c186b856 --- /dev/null +++ b/3860/CH5/EX5.5/Ex5_5.txt @@ -0,0 +1,52 @@ +
+ f(a,b,c) = Summation(0,1,2,5)
+
+ Truth Table
+
+ a b c | f
+
+ 0 0 0 | 1
+
+ 0 0 1 | 1
+
+ 0 1 0 | 1
+
+ 0 1 1 | 0
+
+ 1 0 0 | 0
+
+ 1 0 1 | 1
+
+ 1 1 0 | 0
+
+ 1 1 1 | 0
+
+ The function f = a'b'c' + a'b'c + a'bc' + ab'c
+
+ *************************************************************
+
+ Implementation using 8:1 Multiplexer
+
+ Inputs of Multiplexer are denoted by D0,D1,D2,D3,D4,D5,D6 and D7
+
+ Select Lines of Multiplexer are denoted by S2,S1,S0
+
+ Input and Select Line assignment
+
+ D0 = 1, D1 = 1, D2 = 1,D3 = 0, D4 = 0, D5 = 1, D6 = 0, D7 = 0
+
+ S2 = a, S1 = b, S0 = c
+
+ *************************************************************
+
+ Implementation using 4:1 Multiplexer
+
+ Inputs of Multiplexer are denoted by D0,D1,D2,D3
+
+ Select Lines of Multiplexer are denoted by S1,S0
+
+ Input and Select Line assignment
+
+ D0 = 1, D1 = c', D2 = c ,D3 = 0
+
+ S1 = a, S0 = b
\ No newline at end of file |