You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm also seeing this. issubclass() is being passed an systemrdl.rdltypes.array.ArrayPlaceholder object, which (as the error message says) is an instance, not a class.
Error is coming from:
File ".../systemrdl/properties/user_defined.py", line 42, in valid_types
if issubclass(self.valid_type, rdltypes.references.RefType):
I don't know whether the check is wrong, or whether the thing passed to valid_type is wrong to start with.
following is the sample UDP which was compiling fine on v.1.23.0, but not on v.1.25.2
property myudp {
type = string[];
component = reg | field;
};
addrmap top {
reg {
myudp = '{"hello"};
field { } f;
} regA;
};
error message:
TypeError: issubclass() arg 1 must be a class
The text was updated successfully, but these errors were encountered: