Using Conversion Functions - 2025.2 English - UG901

Vivado Design Suite User Guide: Synthesis (UG901)

Document ID
UG901
Release Date
2025-12-05
Version
2025.2 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 function forces the return value's sign regardless of the previous sign.