From ddb684bfe11bd4ac4099da697a4800aa076dbaf0 Mon Sep 17 00:00:00 2001 From: gatecat Date: Tue, 23 Nov 2021 10:52:31 +0000 Subject: [PATCH] defexport: Make it useful for real processes Signed-off-by: gatecat --- crlcore/src/ccore/lefdef/DefExport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crlcore/src/ccore/lefdef/DefExport.cpp b/crlcore/src/ccore/lefdef/DefExport.cpp index b29c6a20..92d1c7c0 100644 --- a/crlcore/src/ccore/lefdef/DefExport.cpp +++ b/crlcore/src/ccore/lefdef/DefExport.cpp @@ -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() ) ); }