Parity Bit Generator

Parity Bit Generator

Basic Blocks and Functions

Parity Bit Generators are used to check the integrity of a signal; it is the simplest implementation of a Cyclic Redundancy Check (CRC). Parity Bits are used prior to committing data to an MCU or other control unit to ensure the incoming data hasn’t been corrupted.

 

Ingredients

  • Any GreenPAK
  • No other components are needed

GreenPAK Diagram

Design Steps

  1. Connect input pins using XOR gates using Technique: Configuring Standard Logic w/ LUT Macrocells. XOR gates can be used to calculate the running sum of 1’s.  
  2. Add logic for the ENABLE signal.

Resources

GreenPAK Designer files