Hey Folks, In this week we are going to see NPTEL System Design through Verilog. I am answering these answers to the best of my knowledge. If any Change in the answers, please visit on or before to the last date.
NPTEL System Design Through Verilog Week 1 Assignment 2023
Q1. HDL can perform which of the following operation?
(A) Design Verification
(B) Synthesis
(C) Design entry
(D) All of the above
Answer: [ D ] All the above
Q2. Which of the following is correct with respect to the Synthesis tool?
(A) It produces an RTL description of the circuit
(B) It produces Netlist
(C) It produces a Behavioral description of the circuit
(D) It produces a Dataflow description of the circuit
Answer: [ B ] It produces Netlist
Q3. Which of the following statement is FALSE with respect to FPGA?
(A) FPGA design flow is complex compared to ASIC
(B) FPGA production cost is lower than ASIC
(C) FPGA design is less optimized compared to ASIC
(D) FPGA design is less energy efficient
Answer: [ B ] FPGA production cost is lower than ASIC
Q4. Which of the following is FALSE?
(A) 4'bz0x1 !== 4'bz001 =1
(B) 4'bx0x1 !== 4'bx000 = 1
(C) 4'bx0x1 === 4'bx001 = 0
(D) 5 == 5 = 1
Answer: [ C ] 4'bx0x1 === 4'bx001 = 0
Q5. The number 4’b1011 in Verilog is equivalent to
(A) 2'o12
(B) 1'ha
(C) 2'd10
(D) None of the above
Answer: [ D ] None of the above
Q6. If a=4’b1011; d=a >> 1; then the value of d is
(A) 0101
(B) 0110
(C) 0011
(D) 0111
Answer: [ A ] 0101
Q7. Which of the following statement is FALSE with respect to the Blocking assignment?
(A) Blocking statements are executed in the order they are listed
(B) Blocking statements are executed simultaneously
(C) The “always” block can be used in blocking assignments
(D) The operator “=” is used in blocking statement assignments
Answer: [ B ] Blocking statements are executed simultaneously
Q8. What will be the output of the following code?
always (@ A or B)
begin
A = 1;
B = 2;
#10;
A <= B;
B <= A;
end {codeBox}
(A) A = 1, B = 1
(B) A = 2, B = 2
(C) A = 2, B = 1
(D) A = 1, B = 2
Answer: [ C ] A = 2, B = 1