Type of unsigned int

Hi,

What is type of unsigned int, is it packed or unpacked?
And How can I write it in terms of bits if I want to do a type cast ?

Regards,

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 dave_59:

Thank You so much Dave!! But Unsigned int size will be 64 bit isn’t ? Please correct me if I am wrong. The equivalent will be typedef bit[63:0] uint ?

Regards,

In reply to papatel:

Incorrect. SystemVerilog fixed the size of int to be 32-bits when 64 bit systems were not as popular as they are today.

In reply to dave_59:

Thank You For the Information Dave. That helps!!
Regards