As I know from SystemVerilog 3.1a Language Reference Manual "The $bits system function returns the number of bits required to hold an expression as a bit stream."
- What type this function returns?
- Is this type machine dependent maximum size?
- Is this maximum systemverilog type longint?
Any link to spec or docs revealing this mystery would be appreciated.