2014-05-21 17:13:17 -05:00
|
|
|
# -*- Mode:Python; explicit-buffer-name: "technology.conf<common>" -*-
|
|
|
|
#
|
|
|
|
# Those settings are common to all the symbolic technologies.
|
|
|
|
|
2017-11-17 04:10:32 -06:00
|
|
|
from Hurricane import BasicLayer
|
Correct handling of lambdas & microns in configuration files.
* Bug: In CRL/etc/NODE/VENDOR/Technology.conf, the database must be configured
as early has possible so the functions ensuring length conversions can
work correctly (l(v), u(v)). So we can no longer rely on a table to be
read after the execution of the file. We perform a direct call to the
helpers.Technology.initTechno() function. And it must be made first
thing.
In all tables taking dimensions, we must use one of the converter
function helpers.l(v), helpers.u(v) or helpers.n(v) so the the value v
get converted in lambda, microns or nanometer (resp.). Make the
modifications in all technology.conf and kite.conf files.
* Change: In CRL/coriolisInit.py, remove the technoConfig variable that has
been replaced by a direct call to helpers.Technology.initTechno().
* Change: In CRL/helpers.Alliance.loadRoutingGaugesTable(), no longer try to
convert coordinates, they must already be in DbU.
* Change: In CRL/helpers.__init__.py, remove lambdaMode() and micronsMode()
they could not be made to work as expected. Create l(), u(), n() as
replacement.
2018-07-16 04:32:40 -05:00
|
|
|
from helpers import l, u, n
|
2017-11-17 04:10:32 -06:00
|
|
|
from helpers.Technology import TypeRegular
|
|
|
|
from helpers.Technology import TypeDiffusion
|
|
|
|
from helpers.Technology import TypeTransistor
|
|
|
|
from helpers.Technology import TypeContact
|
|
|
|
from helpers.Technology import TypeVia
|
New coriolis launcher. Configuration files cleanup.
* Change: In CRL Core, simplify the loading sequence. The technology,
both symbolic and real is now loaded directly from coriolisInit.py
and not through the Alliance loader. This was a leftover from the
time configuration was in XML. Remove others traces of XML loading.
Remove SYMB_TECHNO_NAME, REAL_TECHNO_NAME & DISPLAY from the Alliance
environement, as they was no longer used.
Note that technology *still* need to be loader *after* Alliance
framework has been initialized.
Gauge information is moved from <alliance.conf> to <kite.conf>.
* Bug: In Coloquinte, in optimization_subproblems.cxx static variables
must not be inlined. Generate a problem when linking in debug mode
(seems the symbol gets optimised out).
* Bug: In Katabatic, in Grid::getGCell(), when the coordinate is *outside*
the area, do not try to find a GCell, directly return NULL.
* New: In Unicorn, create a generic command launcher named "coriolis" which
automatically take cares of all environement setup, then run a command
by default, it's <cgt>, but it can be anything. For example: <zsh>.
2015-04-13 11:54:09 -05:00
|
|
|
|
|
|
|
|
2018-05-04 10:06:41 -05:00
|
|
|
#viewerConfig = { 'precision':2, 'gridstep':1.0 }
|
2014-05-21 17:13:17 -05:00
|
|
|
|
|
|
|
# The informations here are extracted from the Alliance ".rds" file,
|
|
|
|
# and must be coherent with it.
|
|
|
|
#
|
|
|
|
# Format of <realLayerTable>:
|
|
|
|
# The third parameter must be present only for blockage material.
|
|
|
|
# ('layer_name' , MATERIAL , ASSOCIATED ROUTING)
|
|
|
|
#
|
|
|
|
# Note: concerning the LayerMask, real layers are implementeds as BasicLayer,
|
|
|
|
# and are associated to exactly one bit of the mask. Symbolic layers
|
|
|
|
# then combine BasicLayer to create composite objects, an thus can have
|
|
|
|
# a mask which have multiple bits set. Getting the mask from a layer
|
|
|
|
# is straigthforward, but the reverse is not true. One mask may match
|
|
|
|
# multiple symbolic layers. To overcome this ambiguity we introduce the
|
|
|
|
# concept of "working layer", which, for one given mask tells the layer
|
|
|
|
# that will be returned (generally the symbolic one).
|
|
|
|
|
|
|
|
realLayersTable = \
|
|
|
|
( ('nWell' , BasicLayer.Material.nWell ) # Non-Routing Layers.
|
|
|
|
, ('pWell' , BasicLayer.Material.pWell )
|
|
|
|
, ('nImplant' , BasicLayer.Material.nImplant)
|
|
|
|
, ('pImplant' , BasicLayer.Material.pImplant)
|
|
|
|
, ('active' , BasicLayer.Material.active )
|
|
|
|
, ('poly' , BasicLayer.Material.poly )
|
|
|
|
, ('poly2' , BasicLayer.Material.poly )
|
|
|
|
, ('cut0' , BasicLayer.Material.cut ) # Routing Layers & VIA Cuts.
|
|
|
|
, ('metal1' , BasicLayer.Material.metal ) # WARNING: order *is* meaningful.
|
|
|
|
, ('cut1' , BasicLayer.Material.cut )
|
|
|
|
, ('metal2' , BasicLayer.Material.metal )
|
2016-03-06 05:40:23 -06:00
|
|
|
, ('metcap' , BasicLayer.Material.other )
|
2014-05-21 17:13:17 -05:00
|
|
|
, ('cut2' , BasicLayer.Material.cut )
|
|
|
|
, ('metal3' , BasicLayer.Material.metal )
|
|
|
|
, ('cut3' , BasicLayer.Material.cut )
|
|
|
|
, ('metal4' , BasicLayer.Material.metal )
|
|
|
|
, ('cut4' , BasicLayer.Material.cut )
|
|
|
|
, ('metal5' , BasicLayer.Material.metal )
|
|
|
|
, ('cut5' , BasicLayer.Material.cut )
|
|
|
|
, ('metal6' , BasicLayer.Material.metal )
|
|
|
|
, ('cut6' , BasicLayer.Material.cut )
|
|
|
|
, ('metal7' , BasicLayer.Material.metal )
|
|
|
|
, ('cut7' , BasicLayer.Material.cut )
|
|
|
|
, ('metal8' , BasicLayer.Material.metal )
|
2017-11-17 04:10:32 -06:00
|
|
|
, ('cut8' , BasicLayer.Material.cut )
|
|
|
|
, ('metal9' , BasicLayer.Material.metal )
|
|
|
|
, ('cut9' , BasicLayer.Material.cut )
|
|
|
|
, ('metal10' , BasicLayer.Material.metal )
|
2016-06-03 10:19:46 -05:00
|
|
|
#, ('topmim6' , BasicLayer.Material.other ) # For Capacitances & Pads.
|
2016-12-15 12:25:05 -06:00
|
|
|
, ('metbot_r' , BasicLayer.Material.other )
|
2016-06-03 10:19:46 -05:00
|
|
|
#, ('padopen' , BasicLayer.Material.other )
|
|
|
|
#, ('alucap' , BasicLayer.Material.other )
|
2014-05-21 17:13:17 -05:00
|
|
|
|
|
|
|
, ('text.cell' , BasicLayer.Material.other ) # Misc. non-physical layers.
|
|
|
|
, ('text.instance', BasicLayer.Material.other ) # Used by the software for visualization
|
|
|
|
, ('SPL1' , BasicLayer.Material.other ) # purposes only.
|
|
|
|
, ('AutoLayer' , BasicLayer.Material.other )
|
|
|
|
, ('blockage1' , BasicLayer.Material.blockage, 'metal1') # Blockages
|
|
|
|
, ('blockage2' , BasicLayer.Material.blockage, 'metal2')
|
|
|
|
, ('blockage3' , BasicLayer.Material.blockage, 'metal3')
|
|
|
|
, ('blockage4' , BasicLayer.Material.blockage, 'metal4')
|
|
|
|
, ('blockage5' , BasicLayer.Material.blockage, 'metal5')
|
|
|
|
, ('blockage6' , BasicLayer.Material.blockage, 'metal6')
|
|
|
|
, ('blockage7' , BasicLayer.Material.blockage, 'metal7')
|
|
|
|
, ('blockage8' , BasicLayer.Material.blockage, 'metal8')
|
2017-11-17 04:10:32 -06:00
|
|
|
, ('blockage9' , BasicLayer.Material.blockage, 'metal9')
|
|
|
|
, ('blockage10' , BasicLayer.Material.blockage, 'metal10')
|
2014-05-21 17:13:17 -05:00
|
|
|
, ('gmetalh' , BasicLayer.Material.metal ) # Special BasicLayers for Knik & Kite Routers.
|
|
|
|
, ('gcut' , BasicLayer.Material.cut ) # *Must be after all others*
|
|
|
|
, ('gmetalv' , BasicLayer.Material.metal )
|
|
|
|
)
|
|
|
|
|
|
|
|
|
Cleaner support for real technologies (Hurricane, CRL Core configuration).
* Change: In Hurricane::Technology, in all the layer connexity methods
(getLayers(), getMetalAbove(), getCutAbove(), getViaBetween(), ...)
the "useWorking" parameter is replaced by a more accurate "useSymbolic".
BEHAVIOR CHANGE: formerly, if a symbolic layer was requested, and
none was found, NULL was returned. Now, if the symbolic layer is not
found, we try to return the associated real one (same layer mask,
but not flagged as symbolic, and usually with a lowercase name).
All thoses changes have been propagated to Python bindings.
* Change: In Hurricane::BasicLayer and derived classes, rename the
"isWorking" attribute into "isSymbolic" (to match the technology
renaming).
* Change: In Hurricane::Cell::flattenNets(), ignore power, ground and
blockage nets for the flatten.
* Change: In CRL Core, in coriolisInit.py and Technology.py helpers,
rename the tables describing the technology as follow:
- symbolicLayersTable --> compositeLayersTable
- workingLayersTable --> symbolicLayersTable
- symbolicRulesTable --> layersExtensionsTable
This is to give the table names a more clearer semantic after
merging real technologies configurations (testbench AMS c35b4).
In particular, we need to define a composite layer for the
real VIAs, and not only the symbolic ones. And with correct
enclosures expressed in real dimensions (microns).
2017-12-27 06:13:29 -06:00
|
|
|
# Format of <compositeLayersTable>:
|
2014-05-21 17:13:17 -05:00
|
|
|
# The length of the list of real layers depends on the type.
|
|
|
|
# In some case, the last of the list may be optional, it must be
|
|
|
|
# sets to None and not left empty.
|
|
|
|
#
|
|
|
|
# ('SYMB_LAYER' , Type , (LIST_OF_REAL_LAYERS) )
|
|
|
|
|
Cleaner support for real technologies (Hurricane, CRL Core configuration).
* Change: In Hurricane::Technology, in all the layer connexity methods
(getLayers(), getMetalAbove(), getCutAbove(), getViaBetween(), ...)
the "useWorking" parameter is replaced by a more accurate "useSymbolic".
BEHAVIOR CHANGE: formerly, if a symbolic layer was requested, and
none was found, NULL was returned. Now, if the symbolic layer is not
found, we try to return the associated real one (same layer mask,
but not flagged as symbolic, and usually with a lowercase name).
All thoses changes have been propagated to Python bindings.
* Change: In Hurricane::BasicLayer and derived classes, rename the
"isWorking" attribute into "isSymbolic" (to match the technology
renaming).
* Change: In Hurricane::Cell::flattenNets(), ignore power, ground and
blockage nets for the flatten.
* Change: In CRL Core, in coriolisInit.py and Technology.py helpers,
rename the tables describing the technology as follow:
- symbolicLayersTable --> compositeLayersTable
- workingLayersTable --> symbolicLayersTable
- symbolicRulesTable --> layersExtensionsTable
This is to give the table names a more clearer semantic after
merging real technologies configurations (testbench AMS c35b4).
In particular, we need to define a composite layer for the
real VIAs, and not only the symbolic ones. And with correct
enclosures expressed in real dimensions (microns).
2017-12-27 06:13:29 -06:00
|
|
|
compositeLayersTable = \
|
2014-05-21 17:13:17 -05:00
|
|
|
( ('NWELL' , TypeRegular , ('nWell' ,))
|
|
|
|
, ('PWELL' , TypeRegular , ('pWell' ,))
|
|
|
|
, ('NTIE' , TypeDiffusion , ('nImplant' , 'active', 'nWell'))
|
|
|
|
, ('PTIE' , TypeDiffusion , ('pImplant' , 'active', 'pWell'))
|
|
|
|
, ('NDIF' , TypeDiffusion , ('nImplant' , 'active', None ))
|
|
|
|
, ('PDIF' , TypeDiffusion , ('pImplant' , 'active', None ))
|
|
|
|
, ('GATE' , TypeDiffusion , ('poly' , 'active', None ))
|
|
|
|
, ('NTRANS' , TypeTransistor, ('nImplant' , 'active', 'poly', None ))
|
|
|
|
, ('PTRANS' , TypeTransistor, ('pImplant' , 'active', 'poly', 'nWell'))
|
|
|
|
, ('POLY' , TypeRegular , ('poly' ,))
|
|
|
|
, ('POLY2' , TypeRegular , ('poly2' ,))
|
|
|
|
, ('METAL1' , TypeRegular , ('metal1' ,))
|
|
|
|
, ('METAL2' , TypeRegular , ('metal2' ,))
|
2016-03-06 05:40:23 -06:00
|
|
|
, ('metcapdum' , TypeRegular , ('metcap' ,))
|
|
|
|
, ('metbot' , TypeRegular , ('metal2' ,))
|
2014-05-21 17:13:17 -05:00
|
|
|
, ('METAL3' , TypeRegular , ('metal3' ,))
|
|
|
|
, ('METAL4' , TypeRegular , ('metal4' ,))
|
|
|
|
, ('METAL5' , TypeRegular , ('metal5' ,))
|
|
|
|
, ('METAL6' , TypeRegular , ('metal6' ,))
|
|
|
|
, ('METAL7' , TypeRegular , ('metal7' ,))
|
|
|
|
, ('METAL8' , TypeRegular , ('metal8' ,))
|
2017-11-17 04:10:32 -06:00
|
|
|
, ('METAL9' , TypeRegular , ('metal9' ,))
|
|
|
|
, ('METAL10' , TypeRegular , ('metal10' ,))
|
2014-05-21 17:13:17 -05:00
|
|
|
, ('CONT_BODY_N', TypeContact , ('nImplant' , 'active', 'cut0', 'metal1', 'nWell'))
|
|
|
|
, ('CONT_BODY_P', TypeContact , ('pImplant' , 'active', 'cut0', 'metal1', 'pWell'))
|
|
|
|
, ('CONT_DIF_N' , TypeContact , ('nImplant' , 'active', 'cut0', 'metal1', None ))
|
|
|
|
, ('CONT_DIF_P' , TypeContact , ('pImplant' , 'active', 'cut0', 'metal1', None ))
|
2017-11-17 04:10:32 -06:00
|
|
|
, ('CONT_POLY' , TypeVia , ( 'poly' , 'cut0', 'metal1' ))
|
Cleaner support for real technologies (Hurricane, CRL Core configuration).
* Change: In Hurricane::Technology, in all the layer connexity methods
(getLayers(), getMetalAbove(), getCutAbove(), getViaBetween(), ...)
the "useWorking" parameter is replaced by a more accurate "useSymbolic".
BEHAVIOR CHANGE: formerly, if a symbolic layer was requested, and
none was found, NULL was returned. Now, if the symbolic layer is not
found, we try to return the associated real one (same layer mask,
but not flagged as symbolic, and usually with a lowercase name).
All thoses changes have been propagated to Python bindings.
* Change: In Hurricane::BasicLayer and derived classes, rename the
"isWorking" attribute into "isSymbolic" (to match the technology
renaming).
* Change: In Hurricane::Cell::flattenNets(), ignore power, ground and
blockage nets for the flatten.
* Change: In CRL Core, in coriolisInit.py and Technology.py helpers,
rename the tables describing the technology as follow:
- symbolicLayersTable --> compositeLayersTable
- workingLayersTable --> symbolicLayersTable
- symbolicRulesTable --> layersExtensionsTable
This is to give the table names a more clearer semantic after
merging real technologies configurations (testbench AMS c35b4).
In particular, we need to define a composite layer for the
real VIAs, and not only the symbolic ones. And with correct
enclosures expressed in real dimensions (microns).
2017-12-27 06:13:29 -06:00
|
|
|
# VIAs for real technologies.
|
|
|
|
, ('via12' , TypeVia , ( 'metal1', 'cut1', 'metal2' ))
|
|
|
|
, ('via23' , TypeVia , ( 'metal2', 'cut2', 'metal3' ))
|
|
|
|
, ('via34' , TypeVia , ( 'metal3', 'cut3', 'metal4' ))
|
|
|
|
, ('via45' , TypeVia , ( 'metal4', 'cut4', 'metal5' ))
|
|
|
|
, ('via56' , TypeVia , ( 'metal5', 'cut5', 'metal6' ))
|
|
|
|
, ('via67' , TypeVia , ( 'metal6', 'cut6', 'metal7' ))
|
|
|
|
, ('via78' , TypeVia , ( 'metal7', 'cut7', 'metal8' ))
|
|
|
|
, ('via89' , TypeVia , ( 'metal8', 'cut8', 'metal9' ))
|
|
|
|
, ('via910' , TypeVia , ( 'metal9', 'cut9', 'metal10'))
|
|
|
|
# VIAs for symbolic technologies.
|
2017-11-17 04:10:32 -06:00
|
|
|
, ('VIA12' , TypeVia , ( 'metal1', 'cut1', 'metal2' ))
|
|
|
|
, ('VIA23' , TypeVia , ( 'metal2', 'cut2', 'metal3' ))
|
|
|
|
, ('VIA23cap' , TypeVia , ( 'metcap', 'cut2', 'metal3' ))
|
|
|
|
, ('VIA34' , TypeVia , ( 'metal3', 'cut3', 'metal4' ))
|
|
|
|
, ('VIA45' , TypeVia , ( 'metal4', 'cut4', 'metal5' ))
|
|
|
|
, ('VIA56' , TypeVia , ( 'metal5', 'cut5', 'metal6' ))
|
|
|
|
, ('VIA67' , TypeVia , ( 'metal6', 'cut6', 'metal7' ))
|
|
|
|
, ('VIA78' , TypeVia , ( 'metal7', 'cut7', 'metal8' ))
|
|
|
|
, ('VIA89' , TypeVia , ( 'metal8', 'cut8', 'metal9' ))
|
|
|
|
, ('VIA910' , TypeVia , ( 'metal9', 'cut9', 'metal10'))
|
|
|
|
, ('BLOCKAGE1' , TypeRegular , ('blockage1' , ))
|
|
|
|
, ('BLOCKAGE2' , TypeRegular , ('blockage2' , ))
|
|
|
|
, ('BLOCKAGE3' , TypeRegular , ('blockage3' , ))
|
|
|
|
, ('BLOCKAGE4' , TypeRegular , ('blockage4' , ))
|
|
|
|
, ('BLOCKAGE5' , TypeRegular , ('blockage5' , ))
|
|
|
|
, ('BLOCKAGE6' , TypeRegular , ('blockage6' , ))
|
|
|
|
, ('BLOCKAGE7' , TypeRegular , ('blockage7' , ))
|
|
|
|
, ('BLOCKAGE8' , TypeRegular , ('blockage8' , ))
|
|
|
|
, ('BLOCKAGE9' , TypeRegular , ('blockage9' , ))
|
|
|
|
, ('BLOCKAGE10' , TypeRegular , ('blockage10', ))
|
|
|
|
, ('gcontact' , TypeVia , ('gmetalh' , 'gcut', 'gmetalv'))
|
2014-05-21 17:13:17 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
|
Cleaner support for real technologies (Hurricane, CRL Core configuration).
* Change: In Hurricane::Technology, in all the layer connexity methods
(getLayers(), getMetalAbove(), getCutAbove(), getViaBetween(), ...)
the "useWorking" parameter is replaced by a more accurate "useSymbolic".
BEHAVIOR CHANGE: formerly, if a symbolic layer was requested, and
none was found, NULL was returned. Now, if the symbolic layer is not
found, we try to return the associated real one (same layer mask,
but not flagged as symbolic, and usually with a lowercase name).
All thoses changes have been propagated to Python bindings.
* Change: In Hurricane::BasicLayer and derived classes, rename the
"isWorking" attribute into "isSymbolic" (to match the technology
renaming).
* Change: In Hurricane::Cell::flattenNets(), ignore power, ground and
blockage nets for the flatten.
* Change: In CRL Core, in coriolisInit.py and Technology.py helpers,
rename the tables describing the technology as follow:
- symbolicLayersTable --> compositeLayersTable
- workingLayersTable --> symbolicLayersTable
- symbolicRulesTable --> layersExtensionsTable
This is to give the table names a more clearer semantic after
merging real technologies configurations (testbench AMS c35b4).
In particular, we need to define a composite layer for the
real VIAs, and not only the symbolic ones. And with correct
enclosures expressed in real dimensions (microns).
2017-12-27 06:13:29 -06:00
|
|
|
# Format of <symbolicLayersTable>:
|
|
|
|
# This is a simple list of Symbolic layers.
|
2014-05-21 17:13:17 -05:00
|
|
|
|
Cleaner support for real technologies (Hurricane, CRL Core configuration).
* Change: In Hurricane::Technology, in all the layer connexity methods
(getLayers(), getMetalAbove(), getCutAbove(), getViaBetween(), ...)
the "useWorking" parameter is replaced by a more accurate "useSymbolic".
BEHAVIOR CHANGE: formerly, if a symbolic layer was requested, and
none was found, NULL was returned. Now, if the symbolic layer is not
found, we try to return the associated real one (same layer mask,
but not flagged as symbolic, and usually with a lowercase name).
All thoses changes have been propagated to Python bindings.
* Change: In Hurricane::BasicLayer and derived classes, rename the
"isWorking" attribute into "isSymbolic" (to match the technology
renaming).
* Change: In Hurricane::Cell::flattenNets(), ignore power, ground and
blockage nets for the flatten.
* Change: In CRL Core, in coriolisInit.py and Technology.py helpers,
rename the tables describing the technology as follow:
- symbolicLayersTable --> compositeLayersTable
- workingLayersTable --> symbolicLayersTable
- symbolicRulesTable --> layersExtensionsTable
This is to give the table names a more clearer semantic after
merging real technologies configurations (testbench AMS c35b4).
In particular, we need to define a composite layer for the
real VIAs, and not only the symbolic ones. And with correct
enclosures expressed in real dimensions (microns).
2017-12-27 06:13:29 -06:00
|
|
|
symbolicLayersTable = \
|
|
|
|
[ 'POLY', 'POLY2'
|
2017-11-17 04:10:32 -06:00
|
|
|
, 'METAL1' , 'METAL2' , 'METAL3' , 'METAL4' , 'METAL5' , 'METAL6' , 'METAL7' , 'METAL8' , 'METAL9' , 'METAL10'
|
|
|
|
, 'BLOCKAGE1', 'BLOCKAGE2', 'BLOCKAGE3', 'BLOCKAGE4', 'BLOCKAGE5', 'BLOCKAGE6', 'BLOCKAGE7', 'BLOCKAGE8', 'BLOCKAGE9', 'BLOCKAGE10'
|
|
|
|
, 'VIA12' , 'VIA23' , 'VIA34' , 'VIA45' , 'VIA56' , 'VIA67' , 'VIA78' , 'VIA89' , 'VIA910'
|
2016-03-06 05:40:23 -06:00
|
|
|
, 'gcut' , 'gmetalh' , 'gmetalv' , 'gcontact'
|
2014-05-21 17:13:17 -05:00
|
|
|
]
|
Correct handling of lambdas & microns in configuration files.
* Bug: In CRL/etc/NODE/VENDOR/Technology.conf, the database must be configured
as early has possible so the functions ensuring length conversions can
work correctly (l(v), u(v)). So we can no longer rely on a table to be
read after the execution of the file. We perform a direct call to the
helpers.Technology.initTechno() function. And it must be made first
thing.
In all tables taking dimensions, we must use one of the converter
function helpers.l(v), helpers.u(v) or helpers.n(v) so the the value v
get converted in lambda, microns or nanometer (resp.). Make the
modifications in all technology.conf and kite.conf files.
* Change: In CRL/coriolisInit.py, remove the technoConfig variable that has
been replaced by a direct call to helpers.Technology.initTechno().
* Change: In CRL/helpers.Alliance.loadRoutingGaugesTable(), no longer try to
convert coordinates, they must already be in DbU.
* Change: In CRL/helpers.__init__.py, remove lambdaMode() and micronsMode()
they could not be made to work as expected. Create l(), u(), n() as
replacement.
2018-07-16 04:32:40 -05:00
|
|
|
|
|
|
|
|
|
|
|
# Format of <layersExtensionsTable>:
|
|
|
|
# Each entry is a pair of (string, value).
|
|
|
|
# * string: a synthetic way to designate the real or symbolic layer on
|
|
|
|
# which it applies, an optional sub layer (BasicLayer) in case
|
|
|
|
# where there is more than one, and the dimension name.
|
|
|
|
# * value : the rule (dimension) value.
|
|
|
|
# Values/dimensions must be given using one of the following conversion
|
|
|
|
# function:
|
|
|
|
# * l(value) : value expressed in lambda (symbolic).
|
|
|
|
# * u(value) : value is expressed in microns.
|
|
|
|
# * n(value) : value is expressed in nanometers.
|
|
|
|
|
|
|
|
symbolicLayersExtensionsTable = \
|
|
|
|
[ ('NWELL.nWell.extention.cap' , l( 0.0))
|
|
|
|
, ('PWELL.pWell.extention.cap' , l( 0.0))
|
|
|
|
|
|
|
|
, ('NTIE.minimum.width' , l( 3.0))
|
|
|
|
, ('NTIE.nWell.extention.cap' , l( 1.5))
|
|
|
|
, ('NTIE.nWell.extention.width' , l( 0.5))
|
|
|
|
, ('NTIE.nImplant.extention.cap' , l( 1.0))
|
|
|
|
, ('NTIE.nImplant.extention.width' , l( 0.5))
|
|
|
|
, ('NTIE.active.extention.cap' , l( 0.5))
|
|
|
|
, ('NTIE.active.extention.width' , l( 0.0))
|
|
|
|
|
|
|
|
, ('PTIE.minimum.width' , l( 3.0))
|
|
|
|
, ('PTIE.pWell.extention.cap' , l( 1.5))
|
|
|
|
, ('PTIE.pWell.extention.width' , l( 0.5))
|
|
|
|
, ('PTIE.pImplant.extention.cap' , l( 1.0))
|
|
|
|
, ('PTIE.pImplant.extention.width' , l( 0.5))
|
|
|
|
, ('PTIE.active.extention.cap' , l( 0.5))
|
|
|
|
, ('PTIE.active.extention.width' , l( 0.0))
|
|
|
|
|
|
|
|
, ('NDIF.minimum.width' , l( 3.0))
|
|
|
|
, ('NDIF.nImplant.extention.cap' , l( 1.0))
|
|
|
|
, ('NDIF.nImplant.extention.width' , l( 0.5))
|
|
|
|
, ('NDIF.active.extention.cap' , l( 0.5))
|
|
|
|
, ('NDIF.active.extention.width' , l( 0.0))
|
|
|
|
|
|
|
|
, ('PDIF.minimum.width' , l( 3.0))
|
|
|
|
, ('PDIF.pImplant.extention.cap' , l( 1.0))
|
|
|
|
, ('PDIF.pImplant.extention.width' , l( 0.5))
|
|
|
|
, ('PDIF.active.extention.cap' , l( 0.5))
|
|
|
|
, ('PDIF.active.extention.width' , l( 0.0))
|
|
|
|
|
|
|
|
, ('GATE.minimum.width' , l( 1.0))
|
|
|
|
, ('GATE.poly.extention.cap' , l( 1.5))
|
|
|
|
|
|
|
|
, ('NTRANS.minimum.width' , l( 1.0))
|
|
|
|
, ('NTRANS.nImplant.extention.cap' , l(-1.0))
|
|
|
|
, ('NTRANS.nImplant.extention.width' , l( 2.5))
|
|
|
|
, ('NTRANS.active.extention.cap' , l(-1.5))
|
|
|
|
, ('NTRANS.active.extention.width' , l( 2.0))
|
|
|
|
|
|
|
|
, ('PTRANS.minimum.width' , l( 1.0))
|
|
|
|
, ('PTRANS.nWell.extention.cap' , l(-1.0))
|
|
|
|
, ('PTRANS.nWell.extention.width' , l( 4.5))
|
|
|
|
, ('PTRANS.pImplant.extention.cap' , l(-1.0))
|
|
|
|
, ('PTRANS.pImplant.extention.width' , l( 4.0))
|
|
|
|
, ('PTRANS.active.extention.cap' , l(-1.5))
|
|
|
|
, ('PTRANS.active.extention.width' , l( 3.0))
|
|
|
|
|
|
|
|
, ('POLY.minimum.width' , l( 1.0))
|
|
|
|
, ('POLY.poly.extention.cap' , l( 0.5))
|
|
|
|
, ('POLY2.minimum.width' , l( 1.0))
|
|
|
|
, ('POLY2.poly.extention.cap' , l( 0.5))
|
|
|
|
|
|
|
|
# Routing Layers (symbolic).
|
|
|
|
, ('METAL1.minimum.width' , l( 1.0))
|
|
|
|
, ('METAL1.metal1.extention.cap' , l( 0.5))
|
|
|
|
, ('METAL2.minimum.width' , l( 1.0))
|
|
|
|
, ('METAL2.metal2.extention.cap' , l( 1.0))
|
|
|
|
, ('METAL3.minimum.width' , l( 1.0))
|
|
|
|
, ('METAL3.metal3.extention.cap' , l( 1.0))
|
|
|
|
, ('METAL4.minimum.width' , l( 1.0))
|
|
|
|
, ('METAL4.metal4.extention.cap' , l( 1.0))
|
Upgrade of Katana detailed router to support Arlet 6502.
* Change: In Hurricane::SharedName, replace the incremental Id by a hash key.
This is to ensure better deterministic properties. Between use cases,
additional strings may have to be allocated, shitfing the ids. Even if
hash can be duplicated, we should be able to ensure that the absolute
order in map table should be preserved. Supplemental strings are inserted
in a way that keep the previous order.
* Change: In CRL/etc/symbolic/cmos/kite.conf, add "katabatic.routingGauge"
default parameter value ("sxlib").
* Change: In CRL/etc/common/technology.conf, define minimal spacing for
symbolic layers too (added for METAL4 only for now).
* Change: In CRL::Histogram, extend support to dynamically sized histograms.
Add a text pretty print with table and pseudo-curve.
* Change: In Cumulus/plugins/ClockTreePlugin, create blockage under the
block corona corners so the global router do not draw wire under them.
This was creating deadlock for the detailed router.
When the abutment has to be computed, directly use Etesian to do it
instead of duplicating the computation in the Python plugin.
* New: In Etesian, as Coloquinte seems reluctant to evenly spread the
standard cells, we trick it by making them bigger during the placement
stage. Furthermore, we do not not uniformely increase the size of the
cells but create a "bloating profile" based on cell size, cell name
or it's density of terminals. Currently only two profiles are defined,
"disabled" which does nothing and "nsxlib" targeted on 4 metal layer
technologies (aka AMS 350nm, c35b4).
* Bug: In Knik::MatrixVertex, load the default routing gauge using the
configuration parameter "katabatic.routingGauge" as the default one
may not be the first registered one.
* New: In AnabaticEngine::setupNetDatas(), build a dynamic historgram of
the nets terminal numbers.
* Bug: In Anabatic::AutoContact::Invalidate(), always invalidate the
contact cache when topology is invalidated. In case of multiple
invalidations, if the first did not invalidate the cache, later one
that may need it where not allowed to do so. The end result was correct
nonetheless, but it did generate annoying error messages.
* Bug: In Anabatic::AutoContactTurn::updateTopology(), bad computation
of the contact's depth when delta == 2.
* Bug: In Anabatic::Gcell::getCapacity(), was always returning the west
edge capacity, even for the westermost GCell, should be the east
edge in that case.
* New: In Anabatic::AutoSegment, introduce a new measure "distance to
terminal". This is the minimal number of segments separating the
current one from the nearest RoutingPad. This replace the previous
"strong terminal" and "weak terminal" flags.
This distance is used by Katana to sort the events, we route the
segments *from* the RoutingPads *outward*. The idea being that if we
cannot event connect to the RoutingPad, there is no points continuing
as thoses segments are the more constraineds. This gives an order close
to the simple ascending metals but with better results.
* New: In Anabatic::AutoSegment, introduce a new flag "Unbreakable", disable
dogleg making on those segments. mainly intended for local segments
directly connecteds to RoutingPads (distance == 0).
* New: In Anabatic::AutoSegment, more aggressive reducing of segments.
Now the only case where a segment cannot be reduced is when it is
one horizontal branch in a HTee or a vertical on a VTee. Check if,
when not accounted the source & target VIAs are still connex, if so,
allow reducing.
* New: In Anabatic::AutoContact, new state flags CntVDogleg & CntHDogleg
mainly to prevent making doglegs twice on a turn contact. This is to
limit over-fragmentation. If one dogleg doesn't solve the problem,
making a second one will make things worse only...
* Bug: In Anabatic::Configuration::selectRpcomponent(), we were choosing
the component with the *smallest* span instead of the *bigger* one.
* New: In Anabatic::GCell, introduce a new flag "GoStraight" to tell that
no turn go be made inside those GCells. Mainly used underneath a block
corona.
* New: In AnabaticEngine::layerAssign(), new GCellRps & RpsInRow to manage
GCells with too many terminals. Slacken at least one RoutingPad access
when there is more than 8 RoutingPad in the GCell (slacken or change
a vertical METAL2 (non-preferred) into a METAL3).
* Change: In Anabatic::NetBuilderHV, allow the use of terminal connection
in non-preferred direction. That is, vertical METAL2 directly connected
to the RoutingPad (then a horizontal METAL2). This alllows for short
dogleg without clutering the METAL3 layer (critical for AMS c35b4).
Done in NetBuilderHV::doRp_Access(), with a new UseNonPref flag.
Perform some other tweaking on METAL1 access topologies, to also
minimize METAL3 use.
* New: In AnabaticEngine::computeNetConstraints(), also compute the
distance to RoutingPad for segments. Set the Unbreakable flag, based
on the distance and segment length (local, short global or long global).
New local function "propagateDistanceFromRp()".
* Change: In AnabaticEngine.h, the sorting class for NetData, SparsityOrder,
is modificated so net with a degree superior to 10 are sorted first,
whatever their sparsity. This is to work in tandem with GlobalRouting.
* New: In Katana::TrackSegmentNonPref, introduce a class to manage segment
in non-preferred routing direction. Mostly intended for small METAL2
vertical directly connected to RoutingPad. Modifications to manage
this new variant all through Katana.
* Change: In Katana::GlobalRoute, DigitalDistance honor the GoStraight flag
of the GCell. Do not make bend inside thoses GCells.
* Change: In KatanaEngine::runGlobalRouter(), high degree nets (>= 10) are
routed first and whitout the global routing estimation. There should be
few of them so they wont create saturations and we want them as straight
as possible. Detour are for long be-points.
Set the saerch halo to one GCell in the initial routing stage (before
ripup).
* Bug: In KatanaEngine & NegociateWindow, call _computeCagedconstraints()
inside NegociateWindow::run(), as segments are inserted into tracks
only at that point so we cannot make the computation earlier.
* Change: In Katana::Manipulator::repackPerpandiculars(), add a flag to
select whether to replace the perpandiculars *after* or *before* the
current segment.
* Change: In Katana::NegociateWindow::NegociateOverlapCost(), when the
segment is fully enclosed inside a global, the longest overlap cost
is set to the shortest global hoverhang (before or after).
When the cost is for a global, set an infinite cost if the overlapping
segment has a RP distance less or equal to 1 (this is an access segment).
* Bug: In Katana::PowerRailsPlane::Rail::doLayout(), correct computation of
the segments extension cap.
* New: In Katana::QueryPowerRails::addToPowerRail(), add support for Pad.
* Change: In Katana/PreProcess::protectCagedTerminals(), apply the contraints
to any turn connected to the first segment of the RoutingPad so the
perpandicular constraints got propagated to the perpandicular segment...
* Change: In RoutingEvent, cache the "distance to RP" value.
* Change: In RoutingEvent::Key::compare(), sort *first* on distance to
RoutingPad, then layer depth. If both distance to RoutingPad is null,
then sort on segment length.
* Change: In RoutingEvent::_processRepair(), try a repack perpandicular with
perpandiculars first (then with perpandicular last, then give up).
* Change: In SegmentFsm::bindToTrack() and moveToTrack(), set an axis hint
when creating the insertion event.
* Change: In SegmentFsm::_slackenStrap(), add a step through slacken between
minimize and maximum slack (wihch directly end up in unimplemented).
* Change: In Session::_addInsertEvent(), add an axis parameter needed when
the axis of the segment is not the one of the track (case of wide
segments or non-preferred direction).
* Bug: In Track::_preDestroy(), bad management of the TrackElement reference
count. Destroy the segment only when reaching zero...
* Bug: In Track::expandFreeIneterval(), forgotten to manage case when there
is a set of overlaping segments at the "end" of the track, the
EndIsTrackMax was not set.
* Change: In TrackCost::Compare, increase the cost when an overlaping
segment is at it's ripup limit. We should try *not* to rip it up if
we can. Add a dedicated flag "AtRipupLimit".
* Change: In TrackElement, add proxies for isUnbreakable(), new function
updateTrackSpan().
* New: In TrackFixedSegment CTOR, when a supply wire of METAL2 or above is
found, make the underlying GCells "GoStraight".
* New: In TrackElement::canDogleg(GCell*), check for already done perpandicular
dogleg on source/target (reject if so).
2019-07-28 16:20:00 -05:00
|
|
|
, ('METAL4.minimalSpacing' , l( 3.0))
|
Correct handling of lambdas & microns in configuration files.
* Bug: In CRL/etc/NODE/VENDOR/Technology.conf, the database must be configured
as early has possible so the functions ensuring length conversions can
work correctly (l(v), u(v)). So we can no longer rely on a table to be
read after the execution of the file. We perform a direct call to the
helpers.Technology.initTechno() function. And it must be made first
thing.
In all tables taking dimensions, we must use one of the converter
function helpers.l(v), helpers.u(v) or helpers.n(v) so the the value v
get converted in lambda, microns or nanometer (resp.). Make the
modifications in all technology.conf and kite.conf files.
* Change: In CRL/coriolisInit.py, remove the technoConfig variable that has
been replaced by a direct call to helpers.Technology.initTechno().
* Change: In CRL/helpers.Alliance.loadRoutingGaugesTable(), no longer try to
convert coordinates, they must already be in DbU.
* Change: In CRL/helpers.__init__.py, remove lambdaMode() and micronsMode()
they could not be made to work as expected. Create l(), u(), n() as
replacement.
2018-07-16 04:32:40 -05:00
|
|
|
, ('METAL5.minimum.width' , l( 2.0))
|
|
|
|
, ('METAL5.metal5.extention.cap' , l( 1.0))
|
|
|
|
, ('METAL6.minimum.width' , l( 2.0))
|
|
|
|
, ('METAL6.metal6.extention.cap' , l( 1.0))
|
|
|
|
, ('METAL7.minimum.width' , l( 2.0))
|
|
|
|
, ('METAL7.metal7.extention.cap' , l( 1.0))
|
|
|
|
, ('METAL8.minimum.width' , l( 2.0))
|
|
|
|
, ('METAL8.metal8.extention.cap' , l( 1.0))
|
|
|
|
, ('METAL9.minimum.width' , l( 2.0))
|
|
|
|
, ('METAL9.metal9.extention.cap' , l( 1.0))
|
|
|
|
, ('METAL10.minimum.width' , l( 2.0))
|
|
|
|
, ('METAL10.metal10.extention.cap' , l( 1.0))
|
|
|
|
|
|
|
|
# Contacts (i.e. Active <--> Metal) (symbolic).
|
|
|
|
, ('CONT_BODY_N.minimum.side' , l( 1.0))
|
|
|
|
, ('CONT_BODY_N.nWell.enclosure' , l( 1.5))
|
|
|
|
, ('CONT_BODY_N.nImplant.enclosure' , l( 1.5))
|
|
|
|
, ('CONT_BODY_N.active.enclosure' , l( 1.0))
|
|
|
|
, ('CONT_BODY_N.metal1.enclosure' , l( 0.5))
|
|
|
|
|
|
|
|
, ('CONT_BODY_P.minimum.side' , l( 1.0))
|
|
|
|
, ('CONT_BODY_P.pWell.enclosure' , l( 1.5))
|
|
|
|
, ('CONT_BODY_P.pImplant.enclosure' , l( 1.5))
|
|
|
|
, ('CONT_BODY_P.active.enclosure' , l( 1.0))
|
|
|
|
, ('CONT_BODY_P.metal1.enclosure' , l( 0.5))
|
|
|
|
|
|
|
|
, ('CONT_DIF_N.minimum.side' , l( 1.0))
|
|
|
|
, ('CONT_DIF_N.nImplant.enclosure' , l( 1.0))
|
|
|
|
, ('CONT_DIF_N.active.enclosure' , l( 0.5))
|
|
|
|
, ('CONT_DIF_N.metal1.enclosure' , l( 0.5))
|
|
|
|
|
|
|
|
, ('CONT_DIF_P.minimum.side' , l( 1.0))
|
|
|
|
, ('CONT_DIF_P.pImplant.enclosure' , l( 1.0))
|
|
|
|
, ('CONT_DIF_P.active.enclosure' , l( 0.5))
|
|
|
|
, ('CONT_DIF_P.metal1.enclosure' , l( 0.5))
|
|
|
|
|
|
|
|
, ('CONT_POLY.minimum.width' , l( 1.0))
|
|
|
|
, ('CONT_POLY.poly.enclosure' , l( 0.5))
|
|
|
|
, ('CONT_POLY.metal1.enclosure' , l( 0.5))
|
|
|
|
|
|
|
|
# VIAs (i.e. Metal <--> Metal) (symbolic).
|
|
|
|
, ('VIA12.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA12.metal1.enclosure' , l( 0.5))
|
|
|
|
, ('VIA12.metal2.enclosure' , l( 0.5))
|
|
|
|
, ('VIA23.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA23.metal2.enclosure' , l( 0.5))
|
|
|
|
, ('VIA23.metal3.enclosure' , l( 0.5))
|
|
|
|
, ('VIA34.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA34.metal3.enclosure' , l( 0.5))
|
|
|
|
, ('VIA34.metal4.enclosure' , l( 0.5))
|
|
|
|
, ('VIA45.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA45.metal4.enclosure' , l( 0.5))
|
|
|
|
, ('VIA45.metal5.enclosure' , l( 0.5))
|
|
|
|
, ('VIA56.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA56.metal5.enclosure' , l( 0.5))
|
|
|
|
, ('VIA56.metal6.enclosure' , l( 0.5))
|
|
|
|
, ('VIA67.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA67.metal6.enclosure' , l( 0.5))
|
|
|
|
, ('VIA67.metal7.enclosure' , l( 0.5))
|
|
|
|
, ('VIA78.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA78.metal7.enclosure' , l( 0.5))
|
|
|
|
, ('VIA78.metal8.enclosure' , l( 0.5))
|
|
|
|
, ('VIA89.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA89.metal8.enclosure' , l( 0.5))
|
|
|
|
, ('VIA89.metal9.enclosure' , l( 0.5))
|
|
|
|
, ('VIA910.minimum.side' , l( 1.0))
|
|
|
|
, ('VIA910.metal9.enclosure' , l( 0.5))
|
|
|
|
, ('VIA910.metal10.enclosure' , l( 0.5))
|
|
|
|
|
|
|
|
# Blockages (symbolic).
|
|
|
|
, ('BLOCKAGE1.minimum.width' , l(1.0))
|
|
|
|
, ('BLOCKAGE1.blockage1.extention.cap' , l(0.5))
|
|
|
|
, ('BLOCKAGE2.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE2.blockage2.extention.cap' , l(0.5))
|
|
|
|
, ('BLOCKAGE3.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE3.blockage3.extention.cap' , l(0.5))
|
|
|
|
, ('BLOCKAGE4.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE4.blockage4.extention.cap' , l(0.5))
|
|
|
|
, ('BLOCKAGE5.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE5.blockage5.extention.cap' , l(1.0))
|
|
|
|
, ('BLOCKAGE6.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE6.blockage6.extention.cap' , l(1.0))
|
|
|
|
, ('BLOCKAGE7.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE7.blockage7.extention.cap' , l(1.0))
|
|
|
|
, ('BLOCKAGE8.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE8.blockage8.extention.cap' , l(1.0))
|
|
|
|
, ('BLOCKAGE9.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE9.blockage9.extention.cap' , l(1.0))
|
|
|
|
, ('BLOCKAGE10.minimum.width' , l(2.0))
|
|
|
|
, ('BLOCKAGE10.blockage10.extention.cap', l(1.0))
|
|
|
|
]
|