Author Topic: Mike Engelhardt's new SPICE simulator QSPICE is out  (Read 25843 times)

0 Members and 1 Guest are viewing this topic.

Offline tggzzz

  • Super Contributor
  • ***
  • Posts: 20767
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #75 on: September 18, 2023, 10:41:19 pm »
I suppose I should RTFM or RTFAQ, but...
Does QSpice support IBIS models? That is one attraction of Microcap - not that I've use that either!

I don't know either and haven't found the info with just a quick search.
But - I don't fully know QORVO's current offering, but if all, or most of their chips do not require IBIS modeling, why would they pay Mike for implementing this?

Points taken, but it would be a shame if QSpice was unnecessarily limited to a subset of application domains.

There does seem to be a tendency for different spices to be tailored to different classes of problem. On the one hand that can be positive: I like tools that do one thing well. On the other hand, having to choose between and learn conceptually similar but irritatingly different tools is a waste of brain power (e.g. trivially different word processors). On the gripping hand, it will probably remain an academic issue for me.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15439
  • Country: fr
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #76 on: September 18, 2023, 10:56:42 pm »
There are some simulators that support a wide range of features (including IBIS support, mixed-signal with the ability of writing user C or C++ code, etc), but they are commercial, expensive ones.
I guess the "free"/low-cost ones just don't have the teams/budgets to implement all of this.

ngspice - one of the "major" open-source Spice simulators - does implement mixed-signal sim and custom models in C but certainly the learning curve is a bit steep and the available GUIs are all pretty limited (at least compared to commercial simulators). I don't think it supports IBIS though, would have to better check. I remember that IBIS support in ngspice was a feature request for years, I don't think it has been implemented yet though, unless I missed it.
 

Offline soldar

  • Super Contributor
  • ***
  • Posts: 3540
  • Country: es
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #77 on: October 04, 2023, 02:51:27 pm »
In the end it makes much more sense to write new software cross-platform from the start rather than relying on emulation nowadays.
I agree. I am running a few things with WINE but I have no intention of trying with more. If it ran with Linux I would give it a try but as it is I will give it a pass.
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15439
  • Country: fr
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #78 on: October 05, 2023, 02:12:22 am »
In the end it makes much more sense to write new software cross-platform from the start rather than relying on emulation nowadays.
I agree. I am running a few things with WINE but I have no intention of trying with more. If it ran with Linux I would give it a try but as it is I will give it a pass.

QSPICE doesn't run on Wine as I mentioned earlier, so even if you wanted to...
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #79 on: October 06, 2023, 08:18:27 pm »

You can always run it in a VM on any platform...  -  A very nice solution overall, in my experience.
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3248
  • Country: us
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #80 on: October 07, 2023, 09:52:42 am »
Has anyone tried it on a M1 Mac - perhaps by using Parallels?

https://www.zdnet.com/article/how-to-run-intel-windows-apps-on-an-m1-mac/
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2925
  • Country: us
  • Not An Expert
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #81 on: October 07, 2023, 09:13:25 pm »
Has anyone tried it on a M1 Mac - perhaps by using Parallels?

https://www.zdnet.com/article/how-to-run-intel-windows-apps-on-an-m1-mac/

The cross-platform thing is a directx support issue according to a post by Mike.
 
The following users thanked this post: ledtester

Offline huababua

  • Contributor
  • Posts: 23
  • Country: de
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #82 on: October 13, 2023, 12:29:03 pm »
too bad that it doesnt run on linux. really really bad. feels like 1990.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15439
  • Country: fr
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #83 on: October 13, 2023, 07:10:51 pm »
Depending on DirectX for a new development of a Spice simulator (or just EDA stuff in general) is a bad idea these days IMO, and there are certainly many decent alternatives to get good antialiased vector graphics with good performance in a reasonably cross-platform way.

