Homework #4

Homework #4 - EEE333 HW#4 Charles Wong 1. Data Path with...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
HW#4 Charles Wong 1. Data Path with Parity Check Design a data path and a controller to repeatedly receive characters in 7–bit odd parity format (ie., the parity bit is 1 if the number of ones in a given set of bits is even). The bits are received synchronously, i.e., one bit per clock. The most significant data bit (MSB) is received first, with the parity bit received last. The first bit is the bit received after the receiving two consecutive zero bits. The end bit is always a logic 1, and the data stays high until the start bits are received. An example of the data stream is shown below: … 1 1 1 1 1 0 0 d6 d5 d4 d3 d2 d1 parity 1 0 0 d6 d5 … When receiving the end character, the seven data bits should be transferred in parallel to the data output port. If there is a parity error, the output port ERROR should be asserted high (low if otherwise). Draw the registers and logic blocks as a schematic, as well as the controller state machine state diagram. Write the VHDL code to implement the controller state machine. Your codes should be
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Homework #4 - EEE333 HW#4 Charles Wong 1. Data Path with...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online