Skip to content

Curious about how you compiled ngspice to WASM #6

Answered by danchitnis
michaelbzhu asked this question in Q&A
Discussion options

You must be logged in to vote

For now, as of today, you can compile ngspice codebase to WASM without any hacking. See here for the build tools and example. There is a discussion thread on the previous hacks which you can find here. If you want only RLC, then you can remove the extra models from the ngspice so you have a smaller (and perhaps) faster WASM.

Notice that the original SPICE3f5 from Berkeley is slightly different from ngspice as it is missing the contemporary models. If you want only RLC as a practice then the original SPICE3f5 might be more suitable.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelbzhu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants