This commit is contained in:
mole99 2023-09-04 14:07:48 +02:00
parent b8ae6b1686
commit d70ad015f2
2 changed files with 4 additions and 3 deletions

View File

@ -1644,8 +1644,9 @@ vpiHandle vpi_handle_multi(PLI_INT32 type,
return nullptr;
}
std::string port1_name(vpi_get_str(vpiName, ref1));
std::string port2_name(vpi_get_str(vpiName, ref2));
// Get the names of both ports
std::string port1_name(vpi_get_str(vpiName, ref1));
std::string port2_name(vpi_get_str(vpiName, ref2));
// If both ports are vpiOutput, we have to reassign the __vpiSignal from port1
// to port2 because otherwise the non-delayed version of the signal is dumped

View File

@ -799,7 +799,7 @@ vpiHandle vpiPortBitInfo::vpi_handle(int code)
int vpiPortBitInfo::vpi_get(int code)
{
switch( code ) {
case vpiBit : // TODO is this correct?
case vpiBit :
return bit_;
default :
break;