Modify the init system to manage NDA restriced configuration files.
This commit is contained in:
parent
f2c036ac6d
commit
d2209579ab
|
@ -1,11 +1,10 @@
|
|||
|
||||
install ( FILES techno.conf DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY common DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY ispd05 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY cmos DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY ispd05 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY vsc200 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY scmos_deep_018 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY scn6m_deep_09 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY hcmos9gp DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY cmos065 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY 180 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
install ( DIRECTORY 130 DESTINATION ${SYS_CONF_DIR}/coriolis2 )
|
||||
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
# -*- Mode:Python; explicit-buffer-name: "technology.conf<c35b4>" -*-
|
||||
#
|
||||
# AMS 0.35 microns.
|
||||
|
||||
from Hurricane import DbU
|
||||
|
||||
|
||||
technoConfig = { 'name' : 'c35b4'
|
||||
, 'gridValue' : 0.025
|
||||
, 'gridUnit' : DbU.UnitPowerMicro
|
||||
, 'gridsPerLambda': 24
|
||||
}
|
||||
|
||||
gdsLayersTable = \
|
||||
( ("nWell" , "NTUB" , 5)
|
||||
, ("nImplant", "NPLUS" , 23)
|
||||
, ("pImplant", "PPLUS" , 24)
|
||||
, ("active" , "DIFF" , 10)
|
||||
, ("poly" , "POLY1" , 20)
|
||||
, ("cut0" , "CONT" , 34)
|
||||
, ("metal1" , "MET1" , 35)
|
||||
, ("cut1" , "VIA1" , 36)
|
||||
, ("metal2" , "MET2" , 37)
|
||||
, ("metcap" , "METCAP" , 55)
|
||||
, ("cut2" , "VIA2" , 38)
|
||||
, ("metal3" , "MET3" , 39)
|
||||
, ("cut3" , "VIA3" , 41)
|
||||
, ("metal4" , "MET4" , 42)
|
||||
)
|
|
@ -1,30 +0,0 @@
|
|||
# -*- Mode:Python; explicit-buffer-name: "technology.conf<cmos065>" -*-
|
||||
|
||||
from Hurricane import DbU
|
||||
|
||||
|
||||
technoConfig = { 'name' : 'cmos065'
|
||||
, 'gridValue' : 0.005
|
||||
, 'gridUnit' : DbU.UnitPowerMicro
|
||||
, 'gridsPerLambda': 24
|
||||
}
|
||||
|
||||
gdsLayersTable = \
|
||||
( ("nWell" , "NWELL" , 3)
|
||||
, ("nImplant", "NPLUS" , 26)
|
||||
, ("pImplant", "PPLUS" , 25)
|
||||
, ("active" , "ACTIVE" , 6)
|
||||
, ("poly" , "POLY" , 17)
|
||||
, ("cut0" , "C0" , 30)
|
||||
, ("metal1" , "M1" , 31)
|
||||
, ("cut1" , "VIA1X" , 51)
|
||||
, ("metal2" , "M2X" , 32)
|
||||
, ("cut2" , "VIA2X" , 52)
|
||||
, ("metal3" , "M3X" , 33)
|
||||
, ("cut3" , "VIA3X" , 53)
|
||||
, ("metal4" , "M4X" , 34)
|
||||
, ("cut4" , "VIA4X" , 54)
|
||||
, ("metal5" , "M5X" , 35)
|
||||
, ("cut5" , "VIA5X" , 55)
|
||||
, ("metal6" , "M6X" , 36)
|
||||
)
|
|
@ -1,4 +1,4 @@
|
|||
# -*- Mode:Python -*-
|
||||
|
||||
symbolicTechno = 'cmos'
|
||||
realTechno = 'hcmos9gp'
|
||||
realTechno = '130/hcmos9gp'
|
||||
|
|
|
@ -26,9 +26,10 @@ import traceback
|
|||
import Hurricane
|
||||
|
||||
sysConfDir = None
|
||||
ndaConfDir = None
|
||||
symbolicTechno = 'cmos'
|
||||
symbolicDir = None
|
||||
realTechno = 'hcmos9gp'
|
||||
realTechno = '130/hcmos9gp'
|
||||
realDir = None
|
||||
tab = None
|
||||
_trace = None
|
||||
|
@ -246,6 +247,7 @@ def setTraceLevel ( level ):
|
|||
|
||||
|
||||
def initTechno ( quiet ):
|
||||
global ndaConfDir
|
||||
global realDir
|
||||
global realTechno
|
||||
global symbolicDir
|
||||
|
@ -265,14 +267,19 @@ def initTechno ( quiet ):
|
|||
if moduleGlobals.has_key('symbolicTechnology'):
|
||||
symbolicTechno = symbolicTechnology
|
||||
else:
|
||||
print '[WARNING] The symbolic technology name is not set. Using <cmos>.'
|
||||
print '[WARNING] The symbolic technology name is not set. Using <%s>.' % symbolicTechnology
|
||||
if moduleGlobals.has_key('realTechnology'):
|
||||
realTechno = realTechnology
|
||||
else:
|
||||
print '[WARNING] The real technology name is not set. Using <hcmos9gp>.'
|
||||
print '[WARNING] The real technology name is not set. Using <%s>.' % realTechnology
|
||||
|
||||
if moduleGlobals.has_key('NdaDirectory'):
|
||||
ndaConfDir = os.path.join( NdaDirectory, 'etc/coriolis2' )
|
||||
else:
|
||||
ndaConfDir = sysConfDir
|
||||
|
||||
symbolicDir = os.path.join( sysConfDir, symbolicTechno )
|
||||
realDir = os.path.join( sysConfDir, realTechno )
|
||||
realDir = os.path.join( ndaConfDir, realTechno )
|
||||
if not quiet: print ' - Technologies: %s+%s.' % (symbolicTechno,realTechno)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue