HI Guys
I hope you can help me on an assignment that my daughter is trying to complete by next week. she is trying to do that with the logisim software.she and I have little understanding of the subject. Are you able to help on that assignment here is the requirement:
For this assignment you must implement a simple simulation of an elevator. The elevator has two inputs. Input 1 (C) represents the Current floor (0-7). Input 2 (D) represents the Destination floor to move to (0-7). The elevator is only allowed to stop on Floors 1, 2, 3, 5, and 7. Floors 0, 4 and 6 are private and the elevator will not stop there even if the button for that floor is pressed. The elevator movement is successful if C = 1, 2, 3, 5, or 7, D = 1, 2, 3, 5, or 7, and C ≠ D. Any other values will result in an elevator movement error and the elevator will not move.
Example 1: The current floor (C) is 2 and the floor we want to move to (D) is 5. In this case the move to floor 5 is successful.
Example 2: The current floor (C) is 2 and the floor we want to move to (D) is 4. In this case D is 4 (a private floor) and there is an elevator movement error. The elevator does not move.
Example 3: The current floor (C) is 4 and the floor we want to move to (S) is 2. In this case the starting floor is 4 (a private floor) and there is an elevator movement error. The elevator does not move
The Current floor (C) will be represented by three inputs (3 bits). The three C inputs are named as C1, C2, and C3. The table below shows the assignment of bits to each C value for C1, C2, and C3. The Destination floor (D) that we want to move to will be represented by three inputs (3 bits). The three D inputs are named as D1, D2, and D3. The table below shows the assignment of bits to each D value for D1, D2, and D3.
The implementation for this part must use only the three basic logic gates (AND, OR, NOT) with maximum 2 inputs. You are required to implement a circuit where the user (you) can input a value for the Current floor (C) using value (C1, C2, and C3) and a Destination floor to move to (D) using value (D1, D2, and D3) and the circuit decodes the C1, C2, C3 and D1, D2, D3 values using a decoder (see lecture notes) made up of only the permitted logic gates to determine if the requirement for moving in the requirements section on page 4 is met. The output will be a single LED labelled Successful which is lit if C = 1, 2, 3, 5, or 7, D = 1, 2, 3, 5, or 7, and C ≠ D. The LED is not lit for any other values of C and D
Thanks in advance
I hope you can help me on an assignment that my daughter is trying to complete by next week. she is trying to do that with the logisim software.she and I have little understanding of the subject. Are you able to help on that assignment here is the requirement:
For this assignment you must implement a simple simulation of an elevator. The elevator has two inputs. Input 1 (C) represents the Current floor (0-7). Input 2 (D) represents the Destination floor to move to (0-7). The elevator is only allowed to stop on Floors 1, 2, 3, 5, and 7. Floors 0, 4 and 6 are private and the elevator will not stop there even if the button for that floor is pressed. The elevator movement is successful if C = 1, 2, 3, 5, or 7, D = 1, 2, 3, 5, or 7, and C ≠ D. Any other values will result in an elevator movement error and the elevator will not move.
Example 1: The current floor (C) is 2 and the floor we want to move to (D) is 5. In this case the move to floor 5 is successful.
Example 2: The current floor (C) is 2 and the floor we want to move to (D) is 4. In this case D is 4 (a private floor) and there is an elevator movement error. The elevator does not move.
Example 3: The current floor (C) is 4 and the floor we want to move to (S) is 2. In this case the starting floor is 4 (a private floor) and there is an elevator movement error. The elevator does not move
The Current floor (C) will be represented by three inputs (3 bits). The three C inputs are named as C1, C2, and C3. The table below shows the assignment of bits to each C value for C1, C2, and C3. The Destination floor (D) that we want to move to will be represented by three inputs (3 bits). The three D inputs are named as D1, D2, and D3. The table below shows the assignment of bits to each D value for D1, D2, and D3.
The implementation for this part must use only the three basic logic gates (AND, OR, NOT) with maximum 2 inputs. You are required to implement a circuit where the user (you) can input a value for the Current floor (C) using value (C1, C2, and C3) and a Destination floor to move to (D) using value (D1, D2, and D3) and the circuit decodes the C1, C2, C3 and D1, D2, D3 values using a decoder (see lecture notes) made up of only the permitted logic gates to determine if the requirement for moving in the requirements section on page 4 is met. The output will be a single LED labelled Successful which is lit if C = 1, 2, 3, 5, or 7, D = 1, 2, 3, 5, or 7, and C ≠ D. The LED is not lit for any other values of C and D
Thanks in advance