From: Luke Kenneth Casson Leighton Date: Wed, 5 Aug 2020 13:55:28 +0000 (+0000) Subject: add coriolis_setup, fix subckt numbering X-Git-Tag: partial-core-ls180-gdsii~96 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8e8a30ebc746721d0f9f73f5a184d556a8a5571;p=soclayout.git add coriolis_setup, fix subckt numbering --- diff --git a/experiments9/doDesign.py b/experiments9/doDesign.py index 06ea57a..797dd40 100644 --- a/experiments9/doDesign.py +++ b/experiments9/doDesign.py @@ -3,6 +3,7 @@ from __future__ import print_function import sys import traceback import CRL +import Cfg import helpers from helpers.io import ErrorMessage from helpers.io import WarningMessage @@ -13,11 +14,39 @@ from Hurricane import Pin from Hurricane import Transformation from plugins.alpha.block.block import Block from plugins.alpha.block.configuration import IoPin +from utils import Module, SessionManager, Config af = CRL.AllianceFramework.get() +def coriolis_setup(): + with Config(Cfg.Parameter.Priority.UserFile) as cfg: + cfg.misc_catchCore = False + cfg.misc_info = False + cfg.misc_paranoid = False + cfg.misc_bug = False + cfg.misc_logMode = True + cfg.misc_verboseLevel1 = True + cfg.misc_verboseLevel2 = True + cfg.etesian_effort = 2 + cfg.etesian_spaceMargin = "10.0%" + cfg.etesian_aspectRatio = "100.0%" + cfg.etesian_uniformDensity = True + cfg.anabatic_edgeLenght = 24 + cfg.anabatic_edgeWidth = 8 + cfg.anabatic_topRoutingLayer = 'METAL5' + cfg.katana_searchHalo = 30 + cfg.katana_eventsLimit = 1000000 + cfg.katana_hTracksReservedLocal = 7 + cfg.katana_vTracksReservedLocal = 6 + + env = af.getEnvironment() + env.setCLOCK('^clk$|m_clock') + env.setPOWER('vdd') + env.setGROUND('vss') + + def scriptMain ( **kw ): """The mandatory function that Coriolis CGT/Unicorn will look for.""" global af @@ -609,19 +638,19 @@ def scriptMain ( **kw ): Transformation( l(23250), l(4000), Transformation.Orientation.ID )) blockIssuer.useBlockInstance( - 'subckt_1150_core.subckt_2227_fus.subckt_0_trap0' , + 'subckt_1150_core.subckt_2227_fus.subckt_9_trap0' , Transformation( l(25300), l(4000), Transformation.Orientation.ID )) blockIssuer.useBlockInstance( - 'subckt_1150_core.subckt_2030_fast' , + 'subckt_1150_core.subckt_2226_fast' , Transformation( l(1000), l(4000), Transformation.Orientation.ID )) blockIssuer.useBlockInstance( - 'subckt_1150_core.subckt_2032_int' , + 'subckt_1150_core.subckt_2228_int' , Transformation( l(1000), l(4000), Transformation.Orientation.ID )) blockIssuer.useBlockInstance( - 'subckt_1150_core.subckt_2034_pdecode2' , + 'subckt_1150_core.subckt_2230_pdecode2' , Transformation( l(1000), l(4000), Transformation.Orientation.ID )) @@ -645,6 +674,7 @@ def scriptMain ( **kw ): if __name__ == '__main__': + coriolis_setup() kwargs = {} success = scriptMain(**kwargs) shellSuccess = 0