SPICE Netlist
Description
The SPICE Netlist Model is designed for reading and simulating SPICE netlists within the SIMBA simulation environment. This model currently supports most SPICE primitives, tailored to meet the needs of circuit simulation, particularly for SPICE semiconductor models.
Supported SPICE Syntax
The following SPICE primitives are supported:
- Circuit Elements: Resistor (.R), Inductor (.L), Coupled Inductors (.K), DC/AC/Sine/PWL/Pulse Voltage and Current Sources (.V, .I), Current-Controlled Current Sources and Voltage Sources (.F, .H), Voltage-Controlled Current Sources and Voltage Sources (.G, .E) including complex expressions with voltage or current variables, Junction Diode (.D), MOSFET (.M)
- Subcircuit Syntax (.SUBCKT, .ENDS, PARAMS, .X)
- Save Syntax: Simulation scopes(.SAVE)
- Parameters and Functions Syntax (.PARAM, .FUNC): Parameters and functions respect the hierarchical structure of the netlist(a parameter defined in a circuit is available in all of its subcircuits). Functions with up to 6 arguments are supported.
- SPICE Built-In Functions: Most built-in functions are supported, including sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, log, ln, log2, log10, exp, sqrt, sign, rint, sum, avg, limit, uramp, min, max, uplim, dnlim, if statment and "table" parameters.
Parameters
- Node Names: Allows the user to connect specific nodes within the netlist to other components in the SIMBA circuit (format: node1, node2, ...)
- Scope Names: Enables the extraction of specified scopes from the SPICE netlist into the SIMBA simulation environment (the scope name is the name of the scope after the .SAVE primitive in the netlist, for example: .SAVE V(n1) --> V(n1))
Beta Version Note
Important
This SPICE Netlist Model is currently in beta. Some SPICE syntax may not be supported. Please contact our support team if you encounter issues with specific netlists, particularly those involving complex syntax or advanced features.
Library
Electrical > Spice
Pins
Name | Description |
---|---|
Parameters
Name | Description |
---|---|
Netlist | Spice Netlist |
Node_names | Nodes Name |
Scope_names | Scope Names |