Update according to the latest check toolkit.
authorJock Tanner <tanner.of.kha@gmail.com>
Fri, 20 Mar 2020 14:00:27 +0000 (14:00 +0000)
committerJock Tanner <tanner.of.kha@gmail.com>
Fri, 20 Mar 2020 14:00:27 +0000 (14:00 +0000)
experiments7/Makefile
experiments7/coriolis2/settings.py
experiments7/doAlu16.py

index 37e242df4b52ec2a277979a5afa70670b2d07dd3..d3c8e31bb6eeab242a3c19977153b440596e74ae 100755 (executable)
@@ -14,6 +14,9 @@
 
  include ./mk/design-flow.mk
 
+alu16_r.ap alu16_r.vst: alu16.vst
+       -@echo "Overriding rules to generate layout by doAlu16.py custom script."
+       -$(call scl_cols,$(call c2env, ./doAlu16.py))
 
 blif:      alu16.blif
 vst:       alu16.vst
index 864dcba60a2d16de83ab3e8a86aa2bc9c9004c9d..b4f7c85946c7ccbaa5888f7d8899708a4398b7c4 100644 (file)
@@ -1,7 +1,5 @@
 # -*- Mode:Python -*-
-from __future__ import print_function
 
-import os
 import Cfg
 import CRL
 import Viewer
@@ -32,21 +30,8 @@ Cfg.getParamInt('katana.vTracksReservedLocal').setInt(6)
 
 Cfg.Configuration.popDefaultPriority()
 
-if os.environ.has_key('CELLS_TOP'):
-    cellsTop = os.environ['CELLS_TOP']
-else:
-    cellsTop = '../../../cells'
-
 af = CRL.AllianceFramework.get()
 env = af.getEnvironment()
-env.addSYSTEM_LIBRARY(
-  library=cellsTop + '/nsxlib', mode=CRL.Environment.Prepend
-)
-env.addSYSTEM_LIBRARY(
-  library=cellsTop + '/mpxlib', mode=CRL.Environment.Prepend
-)
 env.setCLOCK('^clk$|m_clock')
 env.setPOWER('vdd')
 env.setGROUND('vss')
-
-print('Successfully read user configuration')
index 9ac210b863d213fdf1c3e7298035fd8e528bfaa0..17d7b3e9fcf734be589c4a2c3a538eb235039114 100755 (executable)
@@ -370,6 +370,7 @@ def alu16(editor=None, **kwargs):
 
     result = place_and_route(cell)
 
+    cell.setName(cell.getName()+'_r')
     af.saveCell(cell, CRL.Catalog.State.Views)
     RSavePlugin.ScriptMain(editor=editor, **kwargs)