Compile and simulate verilog program

Assignment Help Other Engineering
Reference no: EM131218313

You're responsible for a portion of the logic in an electronic vending machine. Specifically, your subsystem determines the change to be returned. All items cost 75¢ and the machine accepts dollar bills, so your system must deliver 25¢ in change using the fewest number of coins. Your inputs are a 2-­-bit counter D1D0 indicating the number of dimes available to dispense and a 3-­-bit counter N2N1N0 indicating the number of nickels available to dispense. Your outputs should indicate the number of dimes and nickels to dispense. An additional output, NC (No Change) should be 1 if you're unable to give change with the coins available, 0 otherwise. You do not need to update the counters. Their values are provided as inputs to your module.

Be sure to show truth tables, K-­-maps, and reduced equations. Make effective use of don't cares. Describe your circuit using a Verilog behavioral dataflow description and simulate it by writing a testbench. Assume the device has a propagation delay of 6 time units. Your solution should employ sum of products form.

You can compile and simulate your Verilog program using the Verilogger software system or any other Verilog environment. Save and print the simulator timing diagram so that you can include it in your final report.

After you get your behavioral dataflow model working and verified, create a Verilog structural description for the same design and verify it. You may use any of the actual logic gates in the 74HCT family. Be sure to model your design using actual 74HCT family propagation delay values for the devices you chose. This means specifically that your Verilog program must assign tPLH and tPHL values to every gate. You can get these from the 74HCT data sheets, which can be found on the Texas Instruments web site (www.ti.com) - click on "Logic" under Find Products. Some are also available via links on the course page. You do not need to use SOP form for the structural description, but if the logic you implement for the structural description differs from the equations you obtained for the dataflow model, you need to show how you derived them.

Note that this means that your total propagation delay will be determined by actual devices and will differ from the dataflow design you did.

You can use the same testbench that you used to verify your dataflow description (though you may need to change the timing).

This final report must include

1. A brief problem description
a. The problem your circuit solves
b. Specific requirements
2. The project deliverables (exactly what you are generating and turning in)
3. Approach/methodology (the steps you will take to solve the problem)
4. Your design work ("black box" diagram, truth table, K-­-map, reduced equations)
5. Verilog source code listings (for both designs and the testbench)
6. The timing diagram showing how your design performed
7. A schematic with reference designators and bill of materials
8. A statement indicating the worst-­-case propagation delay of your circuit (indicating the input and output and delay).

Your report must be typed, stapled and submitted on 8.5 x 11 inch paper. Do not use any kind of report cover. K-­-maps can be hand-­-drawn.

While your schematic may be hand drawn, you will receive 5 points extra credit if you use a schematics capture package to create your schematic. See details on the course web site Resources page for details on schematics capture packages.

Reference no: EM131218313

Questions Cloud

Cross-price elasticity of demand : a. For the above consumer's household, which product has the higher price elasticity of demand: bananas or milk? Briefly explain. b. Is the cross-price elasticity of demand between bananas and other fruit positive or negative for this consumer? B..
Prevailing standards for wages : Should a company like Apple require supplier to exceed-not just match- the prevailing standards for wages and working conditions in their home countries?
How culture influences working styles : How culture influences working styles and different management styles - The importance of training managers to become inter-culturally competent
How would you evaluate the capital budgeting method used : How would you evaluate the capital budgeting method used historically by AES? What is an appropriate required rate of return for AES to use around the world?
Compile and simulate verilog program : ECE 171 - Fall 2015 - compile and simulate your Verilog program using the Verilogger software system or any other Verilog environment. Save and print the simulator timing diagram so that you can include it in your final report.
Determine the cost of the ending finished goods : Determine the cost of the ending finished goods of each of the products as at 30 Nov 2015 using the physical method and determine the cost of the ending finished goods of each of the products as at 30 Nov 2015 using the net realisable value method.
Explain the primary purpose for observing young children : CHCECE023 Analyse information of inform learning Assignment. Explain the primary purpose for observing young children in early childhood settings? What are the benefits in using a variety of assessment methods and tools
What you liked and/or disliked about the book : What you liked and/or disliked about the book. What you plan to implement in your life. A financial quote that you liked from the book with the page number.
List three comparable firms for woolworths : List three comparable firms for Woolworths. Justify the inclusion of these companies in your list. Calculate P/E ratio and P/B ratio of the all the companies in your list (use fiscal year end data of 2015).

Reviews

Write a Review

Other Engineering Questions & Answers

  Power electronics involves the use of semiconductor devices

power electronics involves the use of semiconductor devices to control a range of applications in rectification dc and

  What system engineering means to you

What system engineering means to you? Mention two or three primary benefits that a project/program can derive from the implementation of a well-organised System engineering process, when developing a new product a new product or system.

  What is the effort force of the motor

A block and tackle system with 4 supporting strands is used to lift a large metal plate in a automotive factory. What is the effort force of the motor needed to lift a 60 lb plate?

  Designs of the past and present

Identify which style of housing borrows from many housing designs of the past and present:-

  Evaporative crystallizer operating

An aqueous solution of potassium hydroxide is fed at a rate of 875 kg/h to an evaporative crystallizer operating at 10°C, producing crystals of KOH·2H2O. A 5 g aliquot of the feed solution is titrated to neutrality with 22.4 mL of 0.85 molar H2SO4..

  The significance of a voltage amplifier and its applications

Describe how negative feedback works, and explain some of its advantages.

  Which of the materials will give the longest life

If you required to choose surface rubbing material: between lead, polytetrafluoroethylene (PTFE), and polyethylene for the pin to be fitted to the steel bucket bush, which of the following materials will give the longest wear life?

  Arena simulation program arena simulation programhomework

arena simulation program ltbrgthomework help gtgt question gtgt arena simulation program ltbrgtmodify the airline

  Discuss key problems associated with using packaged soft

Discuss the key problems associated with using packaged software? How can these problems be minimized?

  Dc bias point and small-signal model parameters

(a) Choose the value of Re such that Gv is maximized, subject to the constraint that vbe ≤10mV and the transistor stays in the active mode. What is the value of Gv?

  Define what is meant by a process in a process model

Define what is meant by a process in a process model. How should the process be named? What information about a process should be stored in the CASE repository?

  Describe concurrent engineering

Describe concurrent engineering

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