diff options
Diffstat (limited to '3860/CH9/EX9.1')
-rw-r--r-- | 3860/CH9/EX9.1/Ex9_1.sce | 18 | ||||
-rw-r--r-- | 3860/CH9/EX9.1/Ex9_1.txt | 26 |
2 files changed, 44 insertions, 0 deletions
diff --git a/3860/CH9/EX9.1/Ex9_1.sce b/3860/CH9/EX9.1/Ex9_1.sce new file mode 100644 index 000000000..5dbcc15d3 --- /dev/null +++ b/3860/CH9/EX9.1/Ex9_1.sce @@ -0,0 +1,18 @@ +//Example 9.1: Reduction of state table
+clc // Clears the console
+disp("Given State Table")
+disp("q | x=0 x=1 | x=0 x=1")
+disp('-----------------------------------------')
+disp("A | C B | 0 0")
+disp("B | D D | 0 0")
+disp("C | A D | 0 1")
+disp("D | A C | 0 1")
+disp('State C and D are equivalent. So, reduced state table is as given below.')
+disp("q | x=0 x=1 | x=0 x=1")
+disp('----------------------------------------------')
+disp(" A | C-D B | 0 0")
+disp(" B | C-D C-D | 0 0")
+disp("C-D | A C-D | 0 1")
+//displays the reduced state table.
+
+
diff --git a/3860/CH9/EX9.1/Ex9_1.txt b/3860/CH9/EX9.1/Ex9_1.txt new file mode 100644 index 000000000..9483bb1e7 --- /dev/null +++ b/3860/CH9/EX9.1/Ex9_1.txt @@ -0,0 +1,26 @@ +
+ Given State Table
+
+ q | x=0 x=1 | x=0 x=1
+
+ -----------------------------------------
+
+ A | C B | 0 0
+
+ B | D D | 0 0
+
+ C | A D | 0 1
+
+ D | A C | 0 1
+
+ State C and D are equivalent. So, reduced state table is as given below.
+
+ q | x=0 x=1 | x=0 x=1
+
+ ----------------------------------------------
+
+ A | C-D B | 0 0
+
+ B | C-D C-D | 0 0
+
+ C-D | A C-D | 0 1
|