2021-08-18 20:21:52 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
# See LICENSE for licensing information.
|
|
|
|
|
#
|
2023-01-29 07:56:27 +01:00
|
|
|
# Copyright (c) 2016-2023 Regents of the University of California
|
2021-08-18 20:21:52 +02:00
|
|
|
# All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
|
2026-03-17 19:44:20 +01:00
|
|
|
import sys
|
|
|
|
|
from openram import OPTS
|
2021-08-18 20:21:52 +02:00
|
|
|
|
2026-03-17 19:44:20 +01:00
|
|
|
import os
|
|
|
|
|
dir_path = os.path.dirname(os.path.realpath(__file__))
|
2021-08-18 20:21:52 +02:00
|
|
|
|
2026-03-17 19:44:20 +01:00
|
|
|
sys.path.append("{}/{}".format(dir_path,'tech_configs'))
|
2021-08-18 20:21:52 +02:00
|
|
|
|
2026-03-17 19:44:20 +01:00
|
|
|
if not hasattr(OPTS, 'tech_file'):
|
|
|
|
|
OPTS.tech_file = 'tech_cypress_cell'
|
|
|
|
|
exec('from {} import *'.format(OPTS.tech_file))
|