summaryrefslogtreecommitdiff
path: root/911/CH14/EX14.2
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /911/CH14/EX14.2
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '911/CH14/EX14.2')
-rw-r--r--911/CH14/EX14.2/ex_14_2.pdfbin0 -> 111080 bytes
-rw-r--r--911/CH14/EX14.2/ex_14_2.sce6
2 files changed, 6 insertions, 0 deletions
diff --git a/911/CH14/EX14.2/ex_14_2.pdf b/911/CH14/EX14.2/ex_14_2.pdf
new file mode 100644
index 000000000..aa60dceb3
--- /dev/null
+++ b/911/CH14/EX14.2/ex_14_2.pdf
Binary files differ
diff --git a/911/CH14/EX14.2/ex_14_2.sce b/911/CH14/EX14.2/ex_14_2.sce
new file mode 100644
index 000000000..ab344326b
--- /dev/null
+++ b/911/CH14/EX14.2/ex_14_2.sce
@@ -0,0 +1,6 @@
+//example 14.2//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+disp('We know that MSB of straight binary number is same as MSB of the Gray code equivalent. This can be passed on as such to the output. In that case, each memory location of the ROM needs to store only a three bit data as the fourth bit is available as such from the input. The required size of ROM is therefore 16*3. The three bit data to be programmed into 16 different memory locations of the ROM corresponding to address inputs of 0000 to 1111 in the same order would be 000, 001, 011, 010, 110, 111, 101, 100, 101, 111, 110, 010, 011, 001, and 000.') \ No newline at end of file