Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

models/{ngspice,xyce}/testing/README: should document how to interpret simulation result #69

Open
proppy opened this issue Nov 9, 2022 · 16 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@proppy
Copy link
Member

proppy commented Nov 9, 2022

Expected Behavior

https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/tree/main/models/ngspice/testing and https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/tree/main/models/xyce/testing READMEs should document how to interpret simulation result.

Actual Behavior

https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/tree/main/models/ngspice/testing and https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/tree/main/models/xyce/testing READMEs assume developers/contributors are familiar with the simulation output to be able to interpret if there is failure or regression.

@mkkassem mkkassem added the documentation Improvements or additions to documentation label Nov 9, 2022
@atorkmabrains
Copy link
Collaborator

@atorkmabrains
Copy link
Collaborator

@proppy and @mkkassem Changes in the documentation has been finalized.

@proppy
Copy link
Member Author

proppy commented Nov 11, 2022

@mkkassem @atorkmabrains I think you can easily create a separate pull request for the models changes this way:

# clone upstream repo
git clone https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr
cd globalfoundries-pdk-libs-gf180mcu_fd_pr
# add your fork remote
git remote add mabrains git@github.com:mabrains/globalfoundries-pdk-libs-gf180mcu_fd_pr.git
git fetch mabrains
# create feature branch
git checkout -b improve-models-docs
# checkout (only) models changes
git checkout mabrains/main models
# create a new collapsed commit for (only) models changes 
git commit -m 'models: improve documentation'
# push back to your fork
git push mabrains improve-models-docs
# create the pull request

@atorkmabrains
Copy link
Collaborator

@proppy I have discussed that with @mithro before. That can't be done. Primitive renaming is a lateral change that affects everything and if you take one part and leave the other parts of the PDK unchanged, it will break the PDK. And there is another issue, doing PR will not work as well as the amount of changes are massive. And github doesn't allow that. I have shown this to @mithro and @mkkassem. That's why I was asking you guys to get the primitives renaming PRs in first before we change anything.

@proppy
Copy link
Member Author

proppy commented Nov 11, 2022

@atorkmabrains I'm confused, I don't think the README changes to the models/ directory that we're discussing here are related to the cell renaming changes? So they should be PR-able and mergeable separatly.

@atorkmabrains
Copy link
Collaborator

@proppy The documentation will not be aligned with what you have in this repo. Even if we only take readme changes, if you use it as is it will be broken.

@atorkmabrains
Copy link
Collaborator

@proppy Also, looking at the commands above, this will take everything in models folder including the renaming part and most likely github PR will not allow it.

@proppy
Copy link
Member Author

proppy commented Nov 11, 2022

Even if we only take readme changes, if you use it as is it will be broken.

The renaming changes don't seems to affect the models, ex: https://github.com/google/globalfoundries-pdk-libs-gf180mcu_fd_pr/pull/48/files, so if you were checking-in the models change that include rename + docs in this PR, it wouldn't be broken, it would just be inconsistent with the rest of the PR until the other PR gets merged (simarly if you merge the standalone rename PRs first, it would also be inconsistent if you don't update the models at the same time).

@proppy
Copy link
Member Author

proppy commented Nov 11, 2022

What's important for those change is that we're able to run the tests for a given PR, so you need to merge the test either before (or with) the rename.

@proppy
Copy link
Member Author

proppy commented Nov 11, 2022

Basically if you:

  1. take the instruction in models/{ngspice,xyce}/testing/README: should document how to interpret simulation result #69 (comment)
  2. force push to Updating primitives names in models directory #33 branches (https://github.com/mabrains/globalfoundries-pdk-libs-gf180mcu_fd_pr/tree/primitives_names_part2)
  3. mark it as fixing this issue

That should be enough to provide a coherent set of change to review and merge (that include both naming change and appropriate documentation update to evaluate it).

@atorkmabrains
Copy link
Collaborator

atorkmabrains commented Nov 11, 2022

@proppy the renaming of the primitives is split over 18 PRs due to it's sheer amount of changes. The PR that you are referring to is just one out of 18. Please check with @mithro I have discussed this with him about 4 months ago.

@proppy
Copy link
Member Author

proppy commented Nov 11, 2022

@atorkmabrains, yes but that particular PR (#33) should be revieweable/mergeable independently of the remaining 17 as long we integrate it with the rest of the models change as shown in #69 (comment) and #69 (comment).

proppy pushed a commit to proppy/globalfoundries-pdk-libs-gf180mcu_fd_pr that referenced this issue Feb 6, 2023
@atorkmabrains
Copy link
Collaborator

@FaragElsayed2 Please take a look here as well.

@FaragElsayed2
Copy link
Collaborator

@atorkmabrains I have updated all docs related to models and it is merged in efabless version.

@atorkmabrains
Copy link
Collaborator

@FaragElsayed2 Let's keep this issue open until it's added to Google here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants