Working with the Spice Editor window

Britt Espinosa

Last Update 6 bulan yang lalu

The Spice Editor is a professional-grade environment designed for writing, editing, and executing Spice code. It is powered by the NGSpice engine, an industry-standard tool for high-performance circuit simulation.

Key Features
  • Syntax Highlighting: Easily read and debug your code with color-coded syntax.
  • Intelligent Prompts: As you type, the editor provides helpful function prompts to assist with command structures and parameters.
  • Professional Engine: Leverage the full power of NGSpice for accurate, best-in-class simulation results.

Using Spice Examples
If you are new to Spice or want to see the editor in action, we have provided several pre-configured examples to get you started:

  1. Click the Examples button in the editor toolbar.
  2. Select an example from the dropdown menu to load the code into your workspace.
  3. Review the code structure to learn how different components and commands are defined.


How to Run a Simulation

Once your code is ready, you can trigger the simulation with a single click:

  • Action: Push the Run Simulation button.
  • Result: CircuitSim will process the code via NGSpice and generate data that can be viewed in the Chart or Table windows.
Tip: If your simulation doesn't run as expected, check the Info window for error logs and history to help troubleshoot your Spice code.


 
 

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us