Answered step by step
Verified Expert Solution
Question
1 Approved Answer
* * * Please Handdraw the logic circuit. Task Description For this assignment, you are required to implement a simple simulation of a snack /
Please Handdraw the logic circuit. Task Description
For this assignment, you are required to implement a simple simulation of a
snackvending machine.
The snack machine is a grid where the left to right diagonal is reserved for
the claw to retrieve snacks. Snacks are selected by inputting a top T and left
L number. Snacks that are missing are tagged with an
The snack machine has two inputs:
Input represents the Top number
Input represents the Left number
Requirements:
The snack machine can only vend where there are snacks across locations
and Snack slots and are currently empty and the venting machine
will not work if these locations are selected. The snack machine will vend if
or or and Any other combination of and
values will result in a vending error and no snack will be vended.
Example : If Left is and the Top is the snack at is
successfully vended.
Example : The Left is and the Top is However, there is no
snack at and there is a vending error. No snack was released.
Note: These are just a few examples. There are many more cases that
result in successful or unsuccessful snack vending. Your circuit must
correctly show a successful or unsuccessful vending for each possible
case.
For this assignment, the Left number will be represented by three inputs
bits The three inputs are named as L L and L The table below shows
the assignment of bits to each L value for L L and L
For this assignment, Top number will be represented by three inputs bits
The three inputs are named as T T and T The table below shows the
assignment of bits to each value for and
L and T Inputs
Part A:
The implementation for this part must use only the three basic logic gates
AND OR NOT
Each AND gate and each OR gate can have only inputs.
Each NOT gate can have only input.
No other logic gates or circuits are permitted to be used in your circuit
for Part A
You are required to implement a circuit where the user you can input a value
for the Left number L using value L L and L and a Top number T using
value T T and T
The circuit decodes the L L L and T T T values using a decoder see
lecture notes made up of only the permitted logic gates to determine if the
requirements for vending a snack are met see the requirements section on
page
The output is via a single output pin green circle in Logisim:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started