
Implement the Hamming Code error detection and correction
-> Assume the following:
1. The sender message length is 2 bytes. The data transmitted to the user is the 2-byte data in
addition to the parity bits.
2. The receiver must be able to detect and correct 1-bit error.
Report :
In the report you must include an overview of the Hamming code algorithm and you need to show:
1. The detailed calculation of the minimum number of parity bits needed for a message of 2-
byte length.
2. Details on how sender generates the parity bits.
3. Details on how thew receiver detects and corrects a 1-bit error.
THANKS., PLEASE GIVE DETAILED DESCRIPTION.

Trending nowThis is a popular solution!
Step by stepSolved in 3 steps

- greatestBitPos(x) Compute a mask marking the most significant 1 bit. program should return maskmarking not value of significant bit example: greatestBitPos(96) = 0x40 /* * greatestBitPos - return a mask that marks the position of the* most significant 1 bit. If x == 0, return 0* Example: greatestBitPos(96) = 0x40* Legal ops: ! ~ & ^ | + << >>* Max ops: 70* Rating: 4 */int greatestBitPos(int x) {return 2;}arrow_forwardThis is COmputer Architecture! this is about hamming code PLEASE WRITE THE CODE IN MIPS ASSEMBLY LANGUAGE! Assignment for Computer Architecture The assignment is to create a MIPS programs that the determines what the ECC code should be for a given number (an 8-bit byte). ECC Hamming codes are explained on pages 420-424 in your text. The codes you create are to work for 8-bit positive numbers as these are simpler to work with than larger numbers. The program is to request the user to enter a byte of data (a positive integer in the range of 0 to 255 in decimal) and then create the 12-bit Hamming code as described in your text (see above). The program is to then output this (with an appropriate label) in hex. Requirements: Make certain that you have lots of comments in your code as this is in MIPS. Also make the code neat: line up the instruction columns, the register columns, and the comment fields For this assignment, turn in your code, a screenshot showing a working for a test…arrow_forward5. Hamming Codes a) Suppose we want an error correcting code that will allow all single-bit errors to be corrected for memory words of length 15. How many check bits are necessary? b) Suppose we are now working with memory words of length 8. We have already calculated that we need 4 check bits, and the length of all codewords will be 12. We now receive the following code word: 010011011111 Is this a legal codeword, assuming even parity? If not, where is the error?arrow_forward
- You are writing code that is equivalent to: X = A / (5 + B) Assume signed bytes and the following first 3 lines of code: mov al,A mov bl,B add bl,5 What is the one line of code that will perform the division correctly?arrow_forward3). Please circle the binary bits that will be either set or cleared. (UL=Unsigned Long) a). GPIO_PORTD_DIR_R &= ~(7UL<<4); Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 b). GPIO_PORTD_DIR_R I= 3UL<<2; Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0arrow_forwardQ2 plase text writingarrow_forward
- Problem: You have the table below of values of telemetry from the satellite. The temperatures are encoded linearly in unsigned binary bytes as a function of time. The samples come in every five minutes starting at time = 0. The temperatures are in degC and the temperature of -50 degC corresponds to a telemetry value of 0, while a temperature of 100 degC corresponds to a telemetry value of 255. (All values are decimal unless explicitly stated otherwise.) Write down the equation that describes the temperature as a function of telemetry value in the form of T = a* TV + b. What is the value of a? What is the value of b? After your data has been downlinked, as shown in the table below, fill in the Time and Temperature columns (to one place past the decimal point for the Temperature). Sample Telemetry value Time (minutes) Temperature (degC) 1 2 3 4 5 6 7 8 9 10 11 12 13 10 12 14 17 21 41 81 181 210 220 215 222 225 0 5 10 60 -44.1 -42.9 -41.8 82.3arrow_forward4. Two multiplexers are connected as shown below. The inputs (A, B, C) and the output F are 4-bits and (D and E) are one-bit. The numbers inside the multiplexers correspond to the value of the selectors D and E which will decide which input A, B or C will pass to the output F (For example, If D = 0 and E = 0 then C will be selected to pass to F). C 0 0 B 1 A D E Write a VHDL description of the circuit.arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





