ngspicetclbridge

Contents:

  • NgspiceTclBridge - drive ngspice (shared library) from Tcl
    • What it gives you (at a glance)
    • Building & requirements
    • Continuous integration and binary packages
      • Local MSVC build
    • Documentation
    • Quick start (synchronous operation)
    • Optional RBC vector output
    • Digital event tests
    • Testing
    • Installation layout and removal
    • Installation archives
    • Regenerating documentation
    • Notes and troubleshooting
  • Interactive help
  • RBC vectors support
    • Optional RBC vector output
      • Graph integration with real ngspice
      • Vector destination namespace
    • Read-only destinations
    • Automatic snapshot vector names
    • Namespace precedence for snapshots
    • Package defaults
  • Digital events data
    • Digital events data
      • Choosing a transient mode
      • changes: complete batches of event reports
      • snapshot: all selected states at each output point
      • pernode: immediately available node histories
      • Operating point and DC sweep
      • Publication, clearing and repeated runs
  • Examples
    • Parametric simulation
  • Troubleshooting
  • ::ngspicetclbridge
    • Commands
      • configure
      • getCircuit
      • getCircuitTitle
      • getPlotDate
      • getPlotName
      • getScaleInfo
      • new
      • readVecsAsync
      • run
      • SIM
      • SIM abort
      • SIM asyncvector
      • SIM circuit
      • SIM command
      • SIM destroy
      • SIM eventcounts
      • SIM eventdata
      • SIM eventnodes
      • SIM flush
      • SIM initvectors
      • SIM inputpath
      • SIM isrunning
      • SIM messages
      • SIM plot
      • SIM vectors
      • SIM waitevent
  • Notes and internals
    • How instance subcommands are implemented
      • Command creation
      • Subcommand dispatching
      • Thread safety and state transitions
      • Deferred command queue
      • Capture mode
      • Command deletion and cleanup
      • Instance subcommands summary
    • How sync callbacks from Ngspice is implemented
      • Registration of callbacks
      • Callback invocation model
      • Thread safety and queueing behavior
      • Controlled flow of data
      • Background thread lifecycle callbacks
      • Generation and stale-event handling
      • Controlled exit coordination
      • Safety and teardown integration
    • How event queue interaction is implemented
      • Event structure definition
      • Event allocation and queuing
      • Event processing
      • Event deletion and resource balancing
      • Generation handling and safety
      • Synchronization guarantees
    • How thread safety is ensured
    • How data processing is implemented
      • Overview of the data flow
      • Asynchronous access structures
      • Synchronous access structures (event-driven)
      • Command interpreter storage
      • Digital event nodes
      • Raw digital event storage
      • Native worker thread cleanup
      • Internal buffering and memory layout
      • Conversion into Tcl objects
      • Data lifecycle and cleanup
      • Thread safety in data handling
    • How message queue is implemented
      • Overview
      • Message production (ngspice callbacks)
      • Message consumption (Tcl commands)
      • Capture mode (-capture)
      • Clearing and freeing queues
      • Synchronization and safety guarantees
      • Message queue summary
    • How dynamic library loading and portability is implemented
      • Abstracted portability layer
      • Unicode and Tcl path integration
      • Function symbol resolution
      • Safe unloading and crash prevention
      • Platform-specific nuances
      • Dynamic library loading summary
    • Tcl and C interface boundary
  • Index
ngspicetclbridge
  • Index

Index

C | G | N | R | S

C

  • configure

G

  • getCircuit
  • getCircuitTitle
  • getPlotDate
  • getPlotName
  • getScaleInfo

N

  • new
  • ngspicetclbridge namespace
    • configure
    • getCircuit
    • getCircuitTitle
    • getPlotDate
    • getPlotName
    • getScaleInfo
    • new
    • readVecsAsync
    • run
    • SIM
    • SIM abort
    • SIM asyncvector
    • SIM circuit
    • SIM command
    • SIM destroy
    • SIM eventcounts
    • SIM eventdata
    • SIM eventnodes
    • SIM flush
    • SIM initvectors
    • SIM inputpath
    • SIM isrunning
    • SIM messages
    • SIM plot
    • SIM vectors
    • SIM waitevent

R

  • readVecsAsync
  • run

S

  • SIM
  • SIM abort
  • SIM asyncvector
  • SIM circuit
  • SIM command
  • SIM destroy
  • SIM eventcounts
  • SIM eventdata
  • SIM eventnodes
  • SIM flush
  • SIM initvectors
  • SIM inputpath
  • SIM isrunning
  • SIM messages
  • SIM plot
  • SIM vectors
  • SIM waitevent

© Copyright George Yashin.

Built with Sphinx using a theme provided by Read the Docs.