Design a 4-bit register using four J-K flip-flops (D4, D3, D2, and D1) with the following behaviour.
There are two control inputs, M (mode) and L (load).
When L and M are both high, data is loaded in parallel from the data inputs A4, A3, A2, and A1.
When M is high and L is low, there is a circular left shift of the data in the register.
If you can explain the work, that would be great. Really struggling with register design using flip flops.
When M and L are both low, the register is left unchanged.
When M is low and L is high, the contents of the register are inverted.
Give a design for this 4-bit register using J-K flip-flops, and whatever other hardware you need.
If you can explain the work you are doing, that would be great. Really struggling with register design using flip-flops.
explanation and basic hardware tips for design:
1: D-type flip flops are generally used in designing register since nextstate value is the same as the inputs.
2: T-type flip flops are generally used in counter.
using the above even if we are required to perform an operation using another flip flop we will know what the current flip flop we have should perform like.
here we want a Register logic design
hence as discussed above the flip flop generally used for these type of sequential circuits are D-flip flops
we have J-k flip flop (so from logic we see that we need this j-k flip flop to work as D-flip/flop)
how?
convert j-k flop to d
truth table for j-k
j k q qbar
00 (previous value)
01 0
10 1
11 (previous value)'
now here we see:
when here we see if j is connected to an input D and k is connected to the negation of D(i,e D')
then we will convert the j-k flip flop to D. since then is d=0 then j=0 and k=1 (hence q=0)
when D=1 then j=1 and k=0 hence q=1(following d-flip flop nextstate table logic)
now the second part of the design is input selection to these newly crated D flip flop for the required logic
the selection needs to be based on two inputs and the output is a single bit depending on the selection inputs
this logic can be performed by a multiplexer:
since we have two selection bit hence we will use 4:1 multiplexer:
with selection input as Mode and LOAD(M and L respectively)
when M=0 and L=0
the register value doesn't need to change hence if we connection 00 of mux for the output of the current flip flop the value will stay as it is.
when M=0 and L=1 the contents needs to be inverted:
hence if we connect the 01 input of multiplexer to the Qbar of the current state the output can be achieved
when m=1 and L=0 this circuit should perform circular left shift:
to achieve this if we connect the next state output to the current state(i,e the output of the right adjacent flip flop to the current 1 then it will be a left shift)hence connection right adjacent flip flop output to 10 input of mux
when M=1 and L=1 parallel load connect A4toA1 to the MSB-LSB mux on 11 of mux hence designing:
now connection the mux to the input of all the flip flop created above making the register design as shown:
Design a 4-bit register using four J-K flip-flops (D4, D3, D2, and D1) with the following...
Design a 3- bit Multipurpose Register. The register utilizes 3 "D" type flip flops with outputs Q0, Q1, Q2. The Registers has a synchronous clock input(CLK) that clocks all 3 flip flops on its positive edge The Registers has an asynchronous clear input(CLR' ) that sets all flip flops to "0" when active low. The Register has 2 select inputs, S0 and S1 that selects the functions as folows: S1 = 0, 0, 1, 1 and S0 = 0,1,0,1 and...
Q2. Draw a schematic diagram for a 4-bit register using four D Flip-Flops and four 2-1 multiplexers. Draw a block around each one-bit register used in your design.
Design a 4-bit binary up counter (like the following state diagram) using JK flip flops. State diagram. 0000 0001 11111 (a) Draw the state table with the input values for J K flip flops(b) Simplify the input equations by K map (c) Draw the logic diagram
Problem 4: Design a 2 bit register whose operation is controlled by the signals C1 and C2 as follows: (Use D- Flip Flops) Y2 Y1 C 2-Bit Register Clock SD PD1 PD2 Y1 Y2+ Operation Hold C1 C2 Y2 Y1 0 10 Shift Right Y1 SD 1 0 SD Y2 Shift Left PD2 PD1 Parallel Load 1 SD: Serial Data input PD1 PD2: Parallel Data input
Problem 4: Design a 2 bit register whose operation is controlled by the signals...
Design an up/down counter with four states (0, 1, 2, 3) using clocked J-K flip-flops. A control signal x is used as follows: When x 0 the machine counts forward (up), when x , backward (down). Simulate using MultiSim and attach a simulation printout X Please address the following in your report 1. State Table 2. State Diagram 3. Flip-Flop Excitation Tables 4 K-Map Simplification and resulting diagram 5. Multisim Simulation 6. Conclusion/Discussion 7. References
Design an up/down counter with...
using J-K flip-flops, design a synchronous counter to produce the following repeating sequence 0,6,2,4,0 and prove it in Multisim.
3 Theory A shift register is a series of flip-flops connected so that data can be transferred to a neighbor each time the clock pulse is active. An example is the display on your calculator. As numbers are entered on the keypad, the previously entered numbers are shifted to the left. Shift registers can be made to shift data to the left, to the right, or in either direction (bi-directional), using a control signal. They can be made from either...
UP/DOWN counter: Design a modulus-14 up/down counter using decade J-K flip-flops.
Problem: Design a sequential system, using JK flip flops, that will have as inputs two binary data streams xa and xb (assume xa and xb are synchronized bit streams) and will output a detection (z = 1), whenever the sum of the last three bits in xa with the last three bits in xb is 710 = 1112, for example: 101 + 010 = 111. The detection is with overlap. You may use any combinational logic and device but not a...
I NEED HELP WITH FLIP FLOPS Flip-flop type JK Design a JK flip flop using only logic gates .Fill the truth table exercising all possible combinations of inputs for J and K Flip-flop type D Set the JK type flip flop from the previous step to work as a flip flop type D. Fill the truth table by exercising all combinations of possible entries D Flip-flop type T Set the circuit of the previous step to work as a flip...