In reply to papatel:
You can turn any data type into a named typedef, then use it in a cast.
typedef int unsigned uint;
uint'(A+B)
Any integral data type is packed. The above type is equivalent to declaring
typedef bit [31:0] uint;
In reply to papatel:
You can turn any data type into a named typedef, then use it in a cast.
typedef int unsigned uint;
uint'(A+B)
Any integral data type is packed. The above type is equivalent to declaring
typedef bit [31:0] uint;