Commit Graph

2810 Commits

Author SHA1 Message Date
stefan schippers e8e4196da2 sym_vs_sch_pins(): check for not NULL pin_dir to avoid crash, as per Tim Edwards findings 2024-07-03 08:39:56 +02:00
StefanSchippers 978739b1e5
Merge pull request #223 from matthschw/master
fix typos in html doc
2024-06-27 21:27:06 +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 079c643be0 add graph_autoload to tctx::global_list 2024-06-23 16:06:13 +02:00
stefan schippers 89eb02f188 add autoload checkbutton in graph properties to automatically load or not custom graph-specified raw files 2024-06-23 15:59:22 +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 64d5472963 allow `global` atttributes on instances of gnd.sym and vdd.sym to override symbol `global` setting. This allows also to set global=1 to net labels (lab_net.sym, lab_pin.sym) to make the net global. 2024-06-23 11:02:25 +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 e122a9764e ps/pdf export: use highlight colors on instances / wires that are highlighted 2024-06-21 14:19:11 +02:00
stefan schippers 0e6cd109c1 documentation for attribute text_layer_n=lay 2024-06-21 13:21:32 +02:00
stefan schippers d42ecf96c5 add attribute text_layer_n=lay, where n = text object inside symbol instance to change its layer 2024-06-21 13:18:52 +02:00
stefan schippers 4e236750ed add abs_path parameter to get_sym_name() for more flexibility 2024-06-21 11:33:28 +02:00
stefan schippers 5ce1f01f43 correctly evaluate tcleval(....) in spice_sym_def attributes (ie after substituting @vars) 2024-06-21 01:41:42 +02:00
stefan schippers 36c79f262c add @symref (in addition to @symname) substitution in spice_sym_def processing 2024-06-21 01:03:08 +02:00
stefan schippers fa4d4a0970 enhance spice_sym_def used in instances (with schematic=...) by substituting @param with values defined in instance if any (param=xxx) 2024-06-14 08:55:35 +02:00
stefan schippers f267077e99 allow @symname , @param (param defined in symbol template string) translation in instance or symbol spice_sym_def attributes 2024-06-14 08:21:43 +02:00
stefan schippers d7c77718c0 fix erroneous select_touch() usage if incremental_select is set to 0 in xschemrc 2024-06-12 09:12:33 +02:00
stefan schippers a0ff15b5ed doc updates (dataset specification in graphs.html) 2024-06-11 15:14:41 +02:00
stefan schippers efdb6b64ce removed previously added use_pwd_instead_of_current_dirname tcl variable: now a `.` in search path is always assumed to be [pwd] and not the directory of the currently opened schematic. This will hopefully fix an endless list of user complains when using symbols from dirs not listed in XSCHEM_LIBRARY_PATH. 2024-06-11 00:24:30 +02:00
stefan schippers 5e93182f26 add use_pwd_instead_of_current_dirname xschemrc variable to replace curr_dirname in `proc abs_sym_path` and `proc rel_sym_path` with [pwd] instead of [xschem get current_dirname] (the path of currently loaded schematic) 2024-06-10 18:19:58 +02:00
stefan schippers 9545eea546 fix tcleval called with 2 arguments on windows build in print_image() 2024-06-09 23:38:20 +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 9f368d32e5 sim_pinnumber attribute on schematic pins will be used for top level .subckt pin ordering if no corresponding symbol exists when creating a spice netlist 2024-05-31 09:07:56 +02:00
stefan schippers 5969b0f472 proc ev, ev0, to_eng: evaluate expr at global scope so global vars will be expanded correctly ($path) 2024-05-29 09:41:52 +02:00
stefan schippers 973d01f3bb update Changelog to 3.4.5 2024-05-28 16:46:26 +02:00
stefan schippers 18a0c5e624 Use by default *.{sym,tcl} pattern in insert symbol and component browser 2024-05-28 14:32:20 +02:00
stefan schippers 087aa8c3b9 if a full path is given with -N set netlist file name as well as destination path; allow right click waveforms to set to bold even if cursors are drawn 2024-05-27 08:03:52 +02:00
stefan schippers 84b73bcdf4 `xschem setprop rect layer number fill val` : update cacted .fill value 2024-05-25 10:39:47 +02:00
stefan schippers 2060ca8871 update all text_bbox() calls to account for tabs in bbox calculation 2024-05-24 18:05:37 +02:00
stefan schippers d04162b31e use $tabstop setting in tk text widgets 2024-05-23 01:36:24 +02:00
stefan schippers 17bf6f3efb handle TABs in draw_string() (also ps and svg draw_string()), tcl var tabstop (default = 8) sets the tab positions. 2024-05-23 00:57:45 +02:00
stefan schippers 747652ffe1 xschem swap_cursors does not redraw. Use xschem redraw for that 2024-05-22 00:13:25 +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 65b9c1b04b added command `xschem cursor 1|0 1|0` to enable or disable cursors via cmdline 2024-05-22 00:05:41 +02:00
stefan schippers 7cd7d16f6a add command `xschem swap_cursors` 2024-05-21 23:46:00 +02:00
stefan schippers 8067f58b43 uniquify /tmp/xschem_web (--> /tmp/xschem_web_xxxxxx), also handle like /tmp/xschem_undo_xxxxx, create on startup and remove on exit. 2024-05-20 19:00:33 +02:00
stefan schippers 9abc57cf8b update out of date doc image 2024-05-18 22:55:44 +02:00
stefan schippers 76fe0d3ef3 tests/netlisting.tcl: better error checking. Distinguish a general failure from an ERC netlist error (xschem return code 10) 2024-05-17 00:48:47 +02:00
stefan schippers 35cac9bf22 netlist errors (if xschemrun from cmdline) return exit code 10 2024-05-17 00:20:27 +02:00
stefan schippers 7b8acd97da do not allow wrap variable to be set in draw_graph() and graph_fullyzoom() if viewing multiple OP simulations converted to DC (allow_wrap) 2024-05-14 11:54:10 +02:00
stefan schippers 5a32a77fd3 fix regression (xschem load_new_window was not working anymore with web urls) 2024-05-12 23:52:05 +02:00
stefan schippers 6db52b125c fix missing type for sym_vs_sch_pins(all) 2024-05-10 08:06:39 +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 5e5dc5c3e5 translate(): return @spice_get_* tokens in engineerring notation if no tcleval(...) is used (no further expr processing) 2024-05-04 09:02:34 +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 02e0705bf4 little adjust default layer 11 color (green) 2024-05-02 17:44:56 +02:00
stefan schippers c544c5bd6e xinit.c: test for tcl_interactive existence before testing value 2024-05-02 17:33:43 +02:00