VERILOG2066: Integers should not overflow

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
HIGH--Intentionality | Logical10minsynthesis, vscode, linter, simulation

Description

Integer literals that overflow a 32-bit integer (31-bits plus sign) should be carefully reviewed.

Noncompliant code example

int i = 2147483648; // Noncompliant: Truncated to -2147483648

Parameters

No parameters.