I'm trying to get ports of a module with the vpiHandle of the module like so:
if(vpiHandle ports = vpi_iterate(vpiPorts, m)) { // m is the handle for the module currently in
std::cout << "Found ports\n";
// do something with it
} else std::cout << "No ports found\n";
This never seems to be finding any ports.
I've done this with vpiContAssign, vpiProcess, etc. which all work as expected. I see similar implementations for all these in uhdm/generated/src/module_inst.cpp
I'm trying to get ports of a module with the vpiHandle of the module like so:
This never seems to be finding any ports.
I've done this with vpiContAssign, vpiProcess, etc. which all work as expected. I see similar implementations for all these in uhdm/generated/src/module_inst.cpp