mirror of
https://github.com/torvalds/GuitarPedal.git
synced 2025-12-23 00:44:08 +00:00
The actual real spice file needs to be downloaded from TI, but this is the "make that oddly formatted file JustWork(tm)" wrapper thing. And yeah, ngspice has tons of issues with the TI opamp spice files, and this all simulates much less reliably than the discrete component version. That's not a new issue. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14 lines
469 B
Plaintext
14 lines
469 B
Plaintext
** The TI SPICE model argument order and naming is odd.
|
|
** This tries to make both sane. Or at least sanER. The
|
|
** pins are in the SOT-23 package order with sane names.
|
|
**
|
|
** I would love to just include the whole OPA1655.LIB file,
|
|
** but it's (C) TI, so I'd better not. Go download it from
|
|
** TI, and unzip it, and put it under this repo in a "sim"
|
|
** directory
|
|
**
|
|
.subckt SINGLE1655 OUT V- IN+ IN- V+
|
|
.include external/OPA1655.LIB
|
|
XU1 IN+ IN- V+ V- OUT OPA1655
|
|
.ends
|