Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Parameter

Parameter can be declared as the same as variable. param keyword can be used at module header, it can be overridden at instantiation. const keyword can be used in module, it can’t be overridden.

module ModuleA #(
    param ParamA: u32 = 1,
) {
    const ParamB: u32 = 1;
}