From f8a9dd9f716378fa84b4e4878291cbc1172ca820 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 2 Nov 2020 17:18:40 +0100 Subject: [PATCH] Update cmos45 for use with FlexLib I/O symbolic abstracts. --- crlcore/etc/symbolic/cmos45/kite.py | 9 +++++++++ crlcore/etc/symbolic/cmos45/plugins.py | 2 +- crlcore/python/helpers/technology.py | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/crlcore/etc/symbolic/cmos45/kite.py b/crlcore/etc/symbolic/cmos45/kite.py index 3538b9fb..1e622c7b 100644 --- a/crlcore/etc/symbolic/cmos45/kite.py +++ b/crlcore/etc/symbolic/cmos45/kite.py @@ -345,3 +345,12 @@ cg = CellGauge.create( 'phlib80' , l(246.0) # cell slice step. ) af.addCellGauge( cg ) + +# Gauge for Flexlib symbolic I/O pads (abstracts). +cg = CellGauge.create( 'niolib' + , 'metal2' # pin layer name. + , l( 10.0) # pitch. + , l(1190.0) # cell slice height. + , l( 500.0) # cell slice step. + ) +af.addCellGauge( cg ) diff --git a/crlcore/etc/symbolic/cmos45/plugins.py b/crlcore/etc/symbolic/cmos45/plugins.py index 69ce5a43..5fef81c1 100644 --- a/crlcore/etc/symbolic/cmos45/plugins.py +++ b/crlcore/etc/symbolic/cmos45/plugins.py @@ -19,7 +19,7 @@ helpers.io.vprint( 2, ' - "%s".' % helpers.truncPath(__file__) ) from helpers import l, u, n -Cfg.getParamInt ( "chip.block.rails.count" ).setInt ( 5 ) +Cfg.getParamInt ( "chip.block.rails.count" ).setInt ( 6 ) Cfg.getParamInt ( "chip.block.rails.hWidth" ).setInt ( l( 24) ) Cfg.getParamInt ( "chip.block.rails.vWidth" ).setInt ( l( 24) ) Cfg.getParamInt ( "chip.block.rails.hSpacing" ).setInt ( l( 12) ) diff --git a/crlcore/python/helpers/technology.py b/crlcore/python/helpers/technology.py index c718860f..e04983ad 100644 --- a/crlcore/python/helpers/technology.py +++ b/crlcore/python/helpers/technology.py @@ -18,7 +18,7 @@ Some helpers to create or load a technology and it's libraries. """ from __future__ import print_function -from Hurricane import DataBase, Library, BasicLayer +from Hurricane import DataBase, Library, BasicLayer, Layer __all__ = [ 'safeGetLibrary', 'createBL', 'setEnclosures' ]