stefan schippers
|
d4b8f25455
|
xschem raw_read just loads or reloads the waves, does not toggle. use xschem raw_clear to unload
|
2023-11-11 11:40:36 +01:00 |
stefan schippers
|
1991b409e0
|
fix small memory leak
|
2023-11-10 15:43:36 +01:00 |
stefan schippers
|
565ab605cf
|
better xschem raw clear comand (if rawfile and sim_type specified delete only specified simulation data, not all analyses of rawfile)
|
2023-11-10 12:24:21 +01:00 |
stefan schippers
|
584f88fba1
|
object iterator, object spatial hash table for all objects. tbu in the future maybe. Fix crashing bug when copying ngspice_probe.sym if annotation is enabled
|
2023-11-09 13:57:58 +01:00 |
stefan schippers
|
f04477d236
|
if local_netlist_dir is set to 1 change netlist_dir at circuit load (and save-as)
|
2023-11-07 17:25:18 +01:00 |
stefan schippers
|
98def78164
|
simulation button will go yellow while sim is running.Clicking a yellow simulate button will kill simulation.
|
2023-11-06 16:47:14 +01:00 |
stefan schippers
|
e5431d86c5
|
fix setting netlist button color code statwe variable (tctx::...._netlist)
|
2023-11-06 01:44:25 +01:00 |
stefan schippers
|
881d8a4ed9
|
various fixes for Simulator/Netlist button color codes
|
2023-11-05 14:13:20 +01:00 |
stefan schippers
|
3bd3956042
|
Netlist and Simulate buttons will be colored in red or green depending on the outcome of the associated operation
|
2023-11-05 00:14:55 +01:00 |
stefan schippers
|
cfdaebf5e1
|
add `xschem instance_number` command to easily get/set the position of instance in the list
|
2023-11-04 20:43:04 +01:00 |
Stefan Schippers
|
299b29bf87
|
fix parameter count check in xschem getprop
|
2023-11-04 18:46:26 +01:00 |
stefan schippers
|
0b93634fee
|
Better Simulation->Graphs-> Load raw file (ask filename)
|
2023-11-03 23:37:09 +01:00 |
stefan schippers
|
a5ee182d59
|
add some Symbol menu entries (place net label / change instance texts to floaters)
|
2023-11-03 15:10:22 +01:00 |
stefan schippers
|
2c26bfbaa9
|
fix some garbage while moving / copying and zooming. faster draw_selection(gctiled) if big selection (use a single XCopyArea), do not allow to descend/go_back if other UI action is pending, initial implementation of `xschem floaters_from_selected_inst` command, get_tok_val() allow quotes in tokens, like a"22"33=123 even if with_quotes unset (it is intended for token values not for tokens themselves)
|
2023-11-03 14:36:35 +01:00 |
stefan schippers
|
794df4dfc3
|
add make_sym_from_spice.awk, cut down from make_sch_from_spice.awk
|
2023-11-02 19:07:15 +01:00 |
stefan schippers
|
722b1f4575
|
small improvements in edit_text_property() and get_instance()
|
2023-11-02 13:24:15 +01:00 |
stefan schippers
|
0a4c59cc30
|
xschem selected_set, search: include text objects. xschem getprop: allow to retrie the text value with txt_ptr
|
2023-11-01 14:19:26 +01:00 |
stefan schippers
|
b60a5a4c4b
|
Add command `xschem setprop text n txt_ptr value` to change a text object text field, set stdout in line buffer mode if used in a pipe, better protect some commands against no X connection
|
2023-10-31 18:39:42 +01:00 |
stefan schippers
|
8f2af6803a
|
remove some dead code, fix redrawing in `xschem move_instance` command
|
2023-10-30 00:57:28 +01:00 |
stefan schippers
|
391a744302
|
xschem setprop command: redraw all viewport if show_pin_net_names is enabled
|
2023-10-29 22:22:05 +01:00 |
Stefan Schippers
|
958c5a1525
|
set_modify() returns now # of floaters, use this info to redraw all viewport in `xschn setprop` commands
|
2023-10-29 20:02:23 +01:00 |
stefan schippers
|
d776d6a351
|
better handle operating point clear / update when switching / reading / clearing raw files. dont use operating point data (ngspice::ngspice) above the hierarchy level where raw file has been loaded.
|
2023-10-29 14:04:52 +01:00 |
stefan schippers
|
a76dca4f29
|
add menu entry in Options for fix_mouse_coord
|
2023-10-28 11:51:21 +02:00 |
Stefan Schippers
|
34113c1c5f
|
added tab ctx menu `Save`
|
2023-10-25 20:30:20 +02:00 |
stefan schippers
|
3d4113ad26
|
tabs bar context menu
|
2023-10-25 11:43:43 +02:00 |
stefan schippers
|
d83acf710d
|
add `xschem text_string` command, update displayed floaters if a text object is changed
|
2023-10-24 18:47:58 +02:00 |
stefan schippers
|
d5d090afc0
|
better line-rectangle touch check for backward rectangle selection (intersection select)
|
2023-10-21 23:48:56 +02:00 |
stefan schippers
|
2e4e754a3e
|
add context menu entries for rotate and flip selection, add basic sub-process control in Simulation menu, enabled again Rotate and Flip from Edit menu, fix svg export from CLI (was resetting line width), add cascade menus in Simulation
|
2023-10-21 09:27:02 +02:00 |
stefan schippers
|
306c5d0d15
|
fix two small memory leaks, doc updates (xschem raw command) Raw.filename renamed to Raw.rawfile
|
2023-10-17 16:08:27 +02:00 |
stefan schippers
|
b165720bc8
|
allow loading more and different analyses from the same raw file. Implied tcleval() in rawfile given in graphdialog, transform multiple saved OP sims into a dc sweep.
|
2023-10-17 14:00:43 +02:00 |
stefan schippers
|
8cfd51d8f9
|
add the ability to load multiple raw files with different analyses in a single schematic ( extra_rawfile() )
|
2023-10-17 00:42:31 +02:00 |
stefan schippers
|
5da81a7aea
|
shut down some gcc false warnings (uninitialized vars), add read_more_rawfile()
|
2023-10-16 11:16:12 +02:00 |
stefan schippers
|
f10555917e
|
optimized usage of interpolate_yval(), add raw->cursor_b_val[]
|
2023-10-16 09:53:03 +02:00 |
stefan schippers
|
d1309a8a47
|
fix uninitialized var in interpolate_yval()
|
2023-10-15 13:24:19 +02:00 |
stefan schippers
|
53286346e1
|
doc updates, tcl rawfile variable in place for future per-graph raw file
|
2023-10-14 23:41:19 +02:00 |
stefan schippers
|
537cedbafe
|
better graphdialog layout, remove tcl redundant raw_level var
|
2023-10-14 22:43:58 +02:00 |
Stefan Schippers
|
c6a3880b9d
|
fix a bug in draw_graph_points() changing and not restoring linewidths if called with idx==-1
|
2023-10-13 18:46:15 +02:00 |
stefan schippers
|
88a5befbf2
|
add some cascade menus for less frequently used entries. better description of xschem unselect_all command
|
2023-10-12 19:37:22 +02:00 |
stefan schippers
|
676ce4fe3d
|
lock attribute for rectangles: work the same as for instances (can only double click to reset attributes, not selectable until lock reset to 0), add commands "xschem selected_set rect" and "xschem select_inside x1 y1 x2 y2"
|
2023-10-12 11:15:12 +02:00 |
stefan schippers
|
e457292e04
|
trim_chars() function for various string operations
|
2023-10-11 16:31:42 +02:00 |
stefan schippers
|
9b4bd44fd0
|
merged in fast_raw_read branch
|
2023-10-11 14:05:27 +02:00 |
stefan schippers
|
bb4f296211
|
use "2" instead of "X" for default return state in xschem logic_get_net command
|
2023-10-09 00:11:17 +02:00 |
stefan schippers
|
58af2567e6
|
fix initialization of default value for "xschem get_logic_net"
|
2023-10-08 11:32:56 +02:00 |
stefan schippers
|
0204b7596b
|
first selected instance is now always the master (instead of the first in the xschem array order) when doing an edit attribute on a group of selected elements
|
2023-10-04 17:15:52 +02:00 |
stefan schippers
|
3ed97b3df2
|
some code refactoring, more usage of tclgetboolvar()
|
2023-10-03 10:27:29 +02:00 |
stefan schippers
|
9fee9610ab
|
vsource.sym and ammeter.sym: add "savecurrent=1|0|true|false" attribute do decide if a .save I(...) is to be printed in netlist. default is 1 for ammeter.sym and 0 for vsource.sym. Add "deltax deltay rot flip" optional parameters for xschem "copy_objects" command to make copy operation scriptable (lot more efficient than using clipboard)
|
2023-10-02 12:11:05 +02:00 |
stefan schippers
|
c569f93a65
|
added commands xschem get schprop|schvhdprop|schverilogprop|schtedaxprop|schsymbolprop, "xschem create_text" renamed to "xschem text" for syntax consistency
|
2023-09-29 09:46:31 +02:00 |
stefan schippers
|
db1bf8818a
|
cleanup in usage of new_prop_string() and hash_names()
|
2023-09-28 23:19:14 +02:00 |
stefan schippers
|
31492b3955
|
added xschem set [schsymbolprop|schprop|schverilogprop|schvhdlprop|schtedaxprop] <value> commands for setting global schematic/symbol attributes
|
2023-09-28 15:45:07 +02:00 |
stefan schippers
|
cfe97c2ccf
|
extend "xschem rect" and "xschem line" commands, add "xschem get rects n" and "xschem get lines n"
|
2023-09-28 15:24:23 +02:00 |
stefan schippers
|
e13922e94f
|
simplify place_symbol(), hash newly placed component name, so successive placements will not clash instance name. hash_all_names() renamed to hash_names()
|
2023-09-28 13:28:16 +02:00 |
stefan schippers
|
5df9347533
|
removed tcl variable connect_by_kissing (to many options is a mess)
|
2023-09-28 12:34:10 +02:00 |
stefan schippers
|
5080c2c33f
|
fix unitialized vars (mostly false errors, but why not...)
|
2023-09-28 00:30:00 +02:00 |
stefan schippers
|
f3230ceb42
|
FIX_BROKEN_TILED_FILL can now be changed runtime (fix_broken_tiled_fill)
|
2023-09-27 01:28:31 +02:00 |
stefan schippers
|
db9c014566
|
move "auto join/trim wires" to Options menu, "m" and "ctrl-m" move commands are swapped if enable_stretch is enabled. new_prop_string() now check for true uniqueness (all inst names are expanded with expandlabel() and all bits are hashed). Fixed regression in check_unique_names()
|
2023-09-25 15:28:40 +02:00 |
stefan schippers
|
41d9759953
|
xschem select instance given from CLI will select instances regardless of their lock attribute
|
2023-09-24 04:01:56 +02:00 |
stefan schippers
|
db1049d469
|
formatting, updated create_graph.tcl
|
2023-09-24 03:34:01 +02:00 |
stefan schippers
|
75526cacbe
|
add "xschem create_text" command for placing text objects with CLI
|
2023-09-24 03:16:53 +02:00 |
stefan schippers
|
274b4da441
|
xschem(): print an error if trying to execute commands that require schematic data structs (xctx) and xctx is not yet allocated
|
2023-09-22 19:13:13 +02:00 |
stefan schippers
|
288c053ec6
|
various FIX_BROKEN_TILED_FILL fixes
|
2023-09-22 18:26:18 +02:00 |
stefan schippers
|
a1fbbcfd80
|
add another command to cut wires without aligning cut point to snap (Alt-Shift-Right mouse button)
|
2023-09-22 10:40:57 +02:00 |
stefan schippers
|
1479ca2ea6
|
fix regression in "xschem load <file> nofullzoom" (zoom was reset)
|
2023-09-21 10:11:39 +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
|
7ffe70cb25
|
add other schematic manipulation script examples in developer_info.html
|
2023-09-18 17:16:03 +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
|
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
|
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
|
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
|
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
|
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
|
a678c81b4c
|
update documentation for change in return code of "xschem switch" command
|
2023-09-07 20:25:08 +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
|
cd3f188a30
|
fix wrong netlist filename if invoking netlist from GUI
|
2023-08-28 11:39:00 +02:00 |
stefan schippers
|
0805802bb8
|
fix performance issues (too many proc infowindow calls) on large schematics introduced by previous two commits
|
2023-08-28 10:39:11 +02:00 |
stefan schippers
|
9e4d3c111a
|
various fixes and cleanups - followup of previous commit
|
2023-08-28 03:00:48 +02:00 |
stefan schippers
|
1c3c9ff889
|
do not show ERC info window if netlisting invoked via CLI; global variable show_infowindow_after_netlist can now take 3 values: always, onerror, never, to decide when showing the ERC info window after netlisting. Old values (1, 0) still accepted as aliases for always and onerror
|
2023-08-27 23:55:48 +02:00 |
stefan schippers
|
519fb2fbf2
|
add optional "-messages" in "xschem netlist" comand to return ERC messages instead of fail(1)/good(0) code
|
2023-08-27 13:04:12 +02:00 |
stefan schippers
|
3f55893987
|
revert format of [xschem pinlist <instance> <attr>] to old (3.1.0) format: { {0} {PLUS} } { {1} {OUT} } { {2} {MINUS} } instead of {PLUS} {OUT} {MINUS}
|
2023-08-19 13:54:43 +02:00 |
stefan schippers
|
bf46fd3e7b
|
allow "1" / "0" in addition to "true" / "false" in all boolean attributes
|
2023-07-14 00:49:51 +02:00 |
stefan schippers
|
ff66a48df0
|
doc updates about print command
|
2023-07-13 14:26:42 +02:00 |
stefan schippers
|
cf675be805
|
add "xschem print pdf_full" and "xschem print ps_full" commands to print full view properly fitting paper size, regardless of xschem window size, some fixes in circle postscript drawing (set newpath) and rectangle clipping. Add menu command "PDF/PS export full"
|
2023-07-13 13:24:17 +02:00 |
stefan schippers
|
3c73bb918b
|
add case insensitive matching in xschem search function
|
2023-07-12 13:58:54 +02:00 |
stefan schippers
|
d06b1c83ae
|
fix regression(repo.hu: r2353, github: 0bb4c9f) : "xschem instance" command not setting modified flag on schematic, so following xschem save doing nothing.
|
2023-07-06 23:56:33 +02:00 |
stefan schippers
|
587a847722
|
add xschem command `xschem instance_coord [instance]`: returns placement coords, rotation, flip of selected or specified instance
|
2023-07-06 09:12:31 +02:00 |
stefan schippers
|
cdecc6ad04
|
xschem netlist command accepts an optional filename argument
|
2023-07-03 09:06:46 +02:00 |
stefan schippers
|
eaa56bdc45
|
make the "xschem_quit" command work (close current window / tab) also if xschem started in -x (no graphics) mode
|
2023-06-26 07:57:00 +02:00 |
stefan schippers
|
5d9e0d3d8a
|
enable xschem to load multiple files even if started with "-x" (only CLI mode)
|
2023-06-25 23:33:26 +02:00 |
stefan schippers
|
40d8b960f3
|
fix initial full zoom of schematics loaded with xschem load file from the xschem tcl prompt
|
2023-06-23 23:36:11 +02:00 |
stefan schippers
|
c6df85cce5
|
apply center full zoom in all zoom full commands if tcl variable zoom_full_center is set
|
2023-06-23 09:04:55 +02:00 |
stefan schippers
|
c97dfddd4e
|
fix memory leak due to improper use of get_pin_and_attr()
|
2023-06-17 10:14:55 +02:00 |
stefan schippers
|
a6462269dc
|
refactor token.c: added get_pin_number(), get_pin_and_attr()
|
2023-06-16 23:08:00 +02:00 |
stefan schippers
|
c3d03cd6d2
|
show red dot when cuting a wire with new alt-right button click on a wire. Added also menu command in Tools
|
2023-06-14 10:08:50 +02:00 |
stefan schippers
|
89d847fb62
|
fix a bug in `xschem annotate_op` function not showing data if `Live annotation...` option was not set beforehand.
|
2023-06-12 09:13:20 +02:00 |
stefan schippers
|
2b0655e3e9
|
improve `Shift-M` command by stretching nets that land on instance pins while moving instances
|
2023-06-10 23:41:02 +02:00 |
Stefan Schippers
|
d5cc702fe8
|
Add command "Tools -> Remove wires running throuh selected inst. pins"
|
2023-06-10 17:24:12 +02:00 |