Commit Graph

163 Commits

Author SHA1 Message Date
stefan schippers 17b09bc203 add pin net_name attributes to some devices/ symbols 2025-01-19 13:00:43 +01:00
stefan schippers c41a8c28c0 add devices/stop.sym 2025-01-18 22:19:35 +01:00
stefan schippers c96d5be7cd update bsource.sym (show m=@m) 2025-01-18 15:01:24 +01:00
stefan schippers ac8db614c0 infix_interface xschemrc variable (default=1) can be set to 0 to disable infix (need to click a point after bindkey); disable warnings from graphs with autoload=1 if no raw file or matching analysis found; add m parameter (multiplicity) to bsource.sym, cmos_example.sch; remove dependency on external model file, use ngspice provided mos model 8 bsim3 models. 2025-01-17 17:15:48 +01:00
stefan schippers aa36cbb897 @path expansion in translate(): remove path components above the level where raw file (if any) was loaded; added @spice_get_current in bsource.sym 2025-01-09 15:35:35 +01:00
stefan schippers 6682965dba make @spice_get_current work for pnp and npn symbols 2024-12-21 00:49:44 +01:00
stefan schippers 954d10eb25 better position of Id annotator in nmos4 and pmos4 symbols (close to drain terminal) 2024-12-20 23:44:40 +01:00
stefan schippers c6e63005ba remove hide=instance from [np]mos annotated current text 2024-12-20 23:20:25 +01:00
stefan schippers b892ad8ac7 Make @spice_get_current report Id (drain current) for mos devices (defined as plain mosfets in model (ngspice syntax), may be to extend for Xyce) 2024-12-20 22:25:19 +01:00
stefan schippers 3a405bbce3 bus_tap.sym: show annotated voltage (remove hidden text attribute) 2024-12-13 14:37:35 +01:00
stefan schippers 963e877497 Allow wave expressions with spaces on a single line without quotes ("...."). Quotes can be used for wave expression on multiple lines. Side effect: multiple nodes can no more be specified on a single line separated with spaces. Use newlines 2024-12-05 02:54:08 +01:00
stefan schippers 20359ed43e update license info. Remove unneeded newline saving in version line of .sch/.sym files, remove c89 flag based on lib versions 2024-11-12 20:23:18 +01:00
stefan schippers 7b82abe017 add (tentative) ic.sym for setting initial condition on nets 2024-10-25 17:53:08 +02:00
stefan schippers 754908835b add current annotators in cccs and vccs symbols 2024-10-25 15:20:53 +02:00
stefan schippers 8de9004468 added operator "cph()" to transform discontinuous phase ph(xxx) in AC analyses to aontinuous phase, like ngspice cph() function. Usage: instead of ph(out) use "ph(out) cph()" 2024-10-16 17:02:36 +02:00
stefan schippers 7ace392d23 switch_ngspice.sym: add "device_model" attribute in template string, so a template model is given when placing the symbol 2024-10-03 18:34:40 +02:00
stefan schippers 107d370b57 changed current annotator texts in symbols to layer 17 (green-cyan) instead of blue 2024-09-07 08:46:15 +02:00
stefan schippers 26d8dbf644 update simulator_commands.sym and simulator_commands_shown.sym to handle wrong simulator names (no `?` in netlist) 2024-07-13 10:38:32 +02:00
stefan schippers d14bc13df5 move all @spice_get_current texts in devices/ symbols to layer 12 (blue), to better distinguish from voltage annotators on layer 15 (pink) 2024-06-21 23:22:50 +02:00
stefan schippers 60c5230727 resolved_net(): resolve nets passed to symbols via attributes, avoid using dtoa_eng() in returned spice voltages, use dtoa(), since it may be used further in tcl expressions. 2024-05-03 15:00:51 +02:00
stefan schippers 7d181e43a1 spice_get_voltage attributes: assume "0" and "GND" equal to 0.0V (not saved by simulator), added vgs and vds showing in nmos4.sym and pmos4.sym if show/hide->show hidden texts enabled 2024-05-03 12:10:37 +02:00
stefan schippers 9c750b5044 add @#pin:spice_get_voltage attribute for pin texts that displays voltage of net attached to pin. remove net_name=... attributes from symbols and instance global attributes since it is no more used. set default value for show_pin_net_names to 1. 2024-05-02 10:32:12 +02:00
stefan schippers 13a7e9ebcc added spice_ignore=0 template to ammeter device 2024-04-25 10:57:06 +02:00
stefan schippers 3c58cf131e update intuitive_interface_cheatsheet.sch 2024-03-11 16:25:14 +01:00
stefan schippers 03ad183d4c update intuitive_interface_cheatsheet.sch 2024-03-11 16:04:07 +01:00
stefan schippers 5792679daf fix missing initialization of .bus element when pasting lines, updated intuitive_interface_cheatsheet.sch 2024-03-11 15:16:26 +01:00
stefan schippers 8ffe8f1bbe additions to intuitive_interface_cheatsheet.sch 2024-03-11 12:44:11 +01:00
stefan schippers 961a5269b3 additions to intuitive_interface_cheatsheet.sch 2024-03-11 12:17:29 +01:00
stefan schippers ed5601d560 updates in interface cheatsheet 2024-03-11 09:28:35 +01:00
stefan schippers f69debac09 intuitive_interface_cheatsheet.sch /svg update 2024-03-11 01:52:34 +01:00
stefan schippers 05c6f4770b cleanup the use of set_netlist_dir(), never use simuldir directly, updated intuitive_interface_cheatsheet 2024-03-10 23:50:38 +01:00
stefan schippers bf547c5960 fix minor errors in interface cheatsheet 2024-03-10 15:45:43 +01:00
stefan schippers 4ca9e752e5 better symbol for intuitive_interface cheatsheet 2024-03-10 15:32:59 +01:00
stefan schippers ab2748b385 changed (hopefully final) intuitive_interface_cheatsheet.sch 2024-03-10 15:17:23 +01:00
stefan schippers 762c21aa36 changed intuitive_interface_cheatsheet.sch 2024-03-10 15:08:16 +01:00
stefan schippers 1624f07967 changed intuitive_interface_cheatsheet.sch 2024-03-10 14:14:56 +01:00
stefan schippers 10038b31a5 added intuitive_interface_cheatsheet to devices/ 2024-03-10 14:04:17 +01:00
stefan schippers 2505ffe594 title symbol logo updates 2024-03-09 05:39:38 +01:00
stefan schippers 2b123fbdfb update docs for polygon editing (point drag, add/delete points), xschem logo update 2024-03-02 11:48:52 +01:00
stefan schippers 1e9d189ad4 rotated short.sym, so it matches pin positions with most other 2-terminal devices 2023-12-08 00:45:30 +01:00
stefan schippers 926cc26b74 updated poweramp.sch and ngspice_get_expr.sym 2023-12-04 00:19:50 +01:00
stefan schippers bf3b601aad improvements to ngspice_analog_delay.sym 2023-11-27 22:46:48 +01:00
stefan schippers 5ee0f96af3 add devices/ngspice_analog_delay.sym 2023-11-27 17:49:36 +01:00
stefan schippers fdc3ceefeb vsource.sym and ammeter.sym no more use tcleval() to handle @savecurrent attribute (calling tcleval() is overkill for such a trivial task and may expose to side effects if $ (and other) characters are used ) 2023-11-27 12:13:53 +01:00
stefan schippers 26fbb82f6b fix unwanted head_undo_ptr change when doing a netlist. Add current backannotation info in capa.sym, ind.sym, isource.sym, isource_table.sym 2023-11-27 00:01:45 +01:00
stefan schippers ecca0ba2be better swap_windows() function (used when closing a window in multi-window(non-tabbed) interface, resolved_net() recognize global nodes. remove static data from record_global_node(), put in xctx. Remove dead code from translate() (@spice_get_voltage) 2023-11-12 13:01:11 +01:00
Stefan Schippers 8c29d0e812 fix error in capa-2.sym and missing check for null xctx->inst[].instname in get_pin_attr() 2023-11-11 20:03:20 +01:00
stefan schippers b680f5da20 redraw screen if executing `xschem raw_read` (and raw file already loaded, thus unloading waves) 2023-10-29 12:54:55 +01:00
stefan schippers 94bccc08d9 do not duplicate empty strings as NULLs in hash tables 2023-10-09 12:49:11 +02:00
stefan schippers 9fee9610ab vsource.sym and ammeter.sym: add "savecurrent=1|0|true|false" attribute do decide if a .save I(...) is to be printed in netlist. default is 1 for ammeter.sym and 0 for vsource.sym. Add "deltax deltay rot flip" optional parameters for xschem "copy_objects" command to make copy operation scriptable (lot more efficient than using clipboard) 2023-10-02 12:11:05 +02:00