Add vpiVariables iterators for Module and Generator Scope handles.
In part this ensures that the underlying variable should be found and
a handle to that is stored instead of the vpiPort of the same name.
@@ -576,7 +576,7 @@ decltype(VpiIterator::iterate_over) VpiIterator::iterate_over = []{
vpiRealNet,
vpiStructVar,
vpiStructNet,
- //vpiVariables // Aldec SEGV on plain Verilog
+ vpiVariables,
vpiNamedEvent,
vpiNamedEventArray,
vpiParameter,
