Naven8
1
Can someone tell whether net types are allowed inside a class?
LRM(section 8.5) says that everything is allowed but when i try wire declaration on modelsim then its throwing an error.
There are no restrictions on the data type of a class property.
Thanks,
Naven
No, a class may contain a variable data object of any data type. A wire is a net data object that can have a data type.
Naven8
3
In reply to dave_59:
Hi Dave,
I am bit confused by your statement now. Are you saying that variable data kinds are valid inside class and net kinds are not valid?
Thanks