Giter Club home page Giter Club logo

build-ngspice-js's People

Contributors

rklancer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

build-ngspice-js's Issues

Incorrect analysis result

I get different results when executing an op-analysis with ngspice-js and ngspice. The circuit is as follows:

v1 1 0 5
r1 1 0 2k
.options filetype=ascii
.dc v1 1 1 1
.end

ngspice-js returns v(1) = 1.000000e+00 whereas ngspice (correctly) returns v(1) = 5.000000e+00.

EDIT: The error seems to be that ngspice.js it's own circuit-file creates and uses. If i try to load another circuit-file (by entering the spice commands into the inputs array like it is done in pre.js) ngspice-js returns "No such file or directory". The file i try to load is in the same directory as ngspice.js and ngspice.html.

command not found

I've reached Setup, point 4, I did:

cd release and run ./build.sh

but I got:

./build.sh: line 6: emconfigure: command not found
make.sh: line 5: emmake: command not found
mv: rename src/ngspice to src/ngspice.bc: No such file or directory
gen.sh: line 4: emcc: command not found

your support is highly appreciated

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.