summaryrefslogtreecommitdiff
path: root/45/CH8/EX8.6/example_8_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '45/CH8/EX8.6/example_8_6.sce')
-rwxr-xr-x45/CH8/EX8.6/example_8_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/45/CH8/EX8.6/example_8_6.sce b/45/CH8/EX8.6/example_8_6.sce
new file mode 100755
index 000000000..bd44c4fb5
--- /dev/null
+++ b/45/CH8/EX8.6/example_8_6.sce
@@ -0,0 +1,10 @@
+//example 8.6
+clc;
+clear;
+disp('Here what happens at each point in time' );
+disp('Time t0: S = 0, R = 0, no change in Q (Q remains 0)');
+disp('Time t1: S = 1, R = 0, Q changes from 0 to 1');
+disp('Time t2: S = 0, R = 1, Q resets to 0');
+disp('Time t3: S = 1, R = 0, Q sets to 1 ');
+disp('Time t4: S = 0, R = 0, no change in Q (Q remains 1)');
+disp('Notice that either R or S, or both, are allowed to change state at any time, whether C is high or low. The only time both R and S must be stable (unchanging) is during the short NTs of the clock.'); \ No newline at end of file