Is there a reason to use Structs over Classes?
In reply to tonyyalfred:
Structs are synthesizable. Most classes are not.
Structs are also useful when interfacing to VHDL or C through the DPI. You cannot pass a class object between languages.
Is there a reason to use Structs over Classes?
In reply to tonyyalfred:
Structs are synthesizable. Most classes are not.
Structs are also useful when interfacing to VHDL or C through the DPI. You cannot pass a class object between languages.