Example 4.35 and Figure 4.56 show how a circuit that generates an ASCII byte suitable for sending
Question:
Example 4.35 and Figure 4.56 show how a circuit that generates an ASCII byte suitable for sending over a communications link may be defined. Write Verilog code for its counterpart at the receiving end, where byte Y (which includes the parity bit) has to be converted into byte X in which the bit x7 has to be 0. An error signal has to be produced, which is set to 0 or 1 depending on whether the parity check indicates correct or erroneous transmission, respectively.
Transcribed Image Text:
Example 4.35 The concept of parity is widely used in digital systems for error-checking purposes. When digital information is transmitted from one point to another, perhaps by long wires, it is possible for some bits to become corrupted during the transmission process. For example, the sender may transmit a bit whose value is equal to 1, but the receiver observes a bit whose value is 0. Suppose that a data item consists of a bits. A simple error-checking mechanism can be implemented by including an extra bit, p, which indicates the parity of the n-bit item. Two kinds of parity can be used. For even parity the p bit is given the value such that the total number of 1s in the n + 1 transmitted bits (comprising the n-bit data and the parity bit p) is even. For odd parity the p bit is given the value that makes the total number of 1s odd. The sender generates the p bit based on the n-bit data item that is to be transmitted. The receiver checks whether the parity of the received item is correct. Parity generating and checking circuits can be realized with XOR gates. For example, for a four-bit data item consisting of bits x3x₂x₁x, the even parity bit can be generated as P = X3 X₂X1 X
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 69% (13 reviews)
Here is the Verilog code for the receiver end of the circuit described in Example 435 and Figur...View the full answer
Answered By
James Warinda
Hi! I’m James Otieno and I'm an experienced professional online tutor with countless hours of success in tutoring many subjects in different disciplines. Specifically, I have handled general management and general business as a tutor in Chegg, Help in Homework and Trans tutor accounts.
I believe that my experience has made me the perfect tutor for students of all ages, so I'm confident I can help you too with finding the solution to your problems. In addition, my approach is compatible with most educational methods and philosophies which means it will be easy for you to find a way in which we can work on things together. In addition, my long experience in the educational field has allowed me to develop a unique approach that is both productive and enjoyable.
I have tutored in course hero for quite some time and was among the top tutors awarded having high helpful rates and reviews. In addition, I have also been lucky enough to be nominated a finalist for the 2nd annual course hero award and the best tutor of the month in may 2022.
I will make sure that any student of yours will have an amazing time at learning with me, because I really care about helping people achieve their goals so if you don't have any worries or concerns whatsoever you should place your trust on me and let me help you get every single thing that you're looking for and more.
In my experience, I have observed that students tend to reach their potential in academics very easily when they are tutored by someone who is extremely dedicated to their academic career not just as a businessman but as a human being in general.
I have successfully tutored many students from different grades and from all sorts of backgrounds, so I'm confident I can help anyone find the solution to their problems and achieve
0.00
0 Reviews
10+ Question Solved
Related Book For
Fundamentals Of Digital Logic With Verilog Design
ISBN: 9780073380544
3rd Edition
Authors: Stephen Brown, Zvonko Vranesic
Question Posted:
Students also viewed these Computer science questions
-
Design a circuit that generates the 9s complement of a BCD digit.
-
Write a program that receives an ASCII code (an integer between 0 and 127) and displays its character. For example, if the user enters 97, the program displays the character a. Here is a sample run:...
-
Write Verilog code for the boundary scan cell of Figure 10-14(b). Rewrite the Verilog code of Figure 10-21 to use this boundary scan cell as a component in place of some of the behavioral code for...
-
Figlio (1999) found that legislators are more likely to mirror their constituents preferences during election years than in earlier years of their terms. This is particularly true for relatively...
-
To figure out if Yahoos telecommuting is less productive than it should have been Mayer looked at the log of Yahoos Virtual Private Network to see how frequently employees checked in. What do you...
-
A tube similar to that in Problem 10.48 is being routed through a complex machine. At one point, the tube must be bent through an angle of 60. Compute the energy loss in the bend. In Problem Compute...
-
Identify explanatory and response variables in situations where one variable helps to explain or influences the other.
-
Cerulean Corporation has two equal shareholders, Eloise and Olivia. Eloise acquired her Cerulean stock three years ago by transferring property worth $700,000, basis of $300,000, for 70 shares of the...
-
B2B Company is considering the purchase of equipment that would allow the company to add a new product to its line. The equipment costs $384.000 and has a 12-year life and no salvage value. The...
-
K-Os Corporation reported the following selected information for the two years ended December 31: __________________2018___________2017 Total assets...........$630,000............$550,000 Total...
-
The spectral distribution of the radiation emitted by a diffuse surface may be approximated as follows. (a) What is the total emissive power? (b) What is the total intensity of the radiation emitted...
-
Write Verilog code that implements the task in Problem 4.30. Data From Problem 4.30 Design a circuit that can multiply an eight-bit number, A = a 7 , . . . , a 0 , by 1, 2, 3 or 4 to produce the...
-
Approximately 75% of all marketing personnel are extroverts, whereas about 60% of all computer programmers are introverts. (a) At a meeting of 15 marketing personnel, what is the probability that 10...
-
Jimmy Joe-Bob Hicky is the district commander for the mostly-rural Spud Valley highway patrol district in western Idaho. Hes attempting to assign highway patrol cars to different road segments in his...
-
Its important to have a holistic view of all the businesses combined and ensure that the desired levels of risk management and return generation are being pursued. Agree or disagree
-
(3pts each) During a trip to a casino, Adam Horovitz plays his favorite casino game 10 times. Each time he plays, he has a 41% chance of winning. Assume plays of the game are independent. a. What is...
-
An epidemiologist plans to conduct a survey to estimate the percentage of women who give birth. How many women must be surveyed in order to be 95% confident that the estimated percentage is in error...
-
Statement of financial position as at 31 December 2014 ASSETS Non-current assets Property, plant and equipment Delivery van at cost 12,000 Depreciation (2,500) 9,500 Current assets Inventories...
-
Determine whether the following statements are true and give an explanation or counterexample. a. If f is a constant function on the interval [a, b], then the right and left Riemann sums give the...
-
Government is advised to tax goods whose demand curves are inelastic if the goal is to raise tax revenues. If the goal is to discourage consumption, then it ought to tax goods whose demand curves are...
-
Suppose that two different types of sources are used in a term paper: books and journal articles. The following UML diagram illustrates how the sources are organized. First, implement the three...
-
Write a class Vehicle which keeps a vehicle identification number, license plate number, and a number of axles. Derive two classes from the Vehicle class named Car and Truck. Include a data member...
-
Implement a class Engineer which extends from the FullTime class discussed in Sect. 9.5. Include a data member which describes the type of engineering and a method tostring.
-
Jennifer purchased a home for $1,000,000 in 2016. She paid $200,000 cash and borrowed the remaining $800,000. This is Jennifer's only residence. Assume that in year 2024, when the home had...
-
business plan describing company with strengths and weaknesses. Any gaps in plan. Recommendations for improvement of the plan.
-
You wish to buy a car today for $35,000. You plan to put 10% down and finance the rest at 5.20% p.a. for six years. You will make equal monthly payments of $_______.
Study smarter with the SolutionInn App