Using Conversion Functions - Using Conversion Functions - 2022.1 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document_ID
UG901
Release_Date
2022-06-06
Version
2022.1 English

Use the following syntax to call $signed and $unsigned system tasks on any expression.

$signed(expr) or $unsigned(expr)

•The return value from these calls is the same size as the input value.

•The sign of the return value is forced regardless of any previous sign.