Runtime Configuration#
SpiceBind reads its runtime configuration from environment variables.
SPICE_NETLISTPath to the ngspice netlist.
HDL_INSTANCEHDL instance path, or a comma-separated list of instance paths.
VCCSupply voltage used for digital-to-analog conversion. Defaults to
1.0.SPICE_DUMP_RAWWhen set to any value, writes ngspice transient data to
dump.rawwhen the simulation shuts down. This is disabled by default because co-simulation runs can produce very large raw files.
To enable the raw dump:
export SPICE_DUMP_RAW=1
HDL simulator#
The test suite and examples select the HDL simulator with SIM. The
default is icarus. Set SIM=verilator for Verilator 5 (needs
--timing and --vpi). This variable is read by the Python runners,
not by the VPI plugin.