technology: Add tech_module to all technologies

this allows each technology to override each cell class.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
This commit is contained in:
Bastian Koppelmann 2019-12-16 14:40:52 +01:00
parent 233ec010ff
commit 1380cbc50c
3 changed files with 21 additions and 0 deletions

View File

@ -7,10 +7,17 @@
#
import os
from design_rules import *
from module_type import *
"""
File containing the process technology parameters for FreePDK 45nm.
"""
# This uses the default classes to instantiate module from
# '$OPENRAM_HOME/compiler/modules'.
# Using tech_modules['cellname'] you can override each class by providing a custom
# implementation in '$OPENRAM_TECHDIR/modules/'
# For example: tech_modules['contact'] = 'contact_freepdk45'
tech_modules = ModuleType()
#GDS file info
GDS = {}

View File

@ -1,9 +1,16 @@
import os
from design_rules import *
from module_type import *
"""
File containing the process technology parameters for SCMOS 3me, subm, 180nm.
"""
# This uses the default classes to instantiate module from
# '$OPENRAM_HOME/compiler/modules'.
# Using tech_modules['cellname'] you can override each class by providing a custom
# implementation in '$OPENRAM_TECHDIR/modules/'
# For example: tech_modules['contact'] = 'contact_scn3me'
tech_modules = ModuleType()
#GDS file info
GDS={}

View File

@ -7,10 +7,17 @@
#
import os
from design_rules import *
from module_type import *
"""
File containing the process technology parameters for SCMOS 4m, 0.35um
"""
# This uses the default classes to instantiate module from
# '$OPENRAM_HOME/compiler/modules'.
# Using tech_modules['cellname'] you can override each class by providing a custom
# implementation in '$OPENRAM_TECHDIR/modules/'
# For example: tech_modules['contact'] = 'contact_scn4m'
tech_modules = ModuleType()
#GDS file info
GDS={}