diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1133/CH5/EX5.19/Example5_19.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1133/CH5/EX5.19/Example5_19.sce')
-rwxr-xr-x | 1133/CH5/EX5.19/Example5_19.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1133/CH5/EX5.19/Example5_19.sce b/1133/CH5/EX5.19/Example5_19.sce new file mode 100755 index 000000000..048b811b7 --- /dev/null +++ b/1133/CH5/EX5.19/Example5_19.sce @@ -0,0 +1,16 @@ +//Example 5.19
+clc
+disp("Let us see the truth table of full subtractor.")
+disp(" A B Bin D Bout")
+disp(" 0 0 0 0 0")
+disp(" 0 0 1 1 1")
+disp(" 0 1 0 1 1")
+disp(" 0 1 1 0 1")
+disp(" 1 0 0 1 0")
+disp(" 1 0 1 0 0")
+disp(" 1 1 0 0 0")
+disp(" 1 1 1 1 1")
+disp("")
+disp("For full subtractor difference D function can be written as D = f(A, B, C) = summation m(1, 2, 4, 7) and Bout function can be written as")
+disp(" Bout = F(A, B, C) = summation m(1, 2, 3, 7)")
+disp("With Din input 1, demultiplexer gives minterms at the output so by logically ORing required minterms we can implement Boolean functions for full subtractor. Fig. 5.34 shows the implementation of full subtractor using demultiplexer.")
|