0

Can nettype be used to define struct in SystemVerilog language?

I am getting failure in defining so, can anybody tell me?

nick_g
  • 489
  • 1
  • 7
  • 15

1 Answers1

0

A nettype cannot be used as a member of a struct. Only other data types can be used as struct members. A nettype is a kind of signal that can have a data type, including a struct, but a nettype itself is not a data type.

dave_59
  • 39,096
  • 3
  • 24
  • 63