Professional Documents
Culture Documents
Verilog QP - 4
Verilog QP - 4
0 2019-20
5. How many possible outputs would a decoder have with a 6-bit binary input?_________
a) 32 b) 64 c) 128 d) 16
a) 2 b) 3 c) 4 d) 1
a) 5 b) 10 c) 15 d) 20
1 www.cranessoftware.com
©Cranes Software International Limited, Varsity Division V1.0 2019-20
10. In a combinational circuit, the output at any time depends only on the _______ at that time.
11. Determine the type of machine and design the circuit for the following state machine.
12. Write any VHDL/Verilog HDL code for an Asynchronous Reset D Flip Flop.
14. Draw the combinational logic circuit with three inputs x,y, z and three output a, b and c.
when binary input is 0, 1, 2 or 3 the binary output is one greater than the input. When the binary
input is 4, 5, 6 or 7 the binary output is one less than the input.
18. Draw IO Pin diagram for a Dual Port RAM and a FIFO.
a) Half adder
b) F(w, x, y, z) = ∑(1, 4, 5, 6, 12, 14, 15)
2 www.cranessoftware.com
©Cranes Software International Limited, Varsity Division V1.0 2019-20
20. Design a sequence detector which detects 101 and 010 using mealy and moore state machine
and write verilog code.
21. Design and write a verilog program for a counter which counts 16 states using synchronous
counter.
23. Design ALU with minimum 10 functions using register and write verilog program.
24. Draw the MOOREFSM for following sequence detection “101011” for both overlap and
non-overlap sequence and write the HDL code.
3 www.cranessoftware.com