Commit Graph

687 Commits

Author SHA1 Message Date
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
stefan schippers f53bc2c6b7 second round of additions to improve auto_hilight_graph_nodes 2024-03-25 22:28:29 +01:00
stefan schippers aa6182c65f initial support for auto_hilight_graph_nodes 2024-03-25 11:39:57 +01:00
stefan schippers 04409cc315 simplified ps_embedded_image(), avoid recoding jpeg if possible (no invert), error checks in edit_image() and get_surface_from_b64data() 2024-03-18 01:08:51 +01:00
stefan schippers bef157aacf More return codes when something goes wrong, like loading failure of a file given on cmdline 2024-03-15 11:56:35 +01:00
stefan schippers 65ba2e1cc4 svg_draw(): if xschem started with -x but cairo is available use a temporary X connection (if X available) to create a cairo context so we get more precise font metricx for text bbox calculations 2024-03-12 02:36:32 +01: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 1ae2d397ed added intuitive_interface_cheatsheet.sch 2024-03-10 13:32:30 +01:00
stefan schippers 2505ffe594 title symbol logo updates 2024-03-09 05:39:38 +01:00
stefan schippers 336a132219 update inst_sch_select.sch, fix constrained move reset in intuitive_interface 2024-03-08 00:48:05 +01:00
stefan schippers 93722e8a21 comment typo, add one more example in inst_sch_select.sch 2024-03-08 00:08:48 +01:00
stefan schippers cf002964f3 fix wrong unselection of text objects after changing text layer (delete_only_rect_line_arc_poly() erroneously setting xctx->lastsel to 0) 2024-03-07 23:38:00 +01:00
stefan schippers 1185d7df79 fix destroyed symbol 2024-03-05 00:24:35 +01:00
stefan schippers f1bb389986 fix make_sym.awk: if an existing symbol is present with empty (or white space) attributes do not preserve these, force new default attributes (name=... template=... format=...) 2024-03-05 00:19:07 +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 354f027b9b call translate(-1, ..) for text objects containing @... and referencing no valid instance (floater=true) so non instance-related @vars are resolved. translate(): resolve @spice_get_voltage(net) without trying to calculated fqnet from net if no valid inst (-1) is given 2024-02-26 16:05:11 +01:00
stefan schippers 7d93b7abac added missing xschem_library/inst_sch_select/comp3* files 2024-01-22 15:33:50 +01:00
stefan schippers 17e24e0f5f has_included_subcircuit(): correctly handle bussed ports in symbol and spice .subckt file 2024-01-14 11:28:51 +01:00
stefan schippers ac04ce5c55 set tab/window title if xschem invoked with `xschem -n file.sch`. fix poweramp.sch testbench for Xyce sim. 2024-01-11 08:19:25 +01:00
stefan schippers 6c163d5cb0 has_included_subcircuit(): get symname from `schematic` attribute if set in instance or symbol, or use actual symbol name, add tb_symbol_include.sch example circuit 2024-01-08 17:19:12 +01:00
stefan schippers d2c6566030 when doing spice netlist, if a symbol has the spice_sym_def attribute set and is using @pinlist in format string for port order, get the port order from the subckt given in spice_sym_def, either directly or through a .include line 2024-01-08 03:24:59 +01:00
stefan schippers f0e739cf02 .load.l.paneright.list better positioning (remember last selection), print_spice_subckt_nodes(): use my_mstrcat() instead of fprintf, for future enhancements 2024-01-06 12:14:36 +01:00
stefan schippers dcef3d4b9d waves_callback(): do not set GRAPHPAN when setting cursor position numerically 2024-01-05 11:21:34 +01:00
Stefan Schippers cd6deb0bf9 xschem raw_read: allow specifying t1 and t2 to load only a portion of simulation file 2023-12-31 20:33:08 +01:00
stefan schippers 64ca25b9fe proc netlist: do not attempt to change a button color if xschem started with -x (no X) 2023-12-28 23:28:18 +01:00
stefan schippers f03a4ff68c update pv_ngspice.sch 2023-12-27 11:32:26 +01:00
stefan schippers 13b9221a96 update jpeg quality factor for rom8k graphs 2023-12-12 02:23:59 +01:00
stefan schippers b95289ca5e better line width calculation / restore in export images 2023-12-11 16:06:49 +01:00
stefan schippers 4cb060f817 better placement of graphs in image exports. If something is selected export image will export selection. Add ability to specify area to print in ps/pdf export (set media size to bbox) 2023-12-11 15:18:46 +01:00
stefan schippers 39769187d3 add `xschem set cursor[12]_x` commands for moving graph cursors 2023-12-10 00:28:44 +01:00
stefan schippers d64f4a3fc2 do not `xschem unhilight_all` in mos_power_ampli->hi_current launcher 2023-12-09 23:57:15 +01:00
stefan schippers c8ced06bbe add `fast` option in xschem hilight_instname. mos_power_ampli: use hilight to show devices with high current 2023-12-09 11:39:04 +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 7761fcca4d renamed comp_65nm*.* in inst_sch_select to comp3*.* to avoid name collisions with other (ngspice) directories 2023-12-02 01:48:11 +01:00
stefan schippers a53ddf22d8 changed appearance of pv_ngspice.sym 2023-11-28 01:16:09 +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 28bf3b57cf rename some myload_* stuff to file_dialog_* 2023-11-27 15:08:15 +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 c4e9310d45 allow to load raw files even if netlist type set to `symbol`. Better to_eng function, `xschem raw_query value node {}` returns value at cursor b position 2023-11-26 12:54:37 +01:00
stefan schippers 1dfca8e256 add file_dialog default_geometry variable to set file / component selector initial size. Better panes width allocation and stretching 2023-11-25 23:44:09 +01:00
stefan schippers d71122bb68 update pv_ngspice.sch 2023-11-24 18:22:10 +01:00
stefan schippers 8d155af82f `Alt-e` does a true descend sub-schematic and opens it in another window 2023-11-20 17:53:28 +01:00
stefan schippers 2c773c4a25 poweramp.sch and mos_power_ampli.sch updates 2023-11-19 12:52:57 +01:00
stefan schippers 397293f227 spice netlist: use symbol for port list of top level schematic only if it is of type subcircuit 2023-11-16 23:37:16 +01:00
stefan schippers a50bfb3622 when doing spice netlisting if top level has a symbol (and the symbol has i/o ports) use the symbol for printing the top level subckt port list. This ensures same port ordering when netlisting a testbench containing a component and netlisting the component itself. Tab context menu: open Symbol / open Schematic will use the search_schematic setting and search counterpart accordingly. 2023-11-16 01:26:55 +01:00
stefan schippers be914f4ee4 raw_read(): clear text floater caches if a rawfile is successfully read 2023-11-15 21:04:10 +01:00
stefan schippers 83345932a5 allow to specify per-node raw file in graphs with the syntax: alias_name ; node_name % [dataset] [rawfile] [sim_type] 2023-11-15 19:18:28 +01:00
stefan schippers e2dc93c8b0 more schematic netlist tests in xschemtest.tcl 2023-11-13 23:46:13 +01:00
stefan schippers f4df48813f copy_hierarchy_data() initial implementation for future hierarchy cloning. Alt-Shift-E and Alt-Shift-I to edit schematic / symbol in a new xschem process. `xschem raw switch`: allow also integer index (as returned by `xschem raw info`) instead of `file type` to switch raw file 2023-11-13 18:00:30 +01:00
stefan schippers 0df3cfcc7b better recognize global nets in LCC schematics (translate(), @spice_get_voltage(..) ) 2023-11-12 13:43:31 +01:00
stefan schippers b63a70090a doc updates 2023-11-12 13:08:51 +01:00
stefan schippers 4426c41ef3 revert test changes on delta_sigma.sch 2023-11-12 13:02:30 +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 6bace90b41 revert test changes on cmos_example.sch 2023-11-11 00:09:05 +01:00
stefan schippers bdd641cad3 allow tcleval(xxxx) in % dataset specification on graph nodes 2023-11-11 00:03:22 +01:00
stefan schippers 769c7d4663 Add incremental_select tcl variable. It is normally set. If set show selected objects while dragging a selection rectangle. If unset show selection at end of drag operation. Fix possible endless loop whiel zooming on X axis if raw file has only one point (OP). Also if graph specifies custom plot switch to that raw file to get correct x range. 2023-11-09 16:41:53 +01:00
stefan schippers 1d59571e52 revert poweramp.sch changes for testing 2023-11-07 15:02:04 +01:00
stefan schippers 366fa86d57 do not sel tctc::*_simulation_id var if no process was started due to errors /missing command 2023-11-07 12:44:56 +01:00
stefan schippers 089592122d fix mis-interpretation of % as a dataset designator when present in wave alias names 2023-11-07 01:05:45 +01:00
stefan schippers 215412646a revert debug change in solar_panel.sch 2023-11-07 00:44:17 +01:00