How do you define a parameter in Verilog?
How do you define a parameter in Verilog?
- using the parameter keyword
- with the define directive
- by declaring a param variable
- using the constant keyword
Correct answer
A. using the parameter keyword
Explanation
parameter declares an elaboration-time constant that can be used in expressions such as widths.