Reference Designer
Tutorials Home
Verilog Basic Tutorial
Verilog Introduction
Installing Verilog and Hello World
Simple comparator Example
Code Verification
Simulating with verilog
Verilog Language and Syntax
Verilog Syntax Contd..
Verilog Syntax - Vector Data
Verilog $monitor
Verilog Gate Level Modeling
Verilog UDP
Verilog Bitwise Operator
Viewing Waveforms
Full Adder Example
Multiplexer Example
Always Block for Combinational ckt
if statement for Combinational ckt
Case statement for Combinational ckt
Hex to 7 Segment Display
casez and casex
full case and parallel case
Verilog for loop
Verilog localparam and parameter
Sequential Ckt Tutorial
Sequential Circuits
Serial Shift Register
Binary Counters
Ring Counter
Misc Verilog Topics
Setting Path Variable
Verilog Tutorial Videos
Verilog Interview questions #1
Verilog Interview questions #2
Verilog Interview questions #3
Verilog Books
Synchronous and Asynchronous Reset
Left and Right shift << and >>
Negative Numbers
Blocking Vs Non Blocking
wand and wor
delay in verilog
$dumpfile and $dumpvars
Useful Resources
Verilog Examples
Verilog Quizs
Verilog Quiz # 1
Verilog Quiz # 2
Verilog Quiz # 3
Verilog Quiz # 4
Verilog Quiz # 5
Verilog Quiz # 6
Verilog Quiz # 7
Verilog Quiz # 8
Verilog Quiz # 9
Other Tutorials
Verilog Simulation with Xilinx ISE
VHDL Tutorial
Verilog Quiz
Verilog Quiz # 2
The first Verilog quiz covering first 20 chapters of the Tutorial.
Q1.
What is the time period of clock #10 clock = ~clock
A .
10
B .
20
C .
5
D.
None
Q2.
#40 $finish indicates
A .
end of simulation time
B .
end of simulation at 40 time units
C .
suspend simulation at 40 time units
D.
None
Q3.
@posedge means
A .
Transition from 0 to 1,x or z
B .
Transition from x to 1
C .
Transition from z to 1,x
D.
All of Ablve
Q4.
What is the width of time register
A .
16 bit
B .
32 bit
C .
64 bit
D.
1268 bit
Q5.
%g or %G displays
A .
Real numbers in decimal or scientific notation
B .
Real numbers in decimal or scientific notation whichever shorter
C .
Real numbers in scientific format
D.
Real numbers in decimal format
Q6.
Parameter value can be overridden at module instance by
A .
`define
B .
`include
C .
`ifdef
D.
`timescale
Q7.
If x=4’b1100 then x<<2 is
A .
4’b1000
B .
4’b0000
C .
4’b0011
D.
4’b0110
Q8.
If x=4’1100 then &x equals
A .
1'b0
B .
1'b1
C .
4'b1100
D.
None
Q9.
If A=4’b1010 and B=4’b1100 then A&B
A .
4'b0000
B .
4'b1000
C .
1'b1
D.
1'b0
Q10.
If A=1’b1,B=2’b01,C=2’b00 then y= {A,B[0],C[1]} equals
A .
3'b110
B .
3'b100
C .
3'b101
D.
1'b0
Try other quizzes
Quiz 1
Quiz 2
Quiz 3
Quiz 4
Quiz 5
Quiz 6
Quiz 7
Quiz 8
Quiz 9