Commit Graph

1569 Commits

Author SHA1 Message Date
stefan schippers c81bde3ba5 doc updates (indicate xterm and vim as default editors) 2023-01-02 03:13:26 +01:00
stefan schippers 19757ddd8a add menu properties -> Edit header/License text, to allow inserting header or license metadata into the sch/sym file. 2023-01-02 03:04:35 +01:00
stefan schippers cee4d218e2 use "configure -cursor {}" instead of "configure -cursor arrow" to switch back mouse cursor to default when exiting graph 2022-12-31 10:22:41 +01:00
stefan schippers aa70d90c46 fix cairo font reference counting 2022-12-25 23:13:59 +01:00
stefan schippers 75fbb76543 optimization: split cairo font creation into create + set 2022-12-25 10:42:07 +01:00
stefan schippers 383dc03696 doc updates (dev info) 2022-12-21 23:07:30 +01:00
stefan schippers 081e16d7d9 doc updates (schematic symbol attribute) 2022-12-20 12:32:15 +01:00
stefan schippers 1f76b297db allow schematic="tcleval([tcl_proc @symname])" for runtime schematic selection when descending into a symbol. tcl_proc might return a schematic candidate associated to @symname depending on some user setting 2022-12-20 02:21:48 +01:00
stefan schippers 745a8f25eb revert comp symbol attrs 2022-12-20 01:04:15 +01:00
stefan schippers 9fa05afad9 fix a bug when loading multiple AC sim datasets (wrong nvars calculation, has to be doubled due to Im/Re complex components) 2022-12-20 01:01:58 +01:00
stefan schippers 2cb58c5c5c added generators/ dir, removed redundant variable in load_schematic() 2022-12-19 23:05:09 +01:00
stefan schippers 1a76f89464 added xschem_library/generators directory for future schematic/symbol generator scripts. Handle empty XSCHEM_LIBRARY_PATH (use [pwd]). 2022-12-18 13:03:38 +01:00
stefan schippers 9c3a506ed5 typo fix in documenttion 2022-12-13 17:08:09 +01:00
stefan schippers e01f545567 --diff option to visually compare two different (versions of) schematics 2022-12-13 13:51:33 +01:00
stefan schippers 5a8e0c9ba2 for hierarchy cellname listing use nolist_libs for exclucing patterns, instead of xschem_libs, which is used for netlisting 2022-12-10 01:15:18 +01:00
stefan schippers 3d5bb6d64a add command "Simulation->Changelog from current hierarchy" that lists schematics from current hierarchy , sorted by modification time 2022-12-10 00:28:59 +01:00
stefan schippers 919cf3b870 more flexible "execute" procedure to handle bidirectional communication with subprocesses 2022-12-09 00:02:34 +01:00
stefan schippers 7629e8e406 fixed xcb detection (but disabled for now) 2022-12-08 14:19:02 +01:00
stefan schippers 888ff17305 for now #undef HAS_XCB until I figure out to make configure detect and work 2022-12-08 13:46:45 +01:00
stefan schippers e54c604087 better recognize unknown commands in scheduler.c, re-enabed XCB detection in scconfig (although not used). 2022-12-07 11:32:40 +01:00
stefan schippers b23988ccdf added commented lines for antialiasing; JL:cairo_set_line_width should only be called with has_x as xctx->cairo_ctx and xctx->cairo_save_ctx is NULL when run with -x; JL:XCopyArea must be called to draw correctly with Cairo on Windows 2022-12-02 16:43:01 +01:00
stefan schippers f18ed49f6f adjust dash line threshold for graphs 2022-12-02 00:13:54 +01:00
stefan schippers babc6d7e82 huge graphic speed improvement for dashed lines (graph grid) on some GPUs 2022-12-01 16:30:02 +01:00
stefan schippers fabace7505 cosmetic code formatting 2022-12-01 14:57:48 +01:00
stefan schippers 7ae10bd7da add macro DRAW_ALL_CAIRO: if set to 1 graphics primitives will use cairo instead of Xlib. Currently work in progress, as of now only the grid and the final XCopyArea done in draw() will use Cairo if macro is set 2022-11-30 00:59:45 +01:00
stefan schippers 4b05d996e5 doc updates (lvs_format netlisting attribute) 2022-11-25 10:52:58 +01:00
stefan schippers 0e532e357d doc updates (install xschem with different/old tcl-tk libs installed in non standard places) 2022-11-25 01:39:00 +01:00
schippes 9244b33495 When setting Simulation->LVS netlist, use "lvs_format" attribute for netlisting if this attribute is existing, otherwise keep using "format" 2022-11-24 19:32:16 +01:00
stefan schippers 609033e7ca fix regression (not allowing to change text size) 2022-11-23 16:57:21 +01:00
Stefan Schippers e7851d01db "xschem set format <fmt_attribute>" will change netlisting format attribute instead of default "format" (or verilog_format or vhdl_format), however fallback to default netlisting rule attribute if not defined in symbol. add tcl function "from_eng <n>" to convert spice formatted numbers to floating point 2022-11-23 16:16:38 +01:00
stefan schippers 01df7876d7 update documentation for verilogprefix attr. 2022-11-22 18:09:43 +01:00
Stefan Schippers 1a01114af4 use verilogprefix also when expanding symbol schematics in verilog 2022-11-22 17:13:45 +01:00
schippes 0d2738254a added verilogprefix symbol attribute: will be prefixed to symbol name references in verilog netlists 2022-11-22 16:30:59 +01:00
stefan schippers 9c31682517 test and get reading schematics from the web on Windows working 2022-11-18 16:06:06 +01:00
Stefan Frederik 4d3ede661a cleanup $XSCHEM_TMP_DIR/xschem_web cache on startup 2022-11-15 17:56:56 +01:00
Stefan Frederik e27eea8233 added comments and a fix in descend_symbol() 2022-11-15 15:08:11 +01:00
Stefan Frederik a7066600b4 use tmp subdirectory: better string matching 2022-11-15 13:21:16 +01:00
Stefan Frederik 8f6aaa0ec2 use tmp subdirectory to group web schematics 2022-11-15 12:59:52 +01:00
Stefan Frederik c9380bd8f0 use local name (/tmp/xxx.sch) when displaying schematic name in title, indtead of full url (too long) 2022-11-15 10:25:19 +01:00
Stefan Frederik ea50037b10 update xschem comments (url download) 2022-11-15 02:35:25 +01:00
Stefan Frederik b2f159706c if loading a new schematic (currsch==0) reset current_dirname 2022-11-15 02:10:18 +01:00
Stefan Frederik 6cd9d76f90 initial implementation of fetch schematics from web 2022-11-15 01:17:33 +01:00
Stefan Frederik 349bebda20 more on recognizing web urls 2022-11-13 10:59:36 +01:00
Stefan Frederik 94247770ce when placing symbols user can also type file name (with full path also) inside File/search box instead of clicking in the list box. web URLs will be returned as they are with no further interpretation 2022-11-12 12:16:21 +01:00
Stefan Frederik ca8ffafe8a code refactoring (update_conn_cues()) 2022-11-07 14:23:57 +01:00
Stefan Frederik 8f055ebb5f only_probes: dim toward light grey if light colorscheme is in use 2022-11-07 14:03:27 +01:00
Stefan Frederik faaa79d35a dim schematic to grey if showing only probes, instead of hiding it completely 2022-11-07 13:34:48 +01:00
Stefan Frederik 3d49ca63c9 avoid tcleval() of strings returned by translate2(), show currents of resistors and diodes when annotating. 2022-11-04 13:35:06 +01:00
Stefan Frederik b98d836be3 devices/simulator_commands.sym: avoid recursive @param substitution in spice commands 2022-11-03 11:00:15 +01:00
Stefan Frederik b36cd99e01 update simulator_commands.sym (missing close parenthesis at end, not causing any problem though) 2022-11-02 23:11:23 +01:00