Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

By following the specified steps of the FSM-D model (a) - (g) design the Supermarket Billing System described below. You are not required to

 

By following the specified steps of the FSM-D model (a) - (g) design the Supermarket Billing System described below. You are not required to write any VHDL code for this exercise. (a) System Interface (b) Data-path Design (c) Data-path Interface Definition (d) Control Interface Definition (e) Control FSM Design (f) Test Cases System Inputs: CLOCK, RESET, ENABLE, ENTER, 16-bit PRICE, 16-bit QUANTITY System Outputs: 32-bit GRAND_TOTAL, DONE The system operation is as follows: When RESET is asserted, the module should output GRAND_TOTAL = HEX "00000000" When ENABLE is asserted HIGH then the system enabled for operation will accept values for PRICE, QUANTITY. Output GRAND_TOTAL will remain as the previous value. When ENTER is asserted the system computes the product of PRICE and QUANTITY to produce a partial product which is then added to the GRAND_TOTAL. If the GRAND TOTAL is above $500 then a discount of $50 is applied to the GRAND_TOTAL. DONE is asserted for one (1) clock cycle after GRAND_TOTAL is computed.

Step by Step Solution

3.48 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

a System Interface Inputs CLOCK RESET ENABLE ENTER PRICE150 QUANTITY150 Outputs GRANDTOTAL310 DONE b Datapath Design The datapath of the system consists of the following components Price Register PR a ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Electrical Engineering questions

Question

Explain the concept of shear force and bending moment in beams.

Answered: 1 week ago