Question: 1 ) Construct a circuit that takes in a 3 - bit input and computes a 2 - bit output that represents the number of
Construct a circuit that takes in a bit input and computes a bit output that represents the number of s in the input. For example, if the input is the output should be representing the decimal number If the input is the output should be representing the decimal number Your input should be in the form of three separate bit inputs, A B and C Your output should be in the form of two separate bit outputs, Z and Z representing the MSB and LSB respectively, of the answer.
Construct a circuit to control a conveyor belt system that moves packages around a factory. A rough diagram of the system is below:
The system has a branch in the belt so that packages moving from bottom to top upward can go either left or right. The above diagram is showing the branch currently in the left mode packages will take the left branch
The system can also reverse the direction of the belt, moving packages from top to bottom:
v v
v v
v v
v
v
v
Note the opposite direction of the arrows pointing downward. Also note the branch is now in the right mode. In this configuration, packages from the right branch will move onto the central line. If the branch was still in left mode, it would instead move packages from the left branch onto the central line.
The belt can be in one of three states:
not moving
moving downward
moving upward
The branch switch can be in one of two states:
left
right
Input
As input, the system has three weight sensors that detect packages on different parts of the belt and provide input to the circuit:
B the bottom part of the belt
L the upper left branch of the belt
R the upper right branch of the belt
These sensors will have a value of if there is a package on that part of the belt, and otherwise.
Output
As output, the system produces C conveyor direction and S branch switch direction Since the conveyor direction has three possible values not moving, downward, and upward C is composed of two bits: C and C representing the MSB and LSB respectively, of the direction not moving, downward, upward
The S output is for left and for right.
Logic:
Packages at the top positions L or R always want to move downward, and packages at the bottom B always want to move upward. Packages at the bottom have priority.
The system is governed by the following rules:
If there are packages at both the L and R positions at the same time, the system is jammed and a human operator must intervene. The conveyor C direction is set to not moving and the switch direction S does not matter S don't care
Packages on the B bottom line take precedence and will be moved upward if possible C
If there is also a package on the L branch, the switch is set to the right position S so that the bottom package can move around the other package.If there is also a package on the R branch, the switch is set to the left position S so that the bottom package can move around the other package.If there are no packages on L or R the switch value does not matter S don't care
Packages on the L or R branch can move downward if there is nothing at B In this case, C
If there is a package at L the switch is in the left position S If there is a package at R the switch is in the right position S
If there are no packages at any location, the belt should not move C and the switch direction does not matter S don't care
Don't worry about the possibility of the sensors changing as soon as packages start moving. Assume the sensors are read once and then the belt moves for a long enough time to completely remove one package from the system, and only then are the sensors read again. In other words, only think of the system in terms of one instant in time do not worry about the future.
Below is an example of your truth table with some rows is given as a starting point:
B
LRCCS
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
