What is the purpose of the “assign” statement in Verilog?
What is the purpose of the “assign” statement in Verilog?
- To initialize variables
- To specify input/output ports of a module
- To implement continuous assignments for combinational logic
- To define a new module
Correct answer
C. To implement continuous assignments for combinational logic
Explanation
A continuous assign continuously drives a net with the value of its right-hand expression.