1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
KatRina [158]
3 years ago
13

You are to design the control for an automatic candy vending machine. The candy bars inside the machine cost 25 cents, and the m

achine accepts nickels, dimes, and quarters only. The inputs to the control are a set of three signals that indicate what kind of coin has been deposited, as well as a reset signal. The control should generate an output signal that causes the candy to be delivered whenever the amount of money received is 25 cents or more no change is given . Once the candy has been delivered, some external circuitry will generate a reset signal to put the control back into its initial state.
Required:
a. Identify your inputs and outputs, and draw the ASM chart that implements this finite state machine.
b. Assuming no change given, draw a state diagram that implements the finite state machine.
c. Implement the finite state machine using D, T and JK flip-flops. You may use gray code state assignment.
d. Verify the D flip-flop implementation in (b).
e. Write Verilog HDL models for the machine based on the state diagram in (a) and the D flip-flop sequential circuit that you implement in (b).
f. Modify your control design such that the vending machine may give change if more than 25 cents is deposited. You do not have to implement your design. State diagram is sufficient.
Engineering
1 answer:
labwork [276]3 years ago
6 0

Answer:

I believe that it is E. Write Verilog HDL models for the machine based on the state diagram in (a) and the D flip-flop sequential circuit that you implement in (b).

You might be interested in
Prove the following languages are nonregular, once using the pumping lemma and once using the Myhill-Nerode theorem. When using
VashaNatasha [74]

Answer:

For any string, we use s = xyz

Explanation:

The pumping lemma says that for any string s in the language, with length greater than the pumping length p, we can write s = xyz with |xy| ≤ p, such that xyi z is also in the language for every i ≥ 0. For the given language, we can take p = 2.

Here are the cases:

  • Consider any string a i b j c k in the language. If i = 1 or i > 2, we take x = \epsilon   and y = a. If i = 1, we must have j = k and adding any number of a’s still preserves the membership in the language. For i > 2, all strings obtained by pumping y as defined above, have two or more a’s and hence are always in the language.
  • For i = 2, we can take    and y = aa. Since the strings obtained by pumping in this case always have an even number of a’s, they are all in the language.
  • Finally, for the case i = 0, we take x = \epsilon  , and y = b if j > 0 and y = c otherwise. Since strings of the form b j c k are always in the language, we satisfy the conditions of the pumping lemma in this case as well.
8 0
3 years ago
Which of the following requires formwork?
vekshin1

Answer:

D

Explanation:

Masonry uses stone work, making a stone wall requires perfect masonry.

3 0
3 years ago
What are Tresca and Von Mises yield criteria?
elena-s [515]

Answer

For isotropic material plastic yielding depends upon magnitude of the principle stress not on the direction.

Tresca and Von Mises yield criteria are the yield model which is widely used.

The Tresca yield criterion stated that yielding will occur in a material only when the greatest maximum shear stress reaches a critical value.

max{|σ₁ - σ₂|,|σ₂ - σ₃|,|σ₃ - σ₁|} = σ_f

under plane stress condition

  |σ₁ - σ₂| = σ_f

The Von mises yielding criteria stated that the yielding will occur when elastic energy of distortion reaches critical value.

σ₁² - σ₁ σ₂ + σ₂² =  σ²_f

5 0
3 years ago
Hi I don't know of yall remeber me, but I'm Jadin aka J. I am looking for my friend group, that I have missed but can't find cau
kirill [66]

Answer:

The young lady was his daughter.The shoemaker was frightened when he saw that she wants to sit near him and took his knife to frighten her and leave him alone to do his work

Explanation:

could uh name them since if i know any i would surely tryin help

7 0
2 years ago
Case Study # 1: Cadbury Crisis Management (Worm Controversy)
Rasek [7]
H is the answer
Step by step
3 0
3 years ago
Other questions:
  • A furnace wall consisting of 0.25 m of fire clay brick, 0.20 m of kaolin, and a 0.10‐m outer layer of masonry brick is exposed t
    8·1 answer
  • Two hemispherical shells of inner diameter 1m are joined together with 12 equally spaced bolts. If the interior pressure is rais
    15·1 answer
  • One who is trained in math, science and physics in order to work in a branch of engineering
    7·2 answers
  • 6.3.3 Marks on an exam in a statistics course are assumed to be normally distributed
    14·1 answer
  • Structural engineers use wireless sensor networks to monitor the condition of dams and bridges.
    9·1 answer
  • (20 points) A 1 mm diameter tube is connected to the bottom of a container filled with water to a height of 2 cm from the bottom
    12·1 answer
  • Hello how are you all bye everyone have a great day ahead​
    8·2 answers
  • PLEASE FIX THIS LUA SCRIPT
    12·2 answers
  • Complex machines are defined by
    8·1 answer
  • What is chemical engieering ?​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!