[Libre-soc-bugs] [Bug 526] create dry-run 180nm GDS-II files for IMEC

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Nov 29 15:02:16 GMT 2020


https://bugs.libre-soc.org/show_bug.cgi?id=526

--- Comment #63 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jean-Paul.Chaput from comment #61)

>   jpc at lepka:experiments9$ grep -Rl sys_pll_48 *
>   coriolis2/ls180/ls180_pins.py
>   coriolis2/ls180/litex_pinpads.json
>   ls180/ls180_pins.py
>   ls180/litex_pinpads.json

what's happening is: i *used* to have the auto-generated ls180_pins.py
in the coriolis2 directory, however because doDesign.py needs it, i
had to move the symlink to the directory below.

and because i believe (suspect) coriolis2 modifies sys.path (or PYTYHONPATH)
to make coriolis2 a module-search directory:

     export PYTHONPATH="./coriolis2" or
     sys.path.append("./coriolis2")

something like that, yes?

if that's the case then "from ls180.ls180_pins import X" will have the
*DUPLICATE* (wrong, old, redundant) version of ls180_pins.py, which you
will find is completely out-of-date and was generated well over a month
ago...

... as the *higher* priority import in sys.path than the cwd.

if however it *is* up-to-date (the symlinks) then you need to check the
submodule.  use the following commands:


   $ git diff

this should produce NOTHING.  it should **NOT** say, for example:

    - submodule pinmux {xxxxxx}
    + submodule pinmux {xxxxxxxx}

if it does, you have submodules out-of-date (usually due to editing and
commits that have not yet been pushed) and should do:

    git reset --hard
    git submodule update --init --remote

basically you are highly likely to have an out-of-date pinmux submodule.
you need to be up-to-date with this submodule commit:

   (coriolis2)lkcl at fizzy:~/soclayout/experiments9$ git submodule
   f5495dcca0e6c7ce85743df7f93206ac77b8cd64 ../pinmux (remotes/origin/HEAD)

until that is the case, it is absolutely guaranteed that you will
systematically fail to be able to compile this code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list