But we're not in Mike's shoes nor in Qorvo's head, and he may have had a particular reason for doing that.
That seems a bit odd, as he strived to make LTSpice run on Wine. Maybe he eventually got bitten by this (/fed up) and decided not to bother with that cross-platform compatibility at all for his new simulator.
Or maybe he thought it would take him too much dev time initially, so he strictly focused on Windows.

While IMO that was still acceptable 10 years ago, developing new software Windows-only (unless it's software that strictly concerns Windows users only) these days is a no-no and I wouldn't do that again.
 
The following users thanked this post: nctnico, Jacon

Offline Warhawk

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: 00
    • Personal resume
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #84 on: October 14, 2023, 11:25:48 am »
Depending on DirectX for a new development of a Spice simulator (or just EDA stuff in general) is a bad idea these days IMO, and there are certainly many decent alternatives to get good antialiased vector graphics with good performance in a reasonably cross-platform way.

But we're not in Mike's shoes nor in Qorvo's head, and he may have had a particular reason for doing that.
That seems a bit odd, as he strived to make LTSpice run on Wine. Maybe he eventually got bitten by this (/fed up) and decided not to bother with that cross-platform compatibility at all for his new simulator.
Or maybe he thought it would take him too much dev time initially, so he strictly focused on Windows.

While IMO that was still acceptable 10 years ago, developing new software Windows-only (unless it's software that strictly concerns Windows users only) these days is a no-no and I wouldn't do that again.

Even though I expect that Mike has had fun developing the new simulation tool the main purpose is business for Qorvo. Providing a good simulation tool free of charge is the best marketing and the way to get some visibility. I know about Qorvo because of the QPSICE. Not the other way around. I started my professional career nearly 15 years ago. I've been in the semiconductor business last 8 years. I've been traveling worldwide visiting hardware teams. I likely met hundreds of engineers in tens of different companies. Never have I ever seen a single Linux desktop. I've seen few macs, mostly from management and procurement guys.
I occasionally use Linux myself but it is really a bad OS for getting any engineering done. No 3D cad, no 2D cad. Maybe the KiCad stands out but this has been mainly due to recent development when CERN stepped in. I don't see any reason why ANY company would invest extra efforts in Linux support. The business case is simply not there. Few exceptions and hobbyists won't bring $$$ to the table.



Offline huababua

  • Contributor
  • Posts: 23
  • Country: de
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #85 on: October 14, 2023, 12:51:05 pm »
Understood. Of course there needs to be a business case behind everything.

But ever „modern“ software I am using is built on some kind of a cross platform. Shouldn’t be too much effort to set it up right and serve the three big player.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7246
  • Country: pl
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #86 on: October 14, 2023, 01:27:05 pm »
I suspect there was little more reason than Mike being personally familiar with that API, and Qorvo not caring enough to push him away from it. For example, OpenGL would have made this software more wine-friendly and easier to port natively to OS X if a need arises.

Whether being Windows-only is a good business decision shall be seen in a few years. The position of Windows at electronics design companies is partly Microsoft's support for large scale enterprise deployments, and partly a matter of relevant software running on Windows simply because that's what customers have used so far. If Microsoft screws something up, or bean counters decide they don't want to pay for it anymore, or Apple leaves AMD and Intel in the dust, the industry may slowly shift away from Windows like others did.

If you look at software development for example, a lot of it is done on OS X or Linux and many if not most serious tools are already cross platform or "cloud" based.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28101
  • Country: nl
    • NCT Developments
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #87 on: October 14, 2023, 06:38:01 pm »
If you look at software development for example, a lot of it is done on OS X or Linux and many if not most serious tools are already cross platform or "cloud" based.
Indeed. It is rare for my customers to use Windows for software development. It is either Linux or Mac. FPGA development is another field where every self respecting manufacturer makes sure to have their tools running on Linux. Even small players like Gowin and Efinix. And a lot of higher end electronics software does run on Linux. Like Orcad Allegro, Sonnet, ADS, Matlab to name a few.

I suspect there was little more reason than Mike being personally familiar with that API, and Qorvo not caring enough to push him away from it. For example, OpenGL would have made this software more wine-friendly and easier to port natively to OS X if a need arises.
Using OpenGL directly won't matter much. And I don't see how drawing a few graphs would benefit from OpenGL anyway. Using a framework like wxWidgets (like Kicad does) or Qt makes it much easier to create cross-platform applications. wxWidgets is kind of like MFC (Microsoft Foundation Classes) so should be relatively easy to use for people used to programming Windows software in C++.
« Last Edit: October 15, 2023, 12:12:58 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7246
  • Country: pl
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #88 on: October 15, 2023, 06:15:54 am »
I don't see how drawing a few graphs would benefit from OpenGL anyway.
First of all, you don't have to reinvent the wheel. The library is already written, you just tell it what to draw. As are GUI toolkits and frameworks, which likely use it under the hood for this kind of operations. Same for DirectX on Windows.

Secondly, GPU acceleration means faster speed and lower power consumption. OpenGL was originally developed for CAD, not for games.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 28101
  • Country: nl
    • NCT Developments
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #89 on: October 15, 2023, 11:10:37 am »
Using OpenGL is only benificial if you need to draw a huge amount of lines / shapes fast likes in a PCB design or mechanical CAD. There are downsides to OpenGL as well because in the end the OpenGL driver of the GPU needs to be implemented correctly (which isn't always the case). Also, not all VMs support OpenGL (like Virtualbox for example) and then you are back to software simulation (Mesa3D for example which isn't perfect). And then there is the move to Vulkan which spreads the development teams of GPU driver developers thin. All in all OpenGL is a speed optimisation but it does come at a price.
« Last Edit: October 15, 2023, 11:13:58 am by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Cyberdragon

  • Super Contributor
  • ***
  • Posts: 2676
  • Country: us
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #90 on: November 29, 2023, 03:09:45 am »
In the end it makes much more sense to write new software cross-platform from the start rather than relying on emulation nowadays.
I agree. I am running a few things with WINE but I have no intention of trying with more. If it ran with Linux I would give it a try but as it is I will give it a pass.

QSPICE doesn't run on Wine as I mentioned earlier, so even if you wanted to...

It does run. You need Wine Staging and set Wine Tweaks to "hide version" and it will run.

Not great though, it will simulate but it's super slow and buggy (the forground and background get set to black making the circuit invisible untill you change the color of everything). It is a graphics issue, it uses the GPU for simulating normally but on Wine it defaults to CPU only simulation and rendering making it take several seconds to even draw a trace, and the trace has artifacts in it. And yes, I tried Proton with DirectX to Vulkan conversion, and a bunch of settings, it just seems to ignore the GPU.
*BZZZZZZAAAAAP*
Voltamort strikes again!
Explodingus - someone who frequently causes accidental explosions
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #91 on: December 01, 2023, 12:06:38 pm »
On your Linux box, have a VM running Windows? -  The OS is an application, these days...   ;D
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15439
  • Country: fr
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #92 on: December 01, 2023, 11:33:57 pm »
On your Linux box, have a VM running Windows? -  The OS is an application, these days...   ;D

You mean, like 60 years ago? :popcorn:
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #93 on: December 09, 2023, 09:21:10 pm »
On your Linux box, have a VM running Windows? -  The OS is an application, these days...   ;D

You mean, like 60 years ago? :popcorn:

Nothing new under the sun...   -  I hear IBM wants to use AI to get rid of a lot of old code written in...   Cobol.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15439
  • Country: fr
Re: Mike Engelhardt's new SPICE simulator QSPICE is out
« Reply #94 on: December 09, 2023, 09:31:43 pm »
On your Linux box, have a VM running Windows? -  The OS is an application, these days...   ;D

You mean, like 60 years ago? :popcorn:

Nothing new under the sun...   -  I hear IBM wants to use AI to get rid of a lot of old code written in...   Cobol.

The whole idea sounds like fun.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf