Giles Atkinson
c18447f9f5
Add the support files for co-simulation with Verilog code
compiled by Verilator. Also add script files to Visual Studio builds
that are already installed by the Makefile builds.
2 years ago
Giles Atkinson
f6f7319792
Add null-pointer checks to some code that crashed when trying
to .print results from a non-existent analysis. Also remove the
troublesome .plot and .print lines from two examples.
2 years ago
Brian Taylor
864ef7925c
Add notes on the structure and organization of an external d_process program.
2 years ago
Brian Taylor
5c6b9f03b5
Fix the zero count.
2 years ago
Brian Taylor
1f5f7ae439
Update d_process examples.
2 years ago
Brian Taylor
09f070f582
Error handling improvements in cfunc.mod. Ensure that d_process.h wiil always respond to version and interface checks sent from sendheader. This is needed so that the pipe reads in sendheader do not cause Windows to hang when the interface version and in/out counts do not match. This hang was the cause of errors not being reported and the Windows gui hanging. Startup and header checks are now detected in cm_d_process, and the simulator will run but with runtime errors since a d_process model cannot be completely instantiated after initial errors. It would be good to find a means of gracefully halting the simulation run.
2 years ago
Brian Taylor
4530cde8e2
Use Xspice cm_message_send to report errors rathen than printing to stderr and calling exit. When a d_process model has errors found in start(), sendheader(), and dprocess_exchangedata() these are reported, but if the model is run a SIGINT is raised. There must be a better way of stopping the simulator.
2 years ago
Brian Taylor
182764a894
Add examples/xspice/d_process.
2 years ago
Giles Atkinson
5114d6c2f4
Add an option to the iplot command: -d sets the number of simulation
steps before the window is shown. The value can be chosen to
limit rapid resizing when starting and that is used in the PLL examples.
3 years ago
Holger Vogt
a48cc44c7f
Example input file for 'iplot -w' option
3 years ago
Holger Vogt
af9f25e985
Various filter examples using Laplace expression x_fer
3 years ago
Holger Vogt
925dc55a73
rename example file
3 years ago
Holger Vogt
ca1974ff37
Examples moved to folder /various
3 years ago
Holger Vogt
751019b447
Examples for d_pwm and d_osc
3 years ago
Holger Vogt
ec6a902fb9
Fix a bug in simple diode, when ilimit is set, but not epsilon.
Make model more similar to LTSPICE
Add an example
4 years ago
Holger Vogt
cb42895dad
example for pwlts source code model
4 years ago
Holger Vogt
c8ed9590b7
Handle the case when control voltages on and off are equal.
Update the linear switch: add the limits to resistance ron, roff
Update the log switch: correct the resistance calculation for
von < voff
Add some examples for the pswitch.
4 years ago
Holger Vogt
2deefe1fbc
New tables for MOS devices
4 years ago
Holger Vogt
765d2e8a0e
Return data to input directory.
4 years ago
Holger Vogt
a69dd1bcde
Simplify the NMOS or PMOS selection by setting only one parameter
'mostype'
ngspice-37+ is required.
4 years ago
Holger Vogt
afde37c35d
add y-axis label
4 years ago
Holger Vogt
2981d0f56d
Use 'esave none' to reduce memory consumption.
Only analg nodes are to be saved.
4 years ago
Holger Vogt
738ac4863c
Obtain memory and simulation time
Add rusage information command
4 years ago
Holger Vogt
70e4d2157e
New names for the (experimental) ramp-time capacitor and inductor code models
5 years ago
Holger Vogt
05624bedd3
move examples file to prpoer xspice folder
5 years ago
Holger Vogt
6c3b14e396
make simulation faster, allow batch mode
6 years ago
Holger Vogt
9dec5f5f1e
An example for non-convergence of the pll if the stepszelimit is removed.
Adding a somewhat relaxed limit by TMAX in the tran command will speed
up the simulation by a factor of 1.5 without compromising the result.
7 years ago
Holger Vogt
f46135cc03
script to start GTKWave
8 years ago
dwarning
bd5379d760
one tran analysis is sufficient
8 years ago
Holger Vogt
3138811acd
README for the table model and its table directory
8 years ago
Holger Vogt
925cb49ff2
Add some description, correct minor bugs.
8 years ago
Holger Vogt
800c9711f2
add a flag 'type of the union' to safely free model->param[i]->element,
if it contain a malloced string
8 years ago
Holger Vogt
f988dfad93
add plotting to the example
8 years ago
Holger Vogt
9becf1313a
complex model: a script loads two circuits with MOS and
bipolar table models, and run a sequence of dc simulations
with switching the circuit.
8 years ago
Holger Vogt
bb86b137a7
add 'reset' to fix a huge memory leak
8 years ago
Holger Vogt
e99985a156
add two commands 'reset' to avoid huge memory leak
8 years ago
Holger Vogt
b0883ffc5d
add the reset command to avoid huge memory leak
8 years ago
Holger Vogt
83db375fe8
add plotting with internal analog plot
and gtkwave for digital data
8 years ago
Holger Vogt
e8e5823955
add a hint to run the table generator before
simulation is possible
8 years ago
Holger Vogt
c8705147b0
Original examples fixed and moved to here
8 years ago
Holger Vogt
0de66ea3b8
XSPICE state machine example
8 years ago
Holger Vogt
a5e382d0ea
XSPICE d_source examples
8 years ago
Holger Vogt
6e452b1e7c
xspice filesource example
8 years ago
Tim Edwards
6ac19b03a3
examples/xspice/d_lut/mult4bit.spi, example for d_lut and d_genlut
9 years ago
h_vogt
30aa5ec0b7
examples/xspice/table, examples for the table2d and table3d code models
10 years ago
h_vogt
fb90bebcab
example for .options interp (reduces memory, speeds up plotting)
12 years ago
h_vogt
5ed51c2668
example input file as cited in manual
14 years ago
h_vogt
177964b4a6
XSPICE example: delta-sigma converter
14 years ago
h_vogt
5d0c3182d3
add BSIM3 model parameters for loop filer with transistor charge pump
14 years ago
dwarning
96dd397251
correct the plot output
14 years ago