Kaleb Barrett
Kaleb Barrett
@Applepi Using `pip` should work on Ubuntu 24.04 if you set up a virtualenv. If it isn't working you may need to do additional work to configure your environment or...
Closed by #4293.
One contra-argument is returning `ValueObjectBase` removes useful typing, e.g. indexing a `ArrayObject` of `LogicArrayObject` casting it to `ValueObjectBase` means there's no `rising_edge`, etc.
Man it would be nice if Python had *any* support for type reflection. ```python class ValueObject(Generic[T]): def get(self) -> T: ... class ArrayObject(ValueObject[Array[Decltype[Declval[ElemType].get()]]], Generic[ElemType]): def __getitem__(self, idx: int) -> ElemType:...
I don't think this is solvable without Python language support, so I'm going to close for now.
xref #1989.
Renaming, it seems like this issue is more about DPI integration than "not doing anything at start up". As I expressed in #1989, I don't think this is possible. But...
There is some additional things that need to be done. Calling DPI export functions from Python requires calling `svSetScope`. And as you stated about calling into Python methods with DPI...
You can start with the public logs. I'll try to get you the private CI failures tonight or tomorrow.
@imphil Could you get him the Questa logs? I'm away from my personal computer for the week.