Chad Tsai
Chad Tsai

Reputation: 11

field started with % in struct in Specman

I am new to Specman, just don't know what the "%" prefix of a field in struct mean? for example, the codes below.

struct packet_s like any_sequence_item {
  %addr  : uint(bits: 2);
  %data  : list of byte;
  ...
};

What's the difference if we removed the "%"?

Thanks.

Upvotes: 1

Views: 139

Answers (1)

Related Questions