Skip to content

6.0.9 -> 6.99 Pin assignment is not recognized

when in the attached project, after renaming RLoad1 to R111, the simulation is started, it fails immediately with the ngspice error message

Note: Compatibility modes selected: ps lt
Circuit: KiCad schematic
Too few parameters for subcircuit type "tl072c" (instance: xxu1)
Error: there aren't any circuits loaded.

A look at the Spice netlist reveals the line XU1 Net-_R16-Pad2_ Net-_U1A--_ Net-_U1A-+_ TL072c, the call to this subcircuit is done with 3 parameters only, not with 8 as required and set in 6.0.9.

Double click on U1A, Simulation Model Editor, says: "Built-in Spice model, Raw Spice element", which is certainly wrong because it is a subcircuit model. The original pin assignment is no longer available.

Dual-NMOS-Amp-VDMOS.7z

Steps to reproduce

  1. Load the project
  2. Edit the circuit schematic RLoad1 -> R111
  3. Run the simulation

KiCad Version

Application: KiCad Schematic Editor (64-bit)

Version: (6.99.0-4936-g2f8cc84551), release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.12.1
	HarfBuzz 5.0.1
	FontConfig 2.14.1
	libcurl/7.86.0-DEV Schannel zlib/1.2.13

Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
	Date: Dec 14 2022 06:24:02
	wxWidgets: 3.2.1 (wchar_t,wx containers)
	Boost: 1.80.0
	OCC: 7.6.2
	Curl: 7.86.0-DEV
	ngspice: 37
	Compiler: Visual C++ 1929 without C++ ABI

Build settings:
	KICAD_SPICE=ON
Edited by holvo