33. Data Types

Question.5

During elaboration of the top module, what happens in regards to the parameter overrides instantiated in u1?

module timer #(
    parameter BASE = 8'h10
) (/* ports */);
    localparam OFFSET = 8'h05;
    // logic...
endmodule

module top;
    timer #(.BASE(8'h20), .OFFSET(8'h0A)) u1();
endmodule

 

Need Help? Refer to the Quick Guide below

Select Answer