Commit Graph

2015 Commits

Author SHA1 Message Date
stefan schippers 1fdf117a84 fix a bug regression in save_schematic when saving an existing schematic to a different filename. Xschem incorretly popped up the alert "Has been changed since opening. Save it anyway?" 2023-09-20 10:19:49 +02:00
stefan schippers 53207732b9 minor doc/man updates, typo cleanups 2023-09-19 23:59:01 +02:00
stefan schippers 4c812783ba update tutorial man page about generators(pCells) 2023-09-19 14:47:34 +02:00
stefan schippers 8d6a71b8bd place_symbol(): make it smarter when dealing with generators. add parenthesis () after file name and better handle tcleval(...) given in file selector 2023-09-19 10:04:27 +02:00
stefan schippers 0680fd97fd place_symbol(): better handle generator symbol insertions like res.tcl(@value\): @value can be resolved only after generator has emitted the symbol, but symbol generated depends on generator actual parameter. So generators must handle unresolved @params. 2023-09-19 01:42:51 +02:00
stefan schippers 75e99cae91 update tier.tcl generator to handle unresolvable parameters 2023-09-19 01:29:52 +02:00
stefan schippers fd2be4a599 update res.tcl generator to handle unresolvable parameters 2023-09-19 00:08:42 +02:00
stefan schippers 1ee4117ea9 fix typo 2023-09-18 17:18:46 +02:00
stefan schippers 7ffe70cb25 add other schematic manipulation script examples in developer_info.html 2023-09-18 17:16:03 +02:00
stefan schippers ccf2e54572 add some more schematic manipulation script examples in developer_info.html 2023-09-18 15:47:43 +02:00
stefan schippers 662d4c12e5 update xschem developer info man page 2023-09-18 14:09:58 +02:00
stefan schippers 98ffd177ce improve connect by kissing: now 3 move operations are present: 1) just move selection, 2) move adding wires to connected pins/wire endpoints, 3) move by stretching wires attached to pins/endpoints to follow moving objects 2023-09-18 13:29:49 +02:00
stefan schippers 690486c848 editprop.c->update_symbol(): recalculate bbox for dynamic symbols (floaters and generators) when attributes are changed. xschem.tcl: cleanly report errors in file mkdir instructions in case of permission issues 2023-09-18 09:39:52 +02:00
stefan schippers 306271e247 parselabel.l: Add ")" to list of forbidden characters in bus trailer: A[3:0])_xx 2023-09-17 22:54:17 +02:00
stefan schippers e5286a7f12 bus labels with trailing chars (A[15:0]_xx): fix rule conflicts in grammar parser. Add a trailer token in lexer 2023-09-17 21:17:35 +02:00
stefan schippers 898cfcc2e1 command "xschem change_elem_order" invalidate inst/wire hashes and connectivity to force consistency 2023-09-17 09:45:28 +02:00
stefan schippers 159f07e703 add "xschem rotate_in_place" command 2023-09-17 09:05:21 +02:00
stefan schippers 978d575e22 add tcl command "xschem change_elem_order n" add optional x0 and y0 coordinates as additional parameters to "xschem flip" and "xschem rotate" commands, add command "move_instance inst x y rot flip" 2023-09-17 00:13:52 +02:00
Stefan Schippers f99eb07e23 update keybinding list (missing "s" - simulation) and some minor corrections in commands.html 2023-09-16 17:18:10 +02:00
Stefan Schippers a32f3f0706 do not push undo state if clicking and switching graphs with graphdialog open, if no changes are made 2023-09-16 16:34:59 +02:00
stefan schippers bb6caaf501 update tier.tcl generator and testbench 2023-09-16 11:20:40 +02:00
stefan schippers 816608da3c add one more script example in developer_info man page 2023-09-16 10:28:27 +02:00
stefan schippers 451cc4049e add script examples in developer_info manpage 2023-09-16 09:58:59 +02:00
stefan schippers 216d2a1297 proc execute_fileevent: change exec ps syntax to work both on Linux and MacOS 2023-09-16 01:04:29 +02:00
stefan schippers 3f299589d1 remove a forgotten debug print line 2023-09-15 18:17:24 +02:00
stefan schippers cb1b8a09a6 remove mysterious -width 1 -height 1 options when creating .graphdialog toplevel window. It seems a long standing bug, and not surprisingly it shows problems on MacOS/XQuartz 2023-09-15 18:08:26 +02:00
stefan schippers ac07510513 xschem select: extend command to allow selecting rectangles, lines, polygons, arcs. returns 1 if something selected, 0 otherwise 2023-09-15 17:53:38 +02:00
stefan schippers 7d2f737c3b attach_labels_to_inst(): do not cause an error (bbox(SET) call before bbox(START)) if invoked on selected instances who have all pins already wired up 2023-09-15 15:16:36 +02:00
stefan schippers a28f9506f8 Some code cleanups in select.c, select_connected_nets() did not select labels directly attached (not by wires) to selected instances 2023-09-15 13:29:12 +02:00
stefan schippers 82f8afbb19 optimize select_dangling_nets() a bit 2023-09-15 11:01:33 +02:00
stefan schippers 4095651863 bump to version 3.4.4, updated Changelog 2023-09-14 10:03:14 +02:00
stefan schippers e0bcc302c9 "xschem connected_nets" command now works for any selected instance, not only labels/probes/pins. Argument can be 0, 1, 2 (2-->select only wire segments drectly attached to selected net/instance) 2023-09-14 09:48:12 +02:00
stefan schippers 34946c2f0a add commands "xschem get wires", "xschem getprop wire n attr", "xschem touch x1 y1 x2 y2 x0 y0", "xschem wire_coord n" 2023-09-14 08:31:01 +02:00
stefan schippers e6211ac93b command "xschem select_dangling_nets": skip ignored instances (lvs_ignore or spice_ignore), return # of selected dangling elements instead of just 1 2023-09-14 01:34:56 +02:00
stefan schippers 210f56cccb remove debug messages in "xschem select_dangling_nets" 2023-09-14 01:04:46 +02:00
stefan schippers 75e5d3d5b0 add command "xschem select_dangling_nets" that selects all labels/wires that are not connected to any non-label/non-probe components 2023-09-14 00:57:13 +02:00
stefan schippers afd25cf430 clear_schematic(): clear xctx->sch[..] name before assigning untitled.sch / untitled.sym path name 2023-09-12 23:16:32 +02:00
stefan schippers 55fcf5d28e avoid doing a move_objects(RUBBER,...) if doing an "xschem paste xoffs yoffs" from script, to avoid graphical artifacts 2023-09-12 09:21:54 +02:00
stefan schippers c5420f4f07 fix a crashing bug if descending a schematic those symbol has a @#resolved_net:... attribute, raw file is loaded and show net_names is enabled. 2023-09-11 09:24:03 +02:00
stefan schippers 4bd758bee7 xschem tcp connections: print in/out data on console only if in tcl debug mode 2023-09-10 08:00:26 +02:00
stefan schippers 045edb5e10 xschem tcp connections: print open/close messages only if in tcl debug mode 2023-09-10 07:54:40 +02:00
stefan schippers 02dddc90ef Improve send nets to graph. do not refuse to send top level port signals, allow to send bussed signals even if graphdialog widget is not shown (proc graph_add_nodes_from_list) 2023-09-09 10:26:58 +02:00
stefan schippers ff1216e142 hilight_parent_pins(): remove dbg info 2023-09-08 01:22:39 +02:00
stefan schippers c75ddaf6ab hilight_parent_pins(): if two or more child pins are attached to the same parent net hilighting one of these child pins will not propagate to parent if the unhilight child pin comes after the hilight pin. This is now fixed. Going up in hierarchy will never clear parent hilights. It is recommended to clear all probes before tracking child pin propagation with hilights upstream. 2023-09-08 01:16:52 +02:00
stefan schippers a678c81b4c update documentation for change in return code of "xschem switch" command 2023-09-07 20:25:08 +02:00
stefan schippers b8d78e5b01 xschem switch command: return success also if command given (with right filename/winpath) when no additional windows/tabs are present 2023-09-07 08:49:39 +02:00
stefan schippers baea7ab745 xschem switch command return exit status depending if switch context was successfull or not 2023-09-06 08:30:40 +02:00
stefan schippers c23f38e10b export ps/pdf, png, svg functions now use custom file chooser widget (as Save As does) to enable creation of new folders 2023-08-30 00:42:09 +02:00
stefan schippers 8dfaedf9ea report in-hierarchy overlapped symbols when netlisting 2023-08-29 11:32:48 +02:00
stefan schippers c94d6b66cb yet some other fixes for displaying / updating ERC info data after a netlist 2023-08-28 23:21:42 +02:00