Question

A vending machine sells a variety of snacks for $0.65; it only accepts dollars. It provides $0.35 in change in nickels, dimes and quarters, using the smallest number of coins possible. The change controller takes inputs from a quarter counter (1-bit), dime counter (2-bits), and nickel counter (3-bits). It outputs the number of quarters (1-bit), dimes (2-bits) and nickels (3-bits) to be dispensed, or asserts no change (1- bit) if the machine is unable to make exact change. Design a circuit that implements the change controller using SOP form. Be sure to show truth tables, K maps, and reduced equations. Describe your circuit using a Verilog behavioral dataflow description and simulate it by writing a testbench. Assume the device has a propagation delay of 5 time units 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).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Dvtput relations o imum Co in The total nroeof Coine should be minimum and So of Gins taloe shoulá be 036 TNPUT OUTPUT Dine |table INPOT OUTPUT1101010| 1 | 01 | | 이이이11010 ol 이 1110101011101(e) 이 blo | | | 이。 60 oN2 A OlI 6 0 0 0Soleng the abere Tabl e e get the Sop on o ac autoble. Ne AB.DA.8.

Add a comment
Know the answer?
Add Answer to:
A vending machine sells a variety of snacks for $0.65; it only accepts dollars. It provides...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Hi , Can you do the truth table,k-map reduce form equation please . Build a 4-bit...

    Hi , Can you do the truth table,k-map reduce form equation please . Build a 4-bit Reflective Gray Code Converter. The converter will have 4 bits of input in binary and will output 4 bis of reflective gray code. Design a circuit that implements the converter using SOP form. Be sure to show truth tables, K-maps, and reduced equations. Describe your circuit using a Verilog behavioral dataflow description and simulate it by writing a testbench. Assume the device has a...

  • C++ HW Question Your program will simulate a simple change maker for a vending machine. It...

    C++ HW Question Your program will simulate a simple change maker for a vending machine. It will start with a stock of coins and dollars. It will then repeatedly request the price for an item to be purchased or to quit. If given a price, it will accept nickels, dimes, quarters, one-dollar and five-dollar bills—deposited one at a time—in payment. When the user has deposited enough to cover the cost of the item, the program will calculate the coins to...

  • I need help with 2,3,4 please 1. Design a sequential circuit for a vending machine controller...

    I need help with 2,3,4 please 1. Design a sequential circuit for a vending machine controller where a product sells for 30 cents, and the machine takes quarters, and dimes only. It also releases 5 cents, 15 cents and 20 cents for changes. Show the complete design using D-FFs including the Transition Diagram, Transition Table and combinational circuits. 2. Carry out a step by step procedure of Booth algorithm in multiplying the two 6-bit2's complement numbers: a. Multiplicand: 010011 Multiplier:...

  • A specific type of bit-level manipulation consists in setting or clearing one single bit in a...

    A specific type of bit-level manipulation consists in setting or clearing one single bit in a multi-bit value, given its index and its new value. This operation can be implemented in hardware by a BitSet circuit with the following interface: Input x is a 4-bit value representing the original value. Output y is a 4-bit value representing the modified value, after the bit-set operation. Input index is a 2-bit value, ranging from 0 to 3, indicating the index of the...

  • show its derivation to get the full mark. 2. (10 marks) 0 3 Figure 2: Mapping...

    show its derivation to get the full mark. 2. (10 marks) 0 3 Figure 2: Mapping from input bits to different LED segments on a SSD Design a structural System Verilog module for a 7 segment display decoder that has a four bit input C, and produces a seven bit outpt Y which can be used to display the character associated with the hexadecimal value of C on a 7-segment display. The seven segments in the display are identified with...

  • Your program must meet the following specifications: 1. At program start, assume a stock of 10 nickels, 10 dimes, 10...

    Your program must meet the following specifications: 1. At program start, assume a stock of 10 nickels, 10 dimes, 10 quarters, and 10 pennies. 2. Repeatedly prompt the user for a price in the form xX.xx, where X denotes a digit, or to enter q' to quit 3. When a price is entered a. If the price entered is negative, print an error message and start over requesting either a new price or to quit (indicated by entering a 'q)...

  • Use a behavioral Verilog model to design a 3-bit fault tolerant up-down counter. For each flip-fl...

    Use a behavioral Verilog model to design a 3-bit fault tolerant up-down counter. For each flip-flop (FF) include asynchronous reset and preset signals. Refer to Example 4.3 on page 160 for an example of a single FF with both reset and preset signals as well as with an enable signal. For this project, you don't need to use FFs with enables. You don't also need not-q (nq) in this assignment. Use active-high signals for reset and present signals. The example...

  • FIRST ACTIVITY: (100/100) . SIMPLE 4-BIT ARITHMETIC LOGIC UNIT (ALU): This circuit selects between arithmetic (absolute...

    FIRST ACTIVITY: (100/100) . SIMPLE 4-BIT ARITHMETIC LOGIC UNIT (ALU): This circuit selects between arithmetic (absolute value, addition) and logical (XOR, AND) operations. Only one result (hexadecimal value) can be shown on the 7-segment display This is selected by the input sel (1..0) B A-BI A+B A xnor B A nand B Input EN: If EN-1result appears on the 7 segment display. If EN=0 → all LEDs in the 7 segment display are off Arithmetic operations: The 4-bit inputs A...

  • number 4 and 5 please! PROBLEM STATEMENT A logic circuit is needed to add multi-bit binary...

    number 4 and 5 please! PROBLEM STATEMENT A logic circuit is needed to add multi-bit binary numbers. A 2-level circuit that would add two four-bit numbers would have 9 inputs and five outputs. Although a 2-level SOP or POS circuit theoretically would be very fast, it has numerous drawbacks that make it impractical. The design would be very complex in terms of the number of logic gates. The number of inputs for each gate would challenge target technologies. Testing would...

  • 1. Create a new multi-class Java program which implements a vending machine simulator which contains the...

    1. Create a new multi-class Java program which implements a vending machine simulator which contains the following functionality: A) At program startup, the vending machine is loaded with a variety of products in a variety of packaging for example soda/tonic/Coke in bottles, peanuts in bags, juice in cartons, etc. Also included is the cost of each item. The program should be designed to easily load a different set of products easily (for example, from a file). Also at program startup,...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT