user1941008
user1941008

Reputation: 383

Specman - Define long var

Can I define a variable as long long as in C in Specman ? Cant send from Specman uint(bits:64) the gcc is indicating errors.

Thanks.

Upvotes: 1

Views: 166

Answers (1)

Rodion Melnikov
Rodion Melnikov

Reputation: 338

Starting from version 15.1, Specman supports longint/longuint types, 64 bit integers. The int64_t/uint64_t values can be accessed in C using macros: SN_LONGINT_GET(), SN_LONGUINT_GET(), SN_LONGINT_NEW(int64_t), SN_LONGUINT_NEW(uint64_t)

Upvotes: 1

Related Questions