Design verilog system-accept a block of data words

Assignment Help Other Subject
Reference no: EM13318044

Design a Verilog system that will accept a block of data words encoded as specified in Part 1; then check the parity for each data word and for the block. The system should output each of the 8-bit data words, issue a word error if the parity is incorrect for any word, and issue a block error if the block check word is in error. Below is part 1 with my answer: Part 1: Design a Verilog system that uses a block code for error management. The system should accept a 15-word block of 8-bit data words one word at a time, generate odd parity over the individual words, and even parity over the block, output each of the 15 9-bit data words, followed by the block check. My Answer: character.module assert_immediate(); reg clk, request; time current_time; initial begin clk = 0; grant = 0; request = 0; #4 request = 1; #4 grant = 1; #4 request = 0; #4 $finish; end always #1 clk = ~clk; //================================================= // Assertion used in always block //================================================= always @ (posedge clk) begin if (grant == 1) begin CHECK_REQ_WHEN_GNT : assert (grant && request) begin $display ("Seems to be working as expected"); end else begin current_time = $time; #1 $error("assert failed at time %0t", current_time); end end end endmodule

Reference no: EM13318044

Questions Cloud

Difference between marketing and sales : What is the difference between marketing and sales and using at least three sentences for each example, give two examples each for both marketing and sales.
Distinguish evolution of probation-parole and jails : Outline and distinguish the evolution of probation, parole, community corrections, prisons, jails, and sentencing.
Different from an undergraduate learning community : How do you think your graduate educational experience will be different from undergraduate experience. How would you describe a graduate learning community? What would be the key components of a learning community and how might it be different from a..
Describe the role corporate culture : Describe the role “corporate culture” plays in the success or failure of a project. Use specific examples to support your answer.
Design verilog system-accept a block of data words : Design a Verilog system that will accept a block of data words encoded as specified in Part 1; then check the parity for each data word and for the block. The system should output each of the 8-bit data words, issue a word error if the parity is inco..
Implement a byte-wide data transfer : Design the hardware and software driver that will implement a byte-wide data transfer from your processor to a peripheral device. Each transfer must be accompanied by a strobe to deskew the data. Draw the UML sequence diagram and the timing diagram r..
Difference between general and limited jurisdiction : Marbled Granite Company files a suit against Natural Stone, Inc., in a Colorado court with general jurisdiction. In a Delaware court with limited jurisdiction, E-Sales Corporation files a suit against First State Bank. The difference between general ..
Criminal law is concerned with : Rupert is a victim of Sara’s violation of a criminal law. Criminal law is concerned with A) the prosecution of private individuals by other private individuals. B) the prosecution of public officials by private individuals. C) the relief available wh..
Civil law is concerned with disputes between persons : Civil law is concerned with disputes between persons

Reviews

Write a Review

Other Subject Questions & Answers

  Irregular in sleeping and eating and resists change

According to Thomas and Chess, a child that is very irregular in sleeping and eating, resists change, and tends to be loud is labeled a(n) ___ child.

  Description of hinduism

Explain the Hindu understanding of Brahman, Atman, and their relationship to moksha.

  National crime victimization survey

Explain the difference between the types of data addressed by the National Crime Victimization Survey (NCVS) and the Uniform Crime Reports (UCR). What are the advantages and the disadvantages of using these two sets of figures?

  The americas cause african culture

After viewing the maps in the article, how might the experiences of Africans through capture, enslavement, transportation, and seasoning in the Americas cause African culture to change and/or erode?

  Innovation-entrepreneurial spirit important to market entry

Why are innovation and entrepreneurial spirit important to market entry or market expansion?

  American diabetics association

According to the American Diabetics Association (ADA) Web site, 7% of the U.S. population has diabetes, and 30% of those with diabetes do not even know they have the disease

  Fourth lateran council

The Fourth Lateran Council established the _______________ doctrine stating that the bread and wine of communion changed into flesh and blood of Christ when the priest spoke the words of consecration.

  Identify the ford motor company weaknesses

Identify the 'Ford Motor Company' weaknesses and write one to two paragraph about it in your own words.

  Do indirect costs depend on direct costs

Do Indirect Costs Depend on Direct Costs? Please respond to the following: Do you agree or disagree with the following statement: ? Indirect costs often depend on some or all of the direct costs, such as direct labor, direct material, or both. Whiche..

  Residents registered as republicans and that republicans

A friend of yours tells you that the district in which she lives has 85% of its residents registered as Republicans and that Republicans always win the House election from her district.

  Rather deal with negotiation-fence sitter or bedfellow

Who would you rather deal with in a negotiation, a fence sitter or a bedfellow? Personally, I would rather deal with a fence sitter since the fence sitter has some interest that if I can learn what it is makes that person open to persuasion. What are..

  Discussing clinical trial protocol

Permission must be given for any person who wants to do a study. Now what about the governmental studies that were done on the soldiers and military people?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd