880 Commits (80d22fc802557f8068d83637be905e1536e1c2a4)

Author SHA1 Message Date
Holger Vogt 80d22fc802 Prepare the bug-fix release 44.2 1 year ago
Holger Vogt 8eea1f0b41 Prepare ngspice-44 1 year ago
Holger Vogt a6ad2470f1 Add a flag compmod to struct card. 1 year ago
Holger Vogt 3ca51e47b2 Unify to type bool 1 year ago
Holger Vogt deb3cd9809 Replace all BOOLEAN, BOOL, _Bool by bool 1 year ago
Brian Taylor 6500caeba1 Now that checks on actuals and formals have been fixed for X* instances, some older PSpice libraries will not translate correctly in psa mode. This commit removes unnecessary power and ground nodes from X* instances of subcircuits where the nodes are optional. These X* instances occur within the body of another subcircuit which is being translated. MicroCap libraries that we can translate in ngspice do not have such cases. To enable the removal of the power and ground nodes, set ps_global_tmodels=1 in .spiceinit. This is not set by default since an extra pass through the circuit word list is necessary to find the subcircuits whose instances do not require power and ground node removal. Without enabling this feature, errors reporting too many parameters may be reported. 1 year ago
Giles Atkinson c30bc423ba Initial fix for Bug 710 - 1 year ago
Giles Atkinson 4feb0c3ccc Remove function cp_ccon() and related code. The function modifies 2 years ago
dwarning 3faed1647a Reorder and renovate timer functions taking into account ngspice multiprocessor capabilities 1 year ago
Holger Vogt 2b89d2a1cd Add function ngSpice_nospiceinit(void) if you don't want to read .spiceinit 1 year ago
Giles Atkinson f4c7202130 Fix gcc warnings. 2 years ago
Giles Atkinson 64a9a0bfbc Add a utility function to the d_cosim code model to open dynamic 2 years ago
Giles Atkinson 693a9df09f Add support for Verilator's --timing option, allowing use of delays 2 years ago
Holger Vogt d0ae65accf Add function ngSpice_Reset(void) to completely reset shared ngspice, 2 years ago
Holger Vogt a8c1104cfb 43+ developing towards ngspice-44 2 years ago
Holger Vogt 33939d3f50 Prepare ngspice-43 2 years ago
Holger Vogt 344beaad24 Add ft_spiniterror, to be set during spinit processing,as 2 years ago
Holger Vogt 36bc67ecbb Save the wordlist sourceinfo to the current circuit. 2 years ago
Holger Vogt fc7ba6ee8f Add a fcn wl_delete to free the wordlist, but not its wl_word contents. 2 years ago
Holger Vogt 97d9f38421 Add (enhanced) patch by Giles Atkinson 2 years ago
Holger Vogt e151b691fb Add an additional funtion parameter 'filename' to fcn inp_readall 2 years ago
Holger Vogt da3d51ce9a Add 'linesource', to contain the path/file of the origin of the line. 2 years ago
Holger Vogt 4ed1ebf874 avoid crash when compiled with lto 2 years ago
Giles Atkinson 7dd2db904c Change CMPP-related struct Mif_Parse_Value to a union 3 years ago
Giles Atkinson 0152ea92db Support use of vector defaults for XSPICE vector parameters. 3 years ago
Brian Taylor d002ba353b Fix scan_gates to consider correctly gates with an inverted output. Refactor the checks in infix_to_postfix for invalid postfix expressions. 2 years ago
Brian Taylor 0ec0c92eae Go back to before previous merge. 2 years ago
Brian Taylor 57048228e9 Add variable ps_scan_gates_optimize (default 1). If < 1, then turn off the optimizations in scan_gates. 2 years ago
Holger Vogt 8f2f0088f2 Add a new exported function ngSpice_nospinit() to set 2 years ago
Holger Vogt ee39b2600b Add a evaluation function which truly removes also the 2 years ago
Brian Taylor a70297e87a Several PSPICE 9.1 evaluation digital libraries contain timing .model statements at the global level for subckts with U* instances that reference those models. By specifying "set ps_global_tmodels=1" in .spiceinit an extra pass inside u_instances() will collect those global timing models for use in subckts. Report errors detected when ngspice parses a LOGICEXP but has not added support for operator precendence. Include a hint of how to fix those errors by inserting parentheses. This error only occurs in 10 of 585 cases in the libraries. Note that inpcompat.c has been saved as a unix filetype. 2 years ago
Holger Vogt a4ae81ec06 We are developing towards ngspice-43 2 years ago
Holger Vogt f8e77d08d0 More headers distributed 2 years ago
Holger Vogt a08f1046e4 Add KLU headers to enable their distribution 2 years ago
Holger Vogt 4671b588b6 Update comment 2 years ago
Holger Vogt 9a50f8b749 typo 2 years ago
Holger Vogt ce8f6c5017 prepare ngspice-42 2 years ago
Holger Vogt 2e56f3a063 Add short description of the new interface functions 2 years ago
Giles Atkinson 566e2938f4 Add XSPICE code model d_cosim, a generic adaptor for digital cosimulation. 2 years ago
Giles Atkinson 12fe7b90c4 Add new code model function cm_irreversible(). This may only be 2 years ago
Giles Atkinson 34e6c4abea Convert XSPICE's hybrid_index array to instance pointers. 2 years ago
Holger Vogt 3d1cbf93ee Add a predifined variable 'skywaterpdk' to speed up circuit 2 years ago
Holger Vogt b62bb20e6f Increase the allowable node name length from 24 to 256. 2 years ago
Holger Vogt 2a005292db Sparse 1.3 is the matrix solver if no option (sparse or klu) is given. 2 years ago
Holger Vogt c87df54f24 Remove unused global variable cp_dol. 2 years ago
Brian Taylor 0555c5d9c7 Make previous KLU support check more transparent. 2 years ago
Brian Taylor 295f212de8 When CIDER is detected, until KLU works with CIDER, print Error: CIDER simulation is not (yet) supported with 'option klu'. Use 'option sparse' instead. and then call controlled exit(1). 2 years ago
Pascal Kuthe f66e0bf2ac implement osdi noise support 2 years ago
Brian Taylor df28fabc42 Restore the deleted unused params to be backword compatible. Handle the case where the d_process instance has a null in vector, so that N_din is zero. This allows the model to be just a pattern generator. Add include to cmproto.h to avoid a forward ref. to an enum type. 2 years ago
Holger Vogt 19ebfb1887 Add a code model function cm_exit(const int exitcode). 2 years ago