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

Additional ngspice and Spectre simulation support #322

Open
3 tasks
rohanku opened this issue Nov 24, 2023 · 2 comments
Open
3 tasks

Additional ngspice and Spectre simulation support #322

rohanku opened this issue Nov 24, 2023 · 2 comments

Comments

@rohanku
Copy link
Contributor

rohanku commented Nov 24, 2023

  • Add support for additional simulator-specific flags
    • Using Spectre as an example, will need to modify Tran for transient simulation parameters and Options for simulator flags.
  • Add support for additional analysis types
    • Add additional structs that follow the example of Tran. Will need to update Spectre's Input type and simulate_inputs function to invoke the necessary analyses correctly.
    • May need to modify the nutlex crate to parse different analysis types.
  • Add support for additional simulation primitives
    • Add additional blocks, following the example of Vsource.
@kcaisley
Copy link

kcaisley commented Feb 7, 2024

I'm working on this now. I see that you some refactoring in #347, moving Tran under the spectre::analysis module and adding the Montecarlo simulation type.

I'd like to create an Op DC operating point with support for variable sweeps, and add support for options like transient noise to the existing Tran under spectre::analysis::tran. Then, I will make a unit test creating some inverters, and simulating their jitter and DC transfer characteristic.

Regarding your point

Add support for additional simulation primitives

Does this essentially equate to extending the built-in "schema", as discussed here?

@rohanku
Copy link
Contributor Author

rohanku commented Feb 7, 2024

Yes, that is correct. One thing to note, we are now using https://github.com/rahulk29/psfparser for parsing Spectre output (though we are still using nutlex for ngspice). If you are interested in working on Spectre, you will need to update the parser to parse additional analysis outputs.

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

2 participants