Commit Graph

  • 35968d1da6 Add additional examples of Verilog co-simulation and share the Verilog source and large parts of the example circuits between Verilator and Icarus Verilog. Verilog source file adc.v has improved style: all assignments in the always block are now non-blocking. Giles Atkinson 2024-06-10 11:40:37 +0100
  • 64a9a0bfbc Add a utility function to the d_cosim code model to open dynamic libraries. It automatically tries adding standard file extensions, so that model lines for d_cosim can be the same for all OSs. Giles Atkinson 2024-06-06 13:59:16 +0100
  • ce1ecca15e Add support for including Verilog simulation within an instance of the d_cosim codemodel, using libvvp, the simulation runtime of Icarus Verilog. This complements the existing method using Verilator. The new source code is built into two binary shared libraries, ivlng.so (or .DLL) and ivlng.vpi that are loaded during simulation. Giles Atkinson 2024-06-10 11:09:49 +0100
  • 693a9df09f Add support for Verilator's --timing option, allowing use of delays in Verilog source code. Also add two parameters to d_cosim: sim_args is used to pass string arguments to a Verilator simulation; and lib_args is for future use. In vlnggen, also check for two causes of failure: a verilator error may lead to creation of interfering header files; and misleading instances of verilated_shim.cpp can cause an obscure failure (reported by Diarmuid Collins). Use a generic name for the generated DLL in MSVC.CMD. Giles Atkinson 2024-05-03 11:08:35 +0100
  • 4173d0e220 Allow trailing null connections to be omitted from XSPICE device lines. Also tidy some code, Giles Atkinson 2024-04-29 20:47:57 +0100
  • 98076281c6 Changes to d_cosim to work with initial support for Icarus Verilog. Fully resolve symbols on loading and tolerate attempts to set output in the past. Giles Atkinson 2024-01-18 11:40:35 +0000
  • 9c5507d1c8 vbic: have to load Vrxf/Itxf with value dwarning 2024-07-23 14:34:32 +0200
  • 14402ea911 vbic: correct op reporting for excess phase model dwarning 2024-07-23 10:50:19 +0200
  • 8c6fb7c5e0 format: rm misleading indentation dwarning 2024-07-20 16:09:39 +0200
  • 295be20859 Remove sourceinfo upon shared ngspice reset. Remove memory leaks. Holger Vogt 2024-07-20 17:54:43 +0200
  • a2ca4616b9 Memcpy only when p_word is not NULL enable -fsanitize=address Holger Vogt 2024-07-16 17:01:57 +0200
  • 28c501bfef Add #define RESMIN 1e-6 as a minimum resistor value Holger Vogt 2024-07-12 11:38:08 +0200
  • a6240eed87 Stop the worker thread when running Delete mutexes only after all other resets and delets. Holger Vogt 2024-06-23 17:02:03 +0200
  • 250e9afd92 Set pl_lookup_table to NULL after freeing: allow another initialization Holger Vogt 2024-06-23 17:00:24 +0200
  • fd72c3ce3e Bail out when state file is not found. Holger Vogt 2024-06-23 11:46:31 +0200
  • d0ae65accf Add function ngSpice_Reset(void) to completely reset shared ngspice, so that it may be restartet again by ngSpice_Init Holger Vogt 2024-06-23 11:46:01 +0200
  • 4f8cfbf9f9 Update copyright Holger Vogt 2024-06-23 11:44:00 +0200
  • cab4f8d3d6 File encoding is now UTF-8 Holger Vogt 2024-07-16 10:21:36 +0200
  • 099c0e65c2 misc/string.c: fix one byte ahead access in dup_string Mamoru TASAKA 2024-07-16 15:52:09 +0900
  • a8c1104cfb 43+ developing towards ngspice-44 Holger Vogt 2024-07-14 12:58:45 +0200
  • 2af390f0b1 Update copyright info Holger Vogt 2024-07-13 10:14:02 +0200
  • c73391432a Missing \ Keep tabs Holger Vogt 2024-07-12 17:03:48 +0200
  • f320ae955d More files into distribution Holger Vogt 2024-07-12 18:44:49 +0200
  • 50dc0dbfe0 Apple M2 Holger Vogt 2024-07-12 16:54:51 +0200
  • 03c4bf48d0 VBIC nqs Holger Vogt 2024-07-12 16:53:23 +0200
  • d2167e033f Update to macOS compile scripts Holger Vogt 2024-07-12 16:48:19 +0200
  • 0d5a4758b1 Options are now included automatically. Holger Vogt 2024-07-12 15:30:05 +0200
  • b84ac9ecdf Options are now included Holger Vogt 2024-07-12 15:20:19 +0200
  • 08d834841f diode: init of potential uninitialized variable dwarning 2024-07-11 11:53:09 +0200
  • 4ad7d10aef init of potential uninitialized variables dwarning 2024-07-11 11:51:11 +0200
  • bbfb3953ed repair missing parenthesis dwarning 2024-07-11 11:29:36 +0200
  • aae53f3641 complete vbic nqs effect implementation dwarning 2024-07-11 11:10:40 +0200
  • 065b1c817c more complete vbic dc/tran nqs effect dwarning 2024-07-09 15:45:49 +0200
  • 6e6e2fb203 first attempt to include NQS effect dwarning 2024-07-07 21:36:05 +0200
  • 16513beb42 Don't enable functions 'time' or 'getrusage' when OpenMP is selected Holger Vogt 2024-07-11 10:57:00 +0200
  • fcbf6d5d42 Update: except for CIDER all relevant options are included Holger 2024-07-11 02:13:15 +0200
  • 186086618c Compile scripts MINGW with options alraedy included Holger Vogt 2024-07-10 18:28:11 +0200
  • cac21eb164 compile cygwin for short make check, sveral options now included Holger Vogt 2024-07-10 17:23:53 +0200
  • 0e61039d0e Remove Holger Vogt 2024-07-10 17:22:29 +0200
  • 6b3c085037 Don't check for readline, if shared lib or Windows GUI is selected Holger Vogt 2024-07-10 17:21:38 +0200
  • cf9b889bb2 Update the Information files for ngspice-43 Holger Vogt 2024-07-09 17:36:38 +0200
  • 1fef3835c9 Fix common typo: unkown -> unknown Holger Vogt 2024-07-09 14:44:56 +0200
  • f59a68321d When compiling console debug, use debug version of KLU Holger Vogt 2024-07-08 14:41:07 +0200
  • 3c7012a826 Repair the link to the xhtml manual Thanks to Geoffrey Coram for the hint. Holger Vogt 2024-07-05 23:59:37 +0200
  • 83e8cb3715 Remove VS compiler warning Holger Vogt 2024-07-05 11:51:03 +0200
  • 62677575fa vbic: init of thermal capacitances dwarning 2024-07-02 23:40:48 +0200
  • 113275d3be vbic: save Vrth into state vector dwarning 2024-07-01 16:51:15 +0200
  • 1b56bbe297 vbic: complete reactive part into acload dwarning 2024-07-01 16:49:58 +0200
  • 8a88442004 vbic: more adding reactive part into acload dwarning 2024-07-01 14:35:44 +0200
  • 32c4f24bfe vbic: first add reactive part into acload dwarning 2024-06-30 22:19:19 +0200
  • c90da3ee38 vbic: add resistive part into acload dwarning 2024-06-30 17:47:36 +0200
  • acdd93f157 If compiling shared ngspice, don't set up a terminal. Holger Vogt 2024-06-30 14:24:09 +0200
  • 28d8301b5f Prevent crash upon buggy user input Holger Vogt 2024-06-28 15:05:28 +0200
  • 442d8554f0 Enable single terminal n devices (Verilog-A modules) Holger Vogt 2024-06-25 10:54:30 +0200
  • 727a920032 Authorship for HICUM Holger Vogt 2024-06-24 17:06:52 +0200
  • 33939d3f50 Prepare ngspice-43 Holger Vogt 2024-06-22 17:06:45 +0200
  • 14bb63490c Plug a memory leak Holger Vogt 2024-06-22 16:32:41 +0200
  • d01868b725 Cleanup gcc compiler warnings. Brian Taylor 2024-06-19 15:06:20 -0700
  • b1795dbcf2 add path or filepath (without file name) to variable sourcepath, when calling command 'source' Holger Vogt 2024-06-17 09:33:15 +0200
  • fb6820de30 Send warning message to stderr, not to stdout. Holger Vogt 2024-06-14 10:18:56 +0200
  • 11a3711d86 revert commit ea4c438 and db85dead by removing VJ and M limiting dwarning 2024-06-13 18:02:18 +0200
  • dd6089c4fc Improved warning message: hint to line causing the warning. Holger Vogt 2024-06-12 23:54:33 +0200
  • f15a92d997 Revise commit 75c2a3c621/ If the frquency difference is less than a decade, use the old frequency calculation. If start and stop frequencies are equal, use a single point only. Holger Vogt 2024-06-12 19:42:20 +0200
  • 57185286cf Skip output lines starting with 'Operating' Re-enable 'make check' with .tran ... uic Holger Vogt 2024-06-12 17:26:14 +0200
  • d61a728688 Add function check_for_nodes to check if there are enough tokens in an instance line. Holger Vogt 2024-06-09 17:35:05 +0200
  • 0362953cd4 Bail out when the instance line is not complete. Moving on does typically not make any sense. Holger Vogt 2024-06-09 17:30:52 +0200
  • e5195c10a3 Enable monotonic negative growth of abscissa values. Holger Vogt 2024-06-09 17:29:57 +0200
  • 32901f9d0c Error messages to stderr only. Holger Vogt 2024-06-09 17:29:24 +0200
  • fa5ac4a0cd When reading code models, allow only a single model pere command (as was implicitely assumed anyway). Holger Vogt 2024-06-09 17:25:30 +0200
  • 344beaad24 Add ft_spiniterror, to be set during spinit processing,as ft_stricterror will be set only later, when .spiceinit is executed. Holger Vogt 2024-06-09 17:24:26 +0200
  • 36e7835afd Remove Valgrind "potentially undefined" message. Holger Vogt 2024-06-01 15:38:59 +0200
  • 74fc096bfd Enable coupling of more than 2 inductots in a single line: K1 L1 L2 L3 L4 L5 0.99 Holger Vogt 2024-05-30 14:44:58 +0200
  • a5bf93d04d 'No OP' is the more important news, update note to the user. Holger Vogt 2024-05-29 14:15:11 +0200
  • ee39d678b7 Improve comment Holger Vogt 2024-05-29 14:14:19 +0200
  • ace47103e7 Search path for .lib and .include has been enhanced to read complete or partial paths from environmental variables. The env variable names have to start with '$' as the first character after the .inc or .lib token. Two consecutive env variables are possible. They are read each until directory separator '/' or '\\', or if none is found, until the end of the line. In this case the filename has to be included in the env variable. A .lib line may look like .lib "$ENVS1\$ENVS2/libraries\sky130_fd_pr\latest\models\sky130.lib.spice" tt Holger Vogt 2024-05-27 15:41:17 +0200
  • 252ca65f56 Add '.save nosub' to suppress storing the node vectors from inside of subcircuits. Holger Vogt 2024-05-24 17:38:30 +0200
  • 02a5cd5ea6 mos1...3: set channel thermal noise to 0 in subthreshold range for nlev=3 dwarning 2024-05-15 14:30:16 +0200
  • f44a0ede08 mos1...3: logical error-prevent garbage for nlev=3 dwarning 2024-05-14 17:45:29 +0200
  • ac5470568c diode: no need for vte recalculation, rhs not changed dwarning 2024-05-13 12:30:32 +0200
  • 621918f289 Transform nested braces {{}} into {()} also in .param statements (See TI PSPICE model for LMR33630). Holger Vogt 2024-05-18 23:08:13 +0200
  • 2f5b869979 Issue this warning only when 'set ngdebug' is given. Holger Vogt 2024-05-12 15:35:22 +0200
  • 29c4a2a151 Improve error message if malloc or realloc fails. Holger Vogt 2024-05-12 15:19:28 +0200
  • b660e75504 Save path to .include file, add it to the search paths for loading the next .include file. Holger Vogt 2024-05-08 15:42:05 +0200
  • 63a6234c92 diode: add saturation current temperature model tlev=2 dwarning 2024-05-06 11:47:12 +0200
  • 0e465068b0 Identifier 'card' may not be available or not useful when netlist is loaded via circbyline(). Holger Vogt 2024-05-06 11:21:01 +0200
  • 3f2673a2be Clear the variable before checking anew if it is to be set. Holger Vogt 2024-05-06 11:19:39 +0200
  • 69922c7d8f Now standard while compiling (no need to be added to ./configure): non-debug, osdi, xspice, readline, klu, openmp Still needs to be enabled explicitely: cider (by --enable-cider) ./compile_linux-new.sh tested with Ubuntu 24.04LTS Holger Vogt 2024-05-04 15:18:13 +0200
  • 4cc5966b6a Don't delete sourceinfo as it may lead to a crash upon 'quit'. Needs further investigation. Holger Vogt 2024-04-30 16:21:26 +0200
  • 893cd42064 Reload sourceinfo when changing the current circuit. Holger Vogt 2024-04-30 16:20:22 +0200
  • 36bc67ecbb Save the wordlist sourceinfo to the current circuit. Remove sourceinfo only upon 'quit'. Holger Vogt 2024-04-29 21:50:28 +0200
  • fc7ba6ee8f Add a fcn wl_delete to free the wordlist, but not its wl_word contents. Holger Vogt 2024-04-29 21:49:11 +0200
  • 97d9f38421 Add (enhanced) patch by Giles Atkinson Add controlled_exit() to errors when parsing functions. Add verbose error messages, including line number and name of the source file. Holger Vogt 2024-04-28 14:32:24 +0200
  • 862aa27713 Add linum_orig and linesource to commented out *include line Holger Vogt 2024-04-26 17:08:37 +0200
  • eaae4d2212 Add linenum_orig and linesource info to newly generated U device lines. Holger Vogt 2024-04-26 16:46:17 +0200
  • c796171638 Add char *lineinfo to parameters of fcn insert_new_line Holger Vogt 2024-04-26 16:45:34 +0200
  • 63d496b564 New parameter char *linesource for fcn insert_new_line Make Fcn inp_read in inpcom.c static Holger Vogt 2024-04-26 15:53:28 +0200
  • c4cbc40a3b Add file_name to fcn inp_read Add wordlist sourceinfo to store input sources path/file, internal, etc.) debug_out.txt adds line info (var. sourcelineinfo) Add sourcelineinfo to wordlist sourceinfo and to each new line. When adding lines due to compatibility handling, use existing linenum_orig and linesource. Holger Vogt 2024-04-26 11:44:34 +0200
  • 03ba8397cc Add the original line source information to the new line. Holger Vogt 2024-04-26 11:16:37 +0200
  • 2d8fe0362f Allow delay of 0, as requested by Infineon model of the 2EDNY52X Holger Vogt 2024-04-26 11:15:54 +0200
  • 89b25c5d58 Do not add line number 0, but the number of the original .probe command to linenum_orig. Holger Vogt 2024-04-26 11:13:57 +0200