Question

In: Computer Science

Can you explain the hardware (using xor gates) implementation of the circuit that calculate CRC key,...

Can you explain the hardware (using xor gates) implementation of the circuit that calculate CRC key, suppose the polynomial key is x^4 + x^2 +x+1 and the message 100110011010.
I need the hardware implementation only.

Solutions

Expert Solution

This gives the following CRC polynomial (press RETURN to update):

P(x) = x11+ x8+ x7+ x4+ x3+ x1

module CRC_Unit(BITVAL, BITSTRB, CLEAR, CRC);

   input        BITVAL;                            // Next input bit

   input        BITSTRB;                           // Current bit valid (Clock)

   input        CLEAR;                             // Init CRC value

   output [10:0] CRC;                               // Current output CRC value

   reg    [10:0] CRC;                               // We need output registers

   wire         inv;

  

   assign inv = BITVAL ^ CRC[10];                   // XOR required?

  

   always @(posedge BITSTRB or posedge CLEAR) begin

      if (CLEAR) begin

         CRC = 0;                                  // Init before calculation

         end

      else begin

         CRC[10] = CRC[9];

         CRC[9] = CRC[8];

         CRC[8] = CRC[7] ^ inv;

         CRC[7] = CRC[6] ^ inv;

         CRC[6] = CRC[5];

         CRC[5] = CRC[4];

         CRC[4] = CRC[3] ^ inv;

         CRC[3] = CRC[2] ^ inv;

         CRC[2] = CRC[1];

         CRC[1] = CRC[0] ^ inv;

         CRC[0] = inv;

         end

      end

  

endmodule


Related Solutions

Using Multisim Verify the logic of the XOR and XNOR gates and compare to OR and...
Using Multisim Verify the logic of the XOR and XNOR gates and compare to OR and NOR gates. A) Orient the Word Generator and Logic Analyzer in the workspace and enter the appropriate settings. (BELOW) B) To create the four gates you will need four 10K resistors and: 1) OR gate: a (7432) 2) NOR gate: an OR (7432) with an INV (7404) 3) XOR gate: a (7486) 4) XNOR gate: a XOR (7486) with an INV (7404). C) Use...
Describe the impact of organizational culture at every stage of change implementation. You can explain using...
Describe the impact of organizational culture at every stage of change implementation. You can explain using a case from your professional experience.( change managment )
Describe the impact of organizational culture at every stage of change implementation. You can explain using...
Describe the impact of organizational culture at every stage of change implementation. You can explain using a case from your professional experience.
(a) How do you calculate hydrostatic force in gates?
(a) How do you calculate hydrostatic force in gates?  (b) Calculate total hydrostatic force on the vertical gate. Also calculate the location of the hydrostatic force from top
2. Design a digital circuit, using a decoder, only Nor gates, a 7-segment display, and D...
2. Design a digital circuit, using a decoder, only Nor gates, a 7-segment display, and D Flip Flops, that repeatedly outputs the sequences of characters ‘P’, ‘E’, ‘A’, ‘L’ if x=0 and ‘L’, ‘E’, ‘A’, ‘P’ if x=1 .
Bill Gates and Monopoly(Microeconomics) Please find out what you can on Bill Gates and Microsoft's monopoly....
Bill Gates and Monopoly(Microeconomics) Please find out what you can on Bill Gates and Microsoft's monopoly. How did it happen, how was it maintained? What was Gate's attitude about it? What was the U.S. government's response? What is your opinion on the matter? Can you think of a similar company right now?
Can you please Identify and explain the 10 key factors of leadership.
Can you please Identify and explain the 10 key factors of leadership.
Explain how multithreading can complicate the implementation of the singleton pattern and explain how to resolve...
Explain how multithreading can complicate the implementation of the singleton pattern and explain how to resolve this complication.
Using key terms, create a scenario where you can find a population, a sample, the parameter,...
Using key terms, create a scenario where you can find a population, a sample, the parameter, the statistic, a variable, and data. Post your scenario and provide a detailed description using the key terms. After reviewing the information, what did you learn about your target population?
Explain whether you agree or disagree with the implementation of alternative procedures
Explain whether you agree or disagree with the implementation of alternative procedures
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT