Files
OpenRAM/technology/sky130/tech/tech.py
T

19 lines
444 B
Python
Raw Normal View History

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