Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Only Logism software is allowed for this assignment. For this assignment, you are required to implement a simple simulation of a snack / vending machine.

Only Logism software is allowed for this assignment.
For this assignment, you are required to implement a simple simulation of a snack/vending machine.
L/T 01234567
0
1
2
3
4
5
6
7
The snack machine is a 8x8 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 X.
The snack machine has two inputs:
Input 1(T) represents the Top number (0-7).
Input 2(L) represents the Left number (0-7).
Requirements:
The snack machine can only vend where there are snacks (across locations 1,3,6, and 7). Snack slots 2,4 and 5 are currently empty and the venting machine will not work if these locations are selected. The snack machine will vend if L =0,1,3,6, or 7, T =0,1,3,6, or 7, and L != T. Any other combination of L and T values will result in a vending error and no snack will be vended.
Example 1: If Left (L) is 1 and the Top is (7), the snack at (1,7) is successfully vended.
Example 2: The Left (L) is 2 and the Top (T) is 4. However, there is no snack at (2,4) 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 (L) will be represented by three inputs (3 bits). The three L inputs are named as L1, L2, and L3. The table below shows the assignment of bits to each L value for L1, L2, and L3.
For this assignment, Top number (T) will be represented by three inputs (3 bits). The three T inputs are named as T1, T2, and T3. The table below shows the assignment of bits to each T value for T1, T2, and T3.
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 2 inputs.
Each NOT gate can have only 1 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 (L1, L2, and L3) and a Top number (T) using value (T1, T2, and T3).
The circuit decodes the L1, L2, L3 and T1, T2, T3 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 2).
L value L1 L2 L3 T value T1 T2 T3
0
1
2
3
4
5
6
7000
001
010
011
100
101
110
1110
1
2
3
4
5
6
7000
001
010
011
100
101
110
111
The output is via a single output pin (green circle in Logisim):
The output pin must be labelled Successful which is lit if L =0,1,3,6, or 7, T =0,1,3,6, or 7, and L != T. The output pin is not lit for any other combination values of L and T
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

OUTCOME 1 Explain the reasons for equity-related legislation.

Answered: 1 week ago