use auto-generated pinmux ioPadsSpecs
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 11 Apr 2021 17:38:19 +0000 (17:38 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 11 Apr 2021 17:38:19 +0000 (17:38 +0000)
experiments9/freepdk_c4m45/doDesign.py

index dbd4ddefe931ee938ec8c4e96d9c8d49e4cdfb50..cf3c59c2bb163ba0fb4e90ae9c2cad726b78cec8 100644 (file)
@@ -134,9 +134,8 @@ def scriptMain (**kw):
     coreSize   = u(59*90.0)
     chipBorder = u(2*214.0 + 10*13.0)
     ioSpecs    = IoSpecs()
-   #pinmuxFile = './non_generated/litex_pinpads.json'
-   #pinmuxFile = './coriolis2/ls180/litex_pinpads.json'
-   #ioSpecs.loadFromPinmux( pinmuxFile )
+    pinmuxFile = './ls180/litex_pinpads.json'
+    ioSpecs.loadFromPinmux( pinmuxFile )
    # I/O pads, East side.
     ioPadsSpec  = []
     ioPadsSpec += doIoPowerCap( IoPin.EAST|IoPin.A_BEGIN )
@@ -207,8 +206,8 @@ def scriptMain (**kw):
                                     .format('ls180') ))
             sys.exit(1)
         if editor: editor.setCell( cell )
-       #ls180Conf = ChipConf( cell, ioPads=ioSpecs.ioPadsSpec )
-        ls180Conf = ChipConf( cell, ioPads=ioPadsSpec )
+        ls180Conf = ChipConf( cell, ioPads=ioSpecs.ioPadsSpec )
+        #ls180Conf = ChipConf( cell, ioPads=ioPadsSpec )
         ls180Conf.cfg.etesian.bloat = 'nsxlib'
         ls180Conf.cfg.etesian.uniformDensity = True
         ls180Conf.cfg.etesian.aspectRatio = 1.0