https://open-source-silicon.dev logo
#sky130
Title
# sky130
s

Stefan Schippers

11/03/2020, 5:50 PM
@User yes i did those checks, git status reveals:
Copy code
HEAD detached at 2d165a2
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   cells/diode/sky130_fd_sc_hs__diode_2.magic.lef

no changes added to commit (use "git add" and/or "git commit -a")
HEAD detached is another thing that if I google around and find 10 answers they are all different so almost nobody knows that it means. Doing a 'git log' i see:
Copy code
commit 2d165a2ffdb4e632ed4ffbb52ac19f49d1be04a6 (grafted, HEAD, origin/master, origin/HEAD, master)
Author: Tim 'mithro' Ansell <me@mith.ro>
Date:   Thu Oct 29 08:09:19 2020 -0700

    lef: Fixing VNB/VPB properties in .magic.lef files.
    
    Both the `PIN VNB` and `PIN VPB` are now marked with `DIRECTION INOUT`.
    The `PIN VNB` is marked with `USE GROUND` and the `PIN VPB` is marked
    with `USE POWER`.
    
    This should fix the `.magic.lef` file usage with OpenROAD (and hopefully other
    tools too).
    
    Fixes <https://github.com/google/skywater-pdk/issues/172>
    
    Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
It looks like i have here the local changes made by a commit done upstream, so why do i see them as local changes instead of just pulling them with a 'git pull'... I don't know if i am on a different branch, i just followed the open_pdks instructions to build the liberty files, and i was just wondering if i can incrementally align my workspace with a 'git pull / git submodules update / whatever' instead of deleting everything and restarting from ground zero.