mirror of https://github.com/VLSIDA/OpenRAM.git
Adding traceback printing to tech file import.
This commit is contained in:
parent
95d77119c7
commit
232f754c73
|
|
@ -514,7 +514,9 @@ def import_tech():
|
||||||
sys.path.append(tech_path)
|
sys.path.append(tech_path)
|
||||||
try:
|
try:
|
||||||
import tech
|
import tech
|
||||||
except ImportError:
|
except ImportError as e:
|
||||||
|
import traceback
|
||||||
|
traceback.print_exc()
|
||||||
debug.error("Could not load tech module.", -1)
|
debug.error("Could not load tech module.", -1)
|
||||||
|
|
||||||
# Add custom modules of the technology to the path, if they exist
|
# Add custom modules of the technology to the path, if they exist
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue