Commit Graph

663 Commits

Author SHA1 Message Date
stefan schippers 3a405bbce3 bus_tap.sym: show annotated voltage (remove hidden text attribute) 2024-12-13 14:37:35 +01:00
stefan schippers 90611b8786 update delta_sigma.sch (single quotes around .param variables when used) 2024-12-12 22:45:30 +01:00
stefan schippers 73c44cc6dd fix greycnt.v regression (reversed bus connections) 2024-12-12 12:52:33 +01:00
stefan schippers 44909f91d6 update simulate_ff.sch (better looking 7-segment digit) 2024-12-12 01:09:42 +01:00
stefan schippers 77a4379b13 update rlc.sch 2024-12-11 15:48:33 +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 92c99c10f9 get_additional_symbols(): some sanity checks, descend_schematic() more options in set_title argument (avoid set title, avoid processing pins/nets, avoid descending into i-th xdec[3] instance, descend as a whole xdec[3:0], add `xschem get_additional_symbols what` command, allow `xschem get_sch_from_sym -1 inv.sym` to get schematic associated with symbol. hier_psprint(): avoid printing / listing duplicate schematics, improved traversal.tcl 2024-11-05 13:59:37 +01:00
stefan schippers 4befd4765c added ngspice/tb_diff_amp.sch Verilog-A example 2024-10-30 16:10:17 +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 e75bb8874f added mux21.sch and mux21.sym in logic/, testcase in testbench.sch 2024-10-13 02:07: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 6e4eb9e35f remove testcase in comp_ngspice.sch 2024-09-15 22:11:57 +02:00
stefan schippers 2ef4b88146 sym_vs_sch_pins(): do tcl substitution on symbol references found in schematic being compared with symbol 2024-09-15 22:08:39 +02:00
stefan schippers a6b084cde5 add .options savecurrents in examples/LCC_instances.sch 2024-09-09 18:25:45 +02:00
stefan schippers 8756cea4e6 ipdated examples/poweramp_lcc.sch 2024-09-09 17:59:32 +02:00
stefan schippers a065fb93cc draw node names in graphs even if specified file / analysis (graph rawfile or sim_type attributes) is not loaded 2024-09-09 13:20:02 +02:00
stefan schippers ad96e222f1 if autoload is set in graph and a filename is given (rawfile graph attr) load raw file immediately when drawing graph. Don`t wait for user to load an intiial raw file to trigger auto loading 2024-09-08 13:43:29 +02:00
stefan schippers a329b996d6 set autoload on poweramp.sch graphs 2024-09-07 08:49:19 +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 1dd3e28b32 remove memory tracking alloc IDs 2024-09-06 22:27:05 +02:00
stefan schippers fddc4650d1 graphs will autoload (if autoload checked) raw data even if no raw file is specified in graph dialog box (use current loaded raw file, usually a different analysis) 2024-09-06 16:57:13 +02:00
stefan schippers 291ba02339 save 4 vars ( node, ph(node), re(node, im(node) ) instead of 2 ( node, ph(node )for ac plots 2024-09-06 10:24:12 +02:00
stefan schippers a725838850 fix escape recognition in translate3(), so in symbol texts it is possible to write \\@name to an instance attribute to get literal @name in displayed text instead of the instance name. fix typo in tutorial_use_existing_subckt.html. some schematic updates (no more enable show_pin_net_names tcl variable) 2024-08-28 09:39:43 +02:00
stefan schippers 070d4d32ca small changes (typos) in autozero_comp.sch 2024-07-14 08:43:41 +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 9282ea670e fix bus_tap netlisting with bus pin (pin # 1) connected to unnamed net. If Tap pin (pin # 0) was already named as #net... (unnamed net ) delete and take name from bus pin and tap index 2024-05-31 11:50:02 +02:00
stefan schippers be06ed50cb if top level schematic has an associated symbol (.sym) file ensure their ports match, otherwise issue an error. if netlisting fails return non zero exit code if netlisting from command line 2024-05-09 02:10:45 +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 91fafecffb added some @#pin_name:spice_get_voltage examples on symbols, if no voltage is found return "" instead of "--UNDEF--" 2024-05-02 15:19:34 +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 3bcd73f860 add examples/test_nyquist.sch 2024-04-18 11:44:35 +02:00
stefan schippers 9c766c5260 modernization of symgen.awk, fine tuning of create_symbol.tcl 2024-04-12 01:44:48 +02:00
stefan schippers ce1d4b4bbb initial support for drawing ellipses (from rectangle boxes) 2024-04-05 01:34:54 +02:00
stefan schippers e43b99ab36 fix tb_symbol_include (commit missing files) 2024-04-03 10:47:22 +02:00
stefan schippers 1e1fc035c6 fix tb_symbol_include.sch for mixed case testing 2024-04-03 02:43:51 +02:00
stefan schippers 35dffef618 has_included_subcircuit(): extend case insensitivity also on included subckt pins vs symbol pins 2024-04-03 00:56:05 +02:00
stefan schippers bcd4e9367b has_included_subcircuit(): use lowercase symname to check with lowercase spice_sym_def included netlist to avoid case mismatches (spice is case-insesitive) 2024-04-02 23:54:40 +02:00
stefan schippers 48b1f8eb31 update LCC_instances.sch (3) 2024-04-01 04:06:11 +02:00
stefan schippers cd46bad8d2 update LCC_instances.sch (2) 2024-04-01 02:30:43 +02:00
stefan schippers d9871edb13 update LCC_instances.sch 2024-04-01 02:23:30 +02:00
Stefan Schippers cab89d03d9 revert to commit 2024-03-26 18:48:48 2024-03-30 19:20:51 +01:00
stefan schippers 27c065327e improve cursor display and move with multiple graphs with different sweep variables (2) 2024-03-30 02:20:38 +01:00
stefan schippers 27f41119d8 fourth round of additions to improve auto_hilight_graph_nodes 2024-03-26 01:21:37 +01:00
stefan schippers 34d85db77e third round of additions to improve auto_hilight_graph_nodes 2024-03-26 00:20:40 +01:00