2014-05-21 17:13:17 -05:00
|
|
|
# -*- Mode:Python; explicit-buffer-name: "alliance.conf<cmos>" -*-
|
2012-11-16 06:49:47 -06:00
|
|
|
|
2016-08-01 05:13:44 -05:00
|
|
|
import os
|
2014-08-03 09:25:26 -05:00
|
|
|
from helpers.Alliance import AddMode
|
|
|
|
from helpers.Alliance import Gauge
|
|
|
|
|
2012-11-16 06:49:47 -06:00
|
|
|
|
2016-08-01 05:13:44 -05:00
|
|
|
allianceTop = None
|
2016-08-06 11:19:22 -05:00
|
|
|
if os.environ.has_key('ALLIANCE_TOP'):
|
2016-08-01 05:13:44 -05:00
|
|
|
allianceTop = os.environ['ALLIANCE_TOP']
|
|
|
|
if not os.path.isdir(allianceTop):
|
|
|
|
allianceTop = None
|
|
|
|
|
|
|
|
if not allianceTop: allianceTop = '/soc/alliance'
|
|
|
|
|
|
|
|
cellsTop = allianceTop+'/cells/'
|
2012-11-16 06:49:47 -06:00
|
|
|
|
|
|
|
|
|
|
|
allianceConfig = \
|
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
|
|
|
( ( 'CATALOG' , 'CATAL')
|
2012-11-16 06:49:47 -06:00
|
|
|
, ( 'WORKING_LIBRARY' , '.')
|
2016-01-20 17:25:39 -06:00
|
|
|
# , ( 'SYSTEM_LIBRARY' , ( (cellsTop+'ramlib' , AddMode.Append), ) )
|
2014-08-03 09:25:26 -05:00
|
|
|
, ( 'SYSTEM_LIBRARY' , ( (cellsTop+'sxlib' , AddMode.Append)
|
|
|
|
, (cellsTop+'dp_sxlib', AddMode.Append)
|
|
|
|
, (cellsTop+'ramlib' , AddMode.Append)
|
|
|
|
, (cellsTop+'romlib' , AddMode.Append)
|
|
|
|
, (cellsTop+'rflib' , AddMode.Append)
|
|
|
|
, (cellsTop+'rf2lib' , AddMode.Append)
|
|
|
|
, (cellsTop+'pxlib' , AddMode.Append)
|
|
|
|
, (cellsTop+'padlib' , AddMode.Append) ) )
|
2012-11-16 06:49:47 -06:00
|
|
|
, ( 'IN_LO' , 'vst')
|
|
|
|
, ( 'IN_PH' , 'ap')
|
|
|
|
, ( 'OUT_LO' , 'vst')
|
|
|
|
, ( 'OUT_PH' , 'ap')
|
|
|
|
, ( 'POWER' , 'vdd')
|
|
|
|
, ( 'GROUND' , 'vss')
|
Correctly manage clock net isolateds from the main clock.
* New: In Bootstrap, in ccb.py, check if cmake is installed and issue
a warning, if not.
* New: In Hurricane, added Cell::getDeepNet() to search for a deepnet
given a path and a leaf net. This method is slow and must not be
used too often. Introduced for Kite::BuildPowerRails().
* Change: In CRL Core, in cmos/alliance.conf, modify the clock name
pattern to match the sub-clock signals in the datapath operators.
* Bug: In Etesian, do not blindly reset the top cell abutment-box.
Do it only if it's empty, otherwise keep it.
* Bug: In Kite, in buildPowerRails(), in getRootNet() the management
of clock nets was incomplete. The case of unrouted clock nets
that where not connected to the top core clock net, like the
one in the datapath registers was faulty. They were partly
recognized as unrouteds and partly as blockage generating a
routing deadlock: routage impossible due to blockage generated
from itself...
* New: In Stratus1, add a buildModel() utility function to automate
the model generation and allow a call by the model name (string).
* Change: In Unicorn, in cgt.py, display the Alliance environement.
2015-02-25 15:17:44 -06:00
|
|
|
, ( 'CLOCK' , '.*ck.*|.*nck.*')
|
2013-12-03 19:47:34 -06:00
|
|
|
, ( 'BLOCKAGE' , '^blockage[Nn]et*')
|
Correction in plugins to support msxlib compatible pads.
* New: In CRL Core, in helpers & alliance.conf, set and read a "PAD"
variable to define the pad model name extension ("px" for "sxlib
and "pxr" for vsxlib, this is provisional).
* New: In CRL Core, in plugin.conf, add parameters to define the name
of used for power & clock supply. We may remove the extention in
the future (to be more coherent with the previous modification).
* New: In Cumulus, in chip.Configuration.GaugeConf._rpAccess(), no
longer place the accessing contact *at the center* of the
RoutingPad. It works under sxlib because buffers & registers all
have same size terminals. But this is not true under vsxlib,
leading to misaligned contacts & wires. Now systematically place
on the slice midlle track (maybe with one pitch above or below).
This is still very weak as we do not check if the terminal
reach were the contact is being put. Has to be strenthened in
the future.
* New: In Cumulus, in chip.Configuration.ChipConf, read the new
clock & power pad parameters.
* Change: In Isobar (and all other Python wrappers), uses PyLong instead
of PyInt for DbU conversions. In PyHurricane argument converter,
automatically check for both PyLong and then PyInt.
* Change: In Cumulus, in chip.PadsCorona, more accurate error message
in case of discrepency in global net connections (i.e. no net
of the same name in instance model and instance model owner.
* Change: In Kite, in BuildPowerRails, when looking up at the pads
model name to find "pck_" or "pvddeck_", do not compare the
extension part. But we still use hard-coded stem pad names,
maybe we shouldn't.
* Bug: In Katabatic, in GCellConfiguration::_do_xG_xM1_xM3(), there
was a loop in the search of the best N/E initial RoutingPad.
* Bug: In Kite, in KiteEngine::protectRoutingPads(), *do not* protect
RoutingPads of fixed nets, they are already through the
BuildPowerRails stage (and it's causing scary overlap warning
messages).
* Bug: In Cumulus, in ClockTree.HTreeNode.addLeaf(), do not create
deep-plug when the core is flat (not sub-modules). All the new
nets are at core level.
* Bug: In Cumulus, in ChipPlugin.PlaceCore.doFloorplan(), ensure
that the core is aligned on the GCell grid (i.e. the slice
grid of the overall chip).
* Bug: In Kite, in GCellTopology::_do_xG_xM1_xM3(), infinite loop
while looking for the bigger N-E RoutingPad. Forgot to decrement
the index...
2014-09-13 10:45:30 -05:00
|
|
|
, ( 'PAD' , '.*_px$')
|
2014-07-27 09:23:27 -05:00
|
|
|
# The following are only read by the Alliance tool wrappers.
|
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
|
|
|
, ( 'SCALE_X' , 100)
|
2014-08-03 09:25:26 -05:00
|
|
|
, ( 'ALLIANCE_TOP' , allianceTop)
|
2014-07-27 09:23:27 -05:00
|
|
|
, ( 'MBK_TARGET_LIB' , cellsTop+'sxlib')
|
2014-08-03 09:25:26 -05:00
|
|
|
, ( 'RDS_TECHNO_NAME' , allianceTop+'/etc/cmos.rds')
|
|
|
|
, ( 'GRAAL_TECHNO_NAME' , allianceTop+'/etc/graal.rds')
|
2012-11-16 06:49:47 -06:00
|
|
|
)
|