defexport: Make it useful for real processes

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2021-11-23 10:52:31 +00:00
parent 4884a5d6dc
commit ddb684bfe1
1 changed files with 2 additions and 1 deletions

View File

@ -218,6 +218,7 @@ namespace {
_sliceHeight = cg->getSliceHeight ();
_pitchWidth = cg->getPitch ();
_units = DbU::toGrid(DbU::fromMicrons(1.0));
_status = defwInitCbk ( _defStream );
if ( _status != 0 ) return;
@ -331,7 +332,7 @@ namespace {
int DefDriver::_technologyCbk ( defwCallbackType_e, defiUserData udata )
{
DefDriver* driver = (DefDriver*)udata;
return driver->checkStatus ( defwTechnology("symbolic") );
return driver->checkStatus ( defwTechnology( getString(driver->getCell()->getLibrary()->getName()).c_str() ) );
}