User Activity

  • Posted a comment on discussion ngspice-users on ngspice

    library works but my project doesn't I guess becuase your branch comes from an older library version. I will manage by myself to do a comparison and manage the differences. thanks again for the support michele

  • Posted a comment on discussion ngspice-users on ngspice

    now it works .. I was investigating the same point noting that the function gcc was complaining about where under define. thanks a lot for the support Michele

  • Posted a comment on discussion ngspice-users on ngspice

    Sorry, as I said I'm an embedded developer, I'm not used with linux. Actually I have this virtual machine where I copied last version of ngspice and the a c project I derived from the example you provided me a few weeks ago. To make it running I did a "sudo ./compile_linux_shared.sh" to install the library then I did a make of the project and everything works fine. As I wrote above I did some modification of ngspice to test, I recompiled the library and everything works. Now I tried with the minimal...

  • Posted a comment on discussion ngspice-users on ngspice

    Thank you very much for the link. It compiles in 1/3 of time .. but I have some problems. When I then "make" my code I got thes errors. Do I have to do a clean or something similar? I'm using an ubuntu virtual machine .. I'm not so in used with linux. thanks again for the support Michele /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/libngspice.so: undefined reference to MIF_INP2A' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../../lib/libngspice.so: undefined reference toEVTsave'...

  • Posted a comment on discussion ngspice-users on ngspice

    Hi, thank you very much for the feedback. I was just surfing the code and because I was not able to find documentation for ngspice code I checked spice3f5 and the the spice2 documentation. Looking at it I found this macro .. that's why I asked. I'm considering the possibility to run ngspice on an embedded target to use it for HIL: I saw somebody else asked about that in the past. In my idea I would like to use more a "mean model" of the converter, slightly modifying the firmware of my board in order...

  • Posted a comment on discussion ngspice-users on ngspice

    Hi, Thanks to your support I used successfully ngspice shared library to do some unity testing of a control algorithm bulding a small application that runs the equivalent HW simulation and my control. It works fine thanks but, as an embedded developer, I look always to some code optimization. I tried to analize the source code and I checked also spice3f5 and the spice2 memorandum in order to try to "surfe" through the code (that is pretty complex). I noticed one thing among others: in spice3f5 in...

  • Posted a comment on discussion ngspice-users on ngspice

    Hi, sorry for the delay in the answer but it took me sometime to fix up my staff on windows. I was running mingw 32bit, that's why I was using a very old ngpsice library. I tested your solution and it runs in less than 400ms on windows. I guess I can do better removing some printf. Thanks a lot for the support

  • Posted a comment on discussion ngspice-users on ngspice

    Yes I'm checking that. I was using an old version for my tests. I downloaded the new one but I had problems at loading. I copied the other dll from the package download (libgcc_s_seh-1.dll, ..) but now the application even doens't start .. I'm checking thanks

View All

Personal Data

Username:
sullacorda
Joined:
2010-02-18 10:55:32

Projects

  • No projects to display.

Personal Tools