Commit Graph

479 Commits

Author SHA1 Message Date
stefan schippers 10991e662c added `xschem symbol_base_name` command to get the base symbol a symbol defined by instance `schematic` attribute comes from; updated `celview` procedure 2025-01-15 00:44:39 +01:00
stefan schippers bca1110282 add option -nohier to `xschem netlist` command, correctly restore netlist_dir at end 2025-01-11 17:55:46 +01:00
stefan schippers 5161f3dc0a some doc updates and comments, error checks in get_sch_from_sym() 2025-01-11 14:08:23 +01:00
stefan schippers 9d54269d25 doc updates (@spice_get_node) 2025-01-11 01:34:41 +01:00
stefan schippers ef5d0e1b96 str_replace(): add parameter to specify number of substituitions (or all); replaced atof_spice() with atof_eng() in various parts related to numbers that do not come from spice netlists; fix numerical setting of cursors if log scale is set (wrong preset was shown); make wave labels in graph scale with gr->magx as X-axis labels; fix scaling roundoff issues in dtoa_eng(); add new `@spice_get_node <spice_node> ` token (where spice_node may contain @variables) in symbol texts to display indicated spice node value. Does not use TCL, thus faster and less "quoting hell" problems 2025-01-10 01:52:54 +01:00
stefan schippers e6e135049b update docs on graphs y-zoom 2025-01-08 15:31:00 +01:00
stefan schippers a3e7610d83 horizontal cursors in graphs 2025-01-07 04:20:32 +01:00
stefan schippers 783fa04eb6 `xschem save` --> save_schematic(): added `fast` argument (do not update window/tab/sim button states for speed); `xschem select instance` --> select_element(): added `nodraw` argument in addition to existing `fast` (avoid drawing selected item for speed) 2025-01-05 13:27:49 +01:00
stefan schippers fd5fec64aa make uninstall: remove empty directories (share/xschem and share/doc/xschem); make command `xschem help` work also if running in src/ directory; use XSCHEM_SHAREDIR shell variable (if defined and directory existing), else set XCSCHEM_SHAREDIR to `pwd` if started from src/ dir, else set compile set XSCHEM_SHAREDIR. xschemrc can override this XSCHEM_SHAREDIR setting. 2025-01-05 01:29:04 +01:00
stefan schippers ee0de61220 add `2` and `3` argument to set_modify (do only clear/set modified flag), save() -> save_schematic(): do not update title/tab names if saving with same name. 2025-01-04 12:24:22 +01:00
stefan schippers 09e93b5e0f fix documentation (scripts.html) 2025-01-03 11:58:36 +01:00
stefan schippers 2dfee2bfac fix documentation href 2025-01-03 11:46:17 +01:00
stefan schippers 0af6155b5b add scripts.html manual page 2025-01-03 11:43:00 +01:00
stefan schippers 2bd205427d load_schematic(): do not set xctx->time_last_modify if called with reset_undo == 0; fix persistent command mode when started from menu; update traversal procedures 2025-01-02 12:52:51 +01:00
stefan schippers 0ba037894f update keys.help 2024-12-29 21:37:17 +01:00
stefan schippers 0ffd327b85 do not do a rectangle zoom (`z` key) if no minimum area is given; added `xschem get symbols` command; added `derived_symbols` in `xschem symbols` command; added menu `simulations->Keep symbols when traversing hierarchy`; created `proc cellview` and integrated `traversal.tcl` into xschem.tcl 2024-12-29 12:38:26 +01:00
stefan schippers c4ebc92aa2 update xschem go_back command (pas integer notitle to go_back() function; simplify wrap handling vs sweep variable in draw_graph(), graph_fullyzoom(), calc_custom_data_yrange(), find_closest_wave() 2024-12-21 13:05:33 +01:00
stefan schippers d03f3b52e1 bars for hystograms use squared lines, not rounded lines, added command `xschem raw pos_at node value` to find position (in raw file) where node = value 2024-12-19 23:53:11 +01:00
stefan schippers 2d1c521dca updates to tb_diff_amp.sch (ngspice-verilog-A cosimulation), added couple video links in docs 2024-12-18 16:22:03 +01:00
stefan schippers da6532d8d8 doc updates (xschem image command) 2024-12-17 09:27:01 +01:00
stefan schippers 8fef4f0d95 updated docs (xschem-sky130 integration, xschemrc file conventions) 2024-12-15 19:55:06 +01:00
stefan schippers 2a7ee749ba xschem raw add: add optional sweep_var parameter 2024-12-09 00:00:27 +01:00
stefan schippers ebc4babdd4 add graph_use_ctrl_key variable (default 0) to force holding Control key to interact with graphs. This avoid graphs "stealing" events that are expected to work on the schematic 2024-11-29 22:52:36 +01:00
stefan schippers de9c40af65 allow file extension spec in tmpfile creation, update index.html 2024-11-13 12:04:56 +01:00
stefan schippers 658dd6160b doc index update 2024-11-13 11:18:58 +01:00
stefan schippers 4e0d7beca3 doc updates 2024-11-13 10:02:51 +01:00
stefan schippers 374e05a586 update docs: cph() continuous phase graph function 2024-10-18 02:30:47 +02:00
stefan schippers 19188ee99d update developer_info.html (xschem print command description) 2024-09-30 17:22:31 +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 1c2fb0c2d0 update install_xschem.html (xschemrc lookup at startup) 2024-08-06 07:55:36 +02:00
stefan schippers d444673b88 add `xschem log_write text` command so erc error messages are written into errfp instead of stderr by tcl 2024-07-12 07:09:32 +02:00
Matthias Schweikardt c1f4d7e5f1 fix typos in html doc 2024-06-27 15:59:42 +02:00
stefan schippers e30d51fb56 doc minor edits 2024-06-24 08:58:00 +02:00
stefan schippers 72104281a2 update xschem_man/tutorial_use_existing_subckt.html, `Completely specify a subcircuit in the format section of the symbol` 2024-06-24 08:04:08 +02:00
stefan schippers f25d3f8db5 add `global=...` attribute description on component instances in xschem manual 2024-06-23 11:27:55 +02:00
stefan schippers 0e6cd109c1 documentation for attribute text_layer_n=lay 2024-06-21 13:21:32 +02:00
stefan schippers a0ff15b5ed doc updates (dataset specification in graphs.html) 2024-06-11 15:14:41 +02:00
stefan schippers c4bf110d4e update docs on new `xschem cursor` and `xschem swap_cursors` commands 2024-05-22 00:08:15 +02:00
stefan schippers 9abc57cf8b update out of date doc image 2024-05-18 22:55:44 +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 43c7e08521 revert change `do not load XSCHEM_LIBRARY_PATH if options are given on cmdline`. if no file to load is given $XSCHEM_LIBRARY_PATH will be loaded regardless of command line switches 2024-04-30 11:08:50 +02:00
stefan schippers 62eb256159 xschem wave processor: added <, >, <=, >=, ==, != and contitional ? (3 operands) operator 2024-04-22 15:11:25 +02:00
stefan schippers 6fc89f8d0b added comments in developer_info man page 2024-04-19 23:53:36 +02:00
stefan schippers 531a19ce59 doc updates (xschem raw values with dset = -1) 2024-04-19 12:32:41 +02:00
stefan schippers 8d68beb914 added drc_check() function, that evaluates tcl scripts contained in symbol `drc` attribute. Used for checking allowed dimensions, mostly 2024-04-15 16:43:56 +02:00
stefan schippers 3d20b44ced translate3(): add eat_escapes parameter 2024-04-14 11:38:35 +02:00
stefan schippers 80e2c47b0e improve `xschem add_symbol_pin` command 2024-04-11 00:05:59 +02:00
stefan schippers 033493d0ec doc updates (cursors) 2024-04-01 00:33:09 +02:00
Stefan Schippers cab89d03d9 revert to commit 2024-03-26 18:48:48 2024-03-30 19:20:51 +01:00
stefan schippers 89f494aa85 simplify node measurements --do not use this commit -- 2024-03-30 10:43:55 +01:00
Stefan Schippers 85d7e565a3 cairo_font_scale can be changed runtime to rescale text fonts, hier_hilight_hash_lookup(() function to hilight an arbitrary hierarchic net; improved xschem list_hilights command 2024-03-24 19:34:30 +01:00
stefan schippers 61b1c0b368 add `Tools->Grab screen area` function (unix only) 2024-03-20 03:53:56 +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 d5f7c5c88c cleanups in draw_image(), added command `xschem image` for various operations on images 2024-03-17 01:32:10 +01:00
stefan schippers d30715bc2c add #ifdefs for missing libjpeg libraries to avoid link problems, remove some warnings from compilers/glib versions that tave some functions marked as -Wunused-result 2024-03-15 13:59:52 +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 6c0398a8b6 fix unintended move operation start when clicking a launcher that starts a new schematic and returning to the originating schematic containing the launcher. Added support for direct JPG image import (no JPG->PNG filters) 2024-03-14 11:09:49 +01:00
stefan schippers 19bbbe449a doc updates (developer info) 2024-03-11 18:39:07 +01:00
stefan schippers fdebbb3a6c doc typos 2024-03-11 16:49:59 +01:00
stefan schippers 034e21d78a add some details about wire placement 2024-03-11 16:45:59 +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 544592d40b scaling of intuitive cheatsheet 2024-03-11 10:02:18 +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 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 25c4d55fb7 changed intuitive_interface_cheatsheet.sch 2024-03-10 14:41:23 +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 90241d2463 Alt-x to toggle crosshair display, removed alt-x and ctrl-shift-X for compare schematic functions (seldom used) improved calculation of `delta` in drawgrid, improved search() (added missing arcs and polygon attribute searches) 2024-03-10 12:11:51 +01:00
stefan schippers 71b1b52384 fix some unwanted persistency of constrained move (now renamed to constr_mv and moved into xctx struct), not being reset at end of command 2024-03-07 17:48:41 +01:00
stefan schippers 866d519531 add 2 more tutorial videos (intuitive_interface and polygon/bezier editing) 2024-03-06 00:23:28 +01:00
stefan schippers 3094e52587 doc updates about automatic port order derivation from spice_sym_def (/tutorial_instance_based_implementation.html) 2024-03-05 22:52:37 +01:00
stefan schippers 3cdd6526c6 add xschem closest_object command, improve intuitive_interface (dont full-select already partially selected item when dragging) 2024-03-05 11:57:15 +01:00
stefan schippers 78ef3091e9 minor doc updates 2024-03-02 12:03:40 +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 783b5c7aaa added wave processor functions `re()` and `im()` to get real and imaginary part from modulus and phase (expressed in deg) 2024-02-25 23:54:39 +01:00
stefan schippers 7a45497b45 add `xschem raw del node` command 2024-02-25 12:21:13 +01:00
stefan schippers 2fae34caa1 fix idx() function in wave processor, unified `xschem raw_query` and `xschem raw` commands 2024-02-25 00:06:15 +01:00
stefan schippers 5a2891e4de add idx() function (return index of point, 0, 1, 2, ...). doc updates about new wave processor functions 2024-02-24 22:35:54 +01:00
stefan schippers bf71dbc9e7 command xschem raw new to use `start end step` instead of `start step number` 2024-02-23 21:58:41 +01:00
stefan schippers 2556cce2c2 doc updates for `xschem raw new` 2024-02-23 01:10:02 +01:00
stefan schippers be22993410 add command `xschem raw_query add <node>` to add a vector <node> with all zeros to the loaded raw file. This vector can then populated with programmatic values using z `xschem raw_query set <node> point value` loop 2024-02-22 19:59:09 +01:00
Luke Harold Miles 7c173f4c04 add xterm configuration instructions 2024-02-20 11:21:55 -08:00
stefan schippers 1336e25e68 added xschem raw_query set node n value [dset] command to change loaded raw data 2024-02-20 17:17:38 +01:00
stefan schippers 31078e45d3 doc updates (custom sweep variable setting in graphs) 2024-02-20 13:07:36 +01:00
stefan schippers b7700f6fdc doc updates (bus signals in graphs) 2024-02-20 11:22:22 +01:00
stefan schippers 66ba05fe2c add xschem list_nets command 2024-02-19 13:03:28 +01:00
stefan schippers 20add157c2 when double clcking (or hitting `q`) to edit attributes if instance has lab=... or value=... select the RHS and position insertion cursor, focus textbox. Add Shift-T bindkey for toggle *_ignore flag 2024-02-17 02:58:53 +01:00
stefan schippers b49d0bb13c minor doc edits 2024-02-16 16:56:51 +01:00
stefan schippers a176f99db5 svgdraw.c: avoid setting stroke-width to excessively small (invisible) values; print_spice_element(): in format string if @param is given and in instance atttributes param=value@tag do a round of resolution of @tag looking in instance attributes, then in parent symbol instance attributes (in case of per-instance implementation (schematic=... attr) and finally in parent symbol template string. Doc udpades 2024-02-16 16:44:33 +01:00
stefan schippers 78daaab06f added documentation about `Instance based SPICE model` and `Subcircuits with SPICE models given as parameters` in tutorial_instance_based_implementation.html 2024-02-14 10:59:40 +01:00
Luke Harold Miles ed3aff9179 add more ngspice_get_value info 2024-02-13 09:40:42 -08:00
stefan schippers af5df351a6 rename xschem setprop inst prop_ptr ... to xschem setprop inst allprops ... 2024-02-13 13:32:14 +01:00