I got tired of manually converting LTSpice schematics to QSPICE. It’s using Bordonynov’s symbol and model libraries to make a best-effort mapping of the LTSpice components. Another nice feature is that no files are ever written to disk, so your secrets are safe. Unless you explicitly upload the schematic as part of a bug report, that is.
I’m sure there are bugs, especially in the symbol conversion. There’s a bug report form you can use. If you use the schematic upload option I can have closer look. Or just post feedback on this thread.
Hi. it seems, the mod-statement for B-sources is not longer existing. Even remainder(x,y) is not
working. The correct translation for V=mod(x,y) is now V=(x%y).
Jan’s report points to an expression-rewrite gap, not just a missing symbol. I’d add a mapping rule from mod(a,b)/remainder(a,b) to (a%b) in the converter and a small regression case, because a plain passthrough will fail if QSPICE no longer accepts those functions. Worth checking nested uses too, such as mod(V(out),2).
@Jan1@christophersmithmod(,) and remainder(,) are now available in both B-sources and pre-processing functions. Just a reminder: mod(,) and remainder(,) are not the same, following their C language definitions. 11/20/2026 Implemented mod(,) and remainder(,) for behavioral sources.