In Verilog
Design a state machine, using the D flip-flop, that implements a
00 and 11 sequence detector. Your machine should output a
1 as soon as it detects two 0s or
two 1s on its input, otherwise it outputs
0s.
Write a module that implements the machine and a test bench to test
it.
You are to implement the following in VHDL:
D flip-flop
D flip-flop with enable
and reset
J-K flip flop with asynchronous set
T Flip flop with asynchronous clear
A T flip-flop is a 1-bit synchronous storage component
alternative to the D flip-flop, with a slightly different
interface. The T flip-flop has one input t to
synchronously control the state of the flip-flop, as follows:
When t is 0, the flip-flop does not change its
state value.
When t is 1, the flip-flop inverts its current
state value (0 becomes 1, and 1 becomes 0).
Write a Verilog module for the T flip-flop using a behavioral
model. The flip-flop...
Use D flip-flops and gates to design a binary counter with each
of the following repeated binary sequences: (a) 1, 5, 7 (b) 0, 2,
4, 6
(a) Draw the logic diagram (b) Construct Verilog RTL
representation for the logics with verification.
Which of the following combinations of gates can be used to make
a clocked SR flip-flop? Assume NOT gates have one input each, all
other gates have two inputs each. (One or more is true. Your answer
is considered correct only if all and only the true options are
selected.)
A. 4 NAND gates,2 NOR gates
B. 2 AND gates,1 OR gates,1 NAND gates,1 NOR gates
C. 1 NAND gates,4 NOR gates
D. 1 OR gates,4 NAND gates,7 NOR gates...
Design a counter that uses only 3 D flip-flops and as many logic
gates as needed. The counter follows a sequence: 0, 5, 25, 15, 9,
6, 12, 3, 0, 5, 25, 15, 9, 6, 12, 3, …. Show all design details,
i.e., block diagram, equations, and circuit diagram.
Design a counter using JK Flip Flops and Gates, that counts
3,1,4,2,9,2,2,4 using a Moore Machine. Show Moore machine state
diagram, state table and cirucit.