VERILOG046: Legacy generate regions should not be used

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
MEDIUM--Intentionality | Logical20minsynthesis, vscode, linter, lowrisc, simulation, deprecated

Description

Articles & blog posts

Legacy generate regions should not be used.

Noncompliant code example

generate
  for (i = 0; i < N; i = i + 1) begin
    ha u0 (a[i], b[i], sum[i], cout[i]);
  end
endgenerate

Parameters

No parameters.