Cleanup
This commit is contained in:
parent
b8ae6b1686
commit
d70ad015f2
|
|
@ -1644,6 +1644,7 @@ vpiHandle vpi_handle_multi(PLI_INT32 type,
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Get the names of both ports
|
||||||
std::string port1_name(vpi_get_str(vpiName, ref1));
|
std::string port1_name(vpi_get_str(vpiName, ref1));
|
||||||
std::string port2_name(vpi_get_str(vpiName, ref2));
|
std::string port2_name(vpi_get_str(vpiName, ref2));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -799,7 +799,7 @@ vpiHandle vpiPortBitInfo::vpi_handle(int code)
|
||||||
int vpiPortBitInfo::vpi_get(int code)
|
int vpiPortBitInfo::vpi_get(int code)
|
||||||
{
|
{
|
||||||
switch( code ) {
|
switch( code ) {
|
||||||
case vpiBit : // TODO is this correct?
|
case vpiBit :
|
||||||
return bit_;
|
return bit_;
|
||||||
default :
|
default :
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue