Question

In: Electrical Engineering

Jack wants to build a circuit to shift 4 bits (I0 to I3 from left to...

Jack wants to build a circuit to shift 4 bits (I0 to I3 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 O0 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 fourth and 20-th row of the truth table for O2, and the fourth and 20-th row for O1. Each row should be formatted as (S,I0,I1,I2,I3,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,1),(0,0,0,0,0,0),(1,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.

Solutions

Expert Solution

truth table for the given question with 4th and 20th row highlighted using dotted lines


Related Solutions

4- a) Draw a 4-Bit Shift Register that shifts from right to left instead of left...
4- a) Draw a 4-Bit Shift Register that shifts from right to left instead of left to right using D-Flip flops. b) Draw the serial transfer from shift register A on the right to the shift register B on the left in block form including the timing diagrammes. c) Draw the serial transfer table in the following form, assuming an initial value of 1101 in the register A and 0110 in the register B. Timing Pulse Shift Register B Shift...
1) Explain the oprerating principle of left-rotating, right rotating shift register by sketching the circuit and...
1) Explain the oprerating principle of left-rotating, right rotating shift register by sketching the circuit and timing diagram for 4-bit register configurations?
1. Design a combinational logic circuit that converts 4 bits binary to gray code 2. Design...
1. Design a combinational logic circuit that converts 4 bits binary to gray code 2. Design a combinational logic circuit that converts gray code to 4 bits binary 3. Design a combinational logic circuit that converts 4bits 2421 to excess 3 code
An oil company wants to build a pipeline to take oil from an oil well to...
An oil company wants to build a pipeline to take oil from an oil well to a refinery. Unfortunately, the well and the refinery are on either side of a straight river which is 10 miles wide, and they are 50 miles apart along the coastline (that is, if you want to go from the well to the refinery you must first cross 10 miles of river and then go 50 miles along the side of the river). The company...
4. How is a change in a shift factor different from a change in price?
4. How is a change in a shift factor different from a change in price?
A certain website wants you to build a 6-character password from the letters a through i,...
A certain website wants you to build a 6-character password from the letters a through i, the numbers 0 − 9, or the symbols @, #, or &. Clearly, the order of the characters in the password matters (a) How many passwords are there in total? (b) How many passwords are there that consist of distinct characters? (c) How many passwords have the first two characters be letters, the middle two character be one of the symbols and the last...
4. Assume that the repetition is not allowed. How many orders that can be build from...
4. Assume that the repetition is not allowed. How many orders that can be build from 6 numbers, 2, 3, 4, 5, 7 and 9, taken 3 at a time, to produce any number in hundreds, a) Without any condition b) Produce values less than 400. c) Produce the even values. d) Produce the odd values. e) Produce values that are the multiple of 5.
use the 4 action framework from the textbook to describe how you are going to build...
use the 4 action framework from the textbook to describe how you are going to build competitive advantages for IMAX in the market?
4. The realtors from problem #2 wants to explore how location and size impacts the selling...
4. The realtors from problem #2 wants to explore how location and size impacts the selling price for single-family houses. The realtors plans to use number of rooms as an indicator of size. Location will be whether the home is located on the east side of town (=0) or west side of town (=1). The data she collected from 20 homes is located in the data file Homes. a. Run a multiple regression using number of rooms and neighborhood location...
Approximate the area under the curve y=x^3+4 from x=2 to x=5 using a left sum with...
Approximate the area under the curve y=x^3+4 from x=2 to x=5 using a left sum with 6 subdivisions. The area is approximately
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT