Contact us Start a Trial

Conditionally instantiated design unit not found

When working on a specific design configuration, designers often exclude design units that are not used in that configuration. However, Sigasi verifies all conditional generate branches. If a disabled branch instantiates a design unit missing from the library, it reports a warning. You can change the severity of this rule or disable it completely if you don’t want to add all potential design units to Sigasi.

module top#(bit InclUART = 1);
    if (InclUART) begin : gen_uart
       // ...
    end else begin
        missing_mock_uart i_mock_uart (.*);
    end
endmodule

Rule configuration

This rule can be disabled for your project, or its severity and parameters can be modified in the project linting settings. Alternatively, it can be manually configured with the following template:

177/severity/${path}={error|warning|info|ignore}