Question: Jack wants to build a circuit to shift 4 bits lo to l3 from left to right) in a circular way. One extra bit (S)
Jack wants to build a circuit to shift 4 bits lo to l3 from left to right) in a circular way. One extra bit (S) is used to control the direction of shifting. When S 0, the bits should be shifted left, otherwise right. The outputs are Oo to O3 from left to right. For example, when shifted right, 0011 would become 1001; when shifted left, 0011 would become 0110. Please help Jack get started by providing the second and 23-th row of the truth table for O3, and the second and 23-throw for O0. Each row should be formatted as (S,10,12-13-Output) and the rows should be separated by comma. The answer should look like (0,0,0,0,0,0),(1,1,,1,1,1),(0,0,0,0,0,0),1,1,,1,1,1). All inputs as 0 is the first row and all inputs as 1 is the last row in the truth table
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
