Simulation tutorials
Start with How to use these tutorials and open the bundled examples, then continue to SPICE: overview and your first simulation. For event-driven logic, start with the separate XSPICE and digital course.
There is a shared introductory chapter, eleven SPICE chapters and six XSPICE chapters. The complete courses, runnable drawings, images and recordings are included in this manual. All tutorial examples are bundled with TinyCAD; no tutorial download is needed. Choose Open Example in the browser title bar, or File → Open Example in Desktop, select SPICE tutorial or XSPICE and digital tutorial, select the example named in the chapter, then choose Open Drawing. This opens an editable copy; use Save As to keep your experiments and open the embedded example again to start afresh. Drawings include embedded symbols, model definitions, analysis settings and a retained reference acquisition.
SPICE
- Overview and first run
- DC voltage, current and power
- Signal generators and stimuli
- Transient analysis and RC charging
- Frequency response and filters
- Diodes, rectification and ripple
- Rebuilding AMP.DSN
- Amplifier gain and bandwidth
- Amplifier output, clipping and power
- Sweeps, noise and design investigations
- How TinyCAD implements SPICE: engines, symbols and workflow
Video walkthroughs
Five short videos demonstrate the steps where seeing the controls helps most. The videos use TinyCAD in the browser with bundled ngspice. Play them in the lesson’s embedded player, or use these links in a Markdown viewer:
The videos supplement the written instructions and figures. Use the chapter text for equations, assumptions and expected values. Desktop menus differ from the browser; use File → Open Example there.
XSPICE and digital simulation
- Models, bridges and first run
- Gates and truth tables
- Propagation delay and hazards
- Flip-flops, clocks and reset
- Counters and divided clocks
- Mixed-signal filtering and unknown states
XSPICE examples require TinyCAD Desktop’s native engine. The ordinary SPICE examples use analogue models, but numerical qualification of this bundle was performed with bundled native ngspice 47. A successful native run is not a claim that every browser/version combination has been tested.
Circuit figures are rendered from reopened TinyCAD drawings. Result figures are plots of actual solver data, not hand-drawn expected waveforms. Captions identify application screenshots separately. Small numerical differences from the printed values are normal when model, temperature, timestep or engine version changes.
Manual reference
For current controls, models, analysis settings, charts and troubleshooting, see Simulation and Bundled examples. Desktop access is File → Open Example and View → View Explanation.
Analogue drawing downloads
Use the bundled example browser, or download a drawing here and open it in TinyCAD. Netlists are provided separately as text.
| Example | Drawing | Netlist |
|---|---|---|
| amp-ac | TinyCAD drawing | SPICE text |
| amp-bias | TinyCAD drawing | SPICE text |
| amp-clipping | TinyCAD drawing | SPICE text |
| amp-small-signal | TinyCAD drawing | SPICE text |
| controlled-source | TinyCAD drawing | SPICE text |
| dc-sweep | TinyCAD drawing | SPICE text |
| divider | TinyCAD drawing | SPICE text |
| rc-ac | TinyCAD drawing | SPICE text |
| rc-noise | TinyCAD drawing | SPICE text |
| rc-pz | TinyCAD drawing | SPICE text |
| rc-step | TinyCAD drawing | SPICE text |
| rc-tf | TinyCAD drawing | SPICE text |
| rectifier | TinyCAD drawing | SPICE text |
| source-current | TinyCAD drawing | SPICE text |
| source-dc | TinyCAD drawing | SPICE text |
| source-exponential | TinyCAD drawing | SPICE text |
| source-fm | TinyCAD drawing | SPICE text |
| source-pulse | TinyCAD drawing | SPICE text |
| source-pwl | TinyCAD drawing | SPICE text |
| source-sine | TinyCAD drawing | SPICE text |
| source-triangle | TinyCAD drawing | SPICE text |
XSPICE drawing downloads
Use the bundled example browser, or download a drawing here and open it in TinyCAD. Netlists are provided separately as text.
| Example | Drawing | Netlist |
|---|---|---|
| logic-buffer | TinyCAD drawing | SPICE text |
| logic-counter | TinyCAD drawing | SPICE text |
| logic-dff | TinyCAD drawing | SPICE text |
| logic-filter | TinyCAD drawing | SPICE text |
| logic-hazard | TinyCAD drawing | SPICE text |
| logic-nand | TinyCAD drawing | SPICE text |
| logic-unknown | TinyCAD drawing | SPICE text |