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

Problems I met while running single NMOS, dc operation #2

Open
danielrayray43041 opened this issue Jun 22, 2020 · 1 comment
Open

Comments

@danielrayray43041
Copy link

danielrayray43041 commented Jun 22, 2020

Below is the process while I try to run dc simulation for a single NMOS, which is supported by the BAG's author with testbench example(sim.py), spec file(nch_w4.yaml), main function file(mos_char.py).
Unfortunately, it is always shutdown in the half with the error message below(as picture illustrated)
And this the conversation with @ayan-biswas. In the end, I have successfully finished the simulation by modifying corners_setup.sdb with the correct simulation file path specifying.
Express my big gratitude to him again sincerely!

terminal_error

@danielrayray43041
Copy link
Author

I copy the answer from @ayan-biswas here:

Hello Daniel,

The error happens because the simulation did not finish correctly. There are multiple reasons that this can happen. I will list some of those and the steps to debug below:

  1. Open the generated ADEXL and check if the simulation was successful by loading the BagSim.0 tab. If the simulation failed there, it means that the corners and models are probably not set up correctly. Check the corners_setup.sdb to make sure you updated it for your file system, since it has hard coded links to the cds_ff_mpt PDK location on our server. Try manually running the simulations to make sure the corner setup is ok.

  2. If the models and corners are set up correctly and manual simulation works, but BagSim.0 fails, it means the simulation directory used by BAG is not set up correctly. Make sure that the same directory in the following 2 places are the same location:
    a) BAG_TEMP_DIR in line 14 of .cshrc_bag or .bashrc_bag
    b) the simulation directory in line 2 of .cdsinit.personal

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

No branches or pull requests

1 participant