Commit Graph

2974 Commits

Author SHA1 Message Date
stefan schippers 6682965dba make @spice_get_current work for pnp and npn symbols 2024-12-21 00:49:44 +01:00
stefan schippers 954d10eb25 better position of Id annotator in nmos4 and pmos4 symbols (close to drain terminal) 2024-12-20 23:44:40 +01:00
stefan schippers c6e63005ba remove hide=instance from [np]mos annotated current text 2024-12-20 23:20:25 +01:00
stefan schippers b892ad8ac7 Make @spice_get_current report Id (drain current) for mos devices (defined as plain mosfets in model (ngspice syntax), may be to extend for Xyce) 2024-12-20 22:25:19 +01:00
stefan schippers 931b348c1a update autozero_comp.sch: better `1` and `0` saout histogram plotting 2024-12-20 17:25:03 +01:00
stefan schippers 6b6bb81d24 updated autozero_comp.sch 2024-12-20 12:15:46 +01:00
stefan schippers 1ddafe3276 updated autozero_comp.sch to show saout histogram; xschem raw switch: do not call update_op() if not switching into a 1-point OP or DC sim 2024-12-20 11:56:53 +01:00
stefan schippers 47f0d2d57c improvements in raw_get_pos(), fix test_backannotated_subckt.sch (was not simulating anymore) 2024-12-20 02:28:38 +01:00
stefan schippers d9d75de337 remove dbg message 2024-12-20 01:19:02 +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 a66b4bb39b updated greycnt.sch example 2024-12-18 14:01:50 +01:00
stefan schippers 7402385a82 fix regression from commit `graphs: always plot one point before x1 and one point after x2 of simulation`: 2-dimensional dc-sweeps did miss first or last point 2024-12-18 01:55:05 +01:00
stefan schippers da6532d8d8 doc updates (xschem image command) 2024-12-17 09:27:01 +01:00
stefan schippers 6b75aa62aa avoid a redundant set_modify(-1) in review_window("destroy"...) 2024-12-17 01:07:36 +01:00
stefan schippers 9906001c5e update Changelog 2024-12-16 17:01:38 +01:00
stefan schippers 158ed8decc load_schematic(): do not invoke trim_wires (if enabled) if called non interactively with reset_undo == 0 (it will change name of top schematic in tab and window title while netlisting) 2024-12-16 16:44:56 +01:00
stefan schippers 5bc194f3a5 separated undo_initialized and mem_undo_initialized, so they can be used more interchangeably 2024-12-16 12:14:11 +01:00
stefan schippers b4423126ea add (disabled) debug message in proc set_tab_names 2024-12-16 09:09:39 +01:00
stefan schippers 8c4d5cb7b8 push_undo() correctly handle case when tmpdir can not be created (init_undo() fails) 2024-12-16 02:18:32 +01:00
stefan schippers cac5392a45 proc set_tab_names: call [xschem get schname] only once 2024-12-16 01:24:36 +01:00
stefan schippers 8fef4f0d95 updated docs (xschem-sky130 integration, xschemrc file conventions) 2024-12-15 19:55:06 +01:00
stefan schippers 538d3bf2ad xschem raw values now returns full precision, no more 8 digit rounding, as this is undesirable for transient noise sims 2024-12-15 12:24:51 +01:00
stefan schippers 5eea0728c7 update in_memory_undo.c to be in sync with pop_undo(4, ...) 2024-12-14 22:39:13 +01:00
stefan schippers 3a405bbce3 bus_tap.sym: show annotated voltage (remove hidden text attribute) 2024-12-13 14:37:35 +01:00
stefan schippers 90611b8786 update delta_sigma.sch (single quotes around .param variables when used) 2024-12-12 22:45:30 +01:00
stefan schippers e2f44202e9 update Changelog 2024-12-12 13:07:58 +01:00
stefan schippers 73c44cc6dd fix greycnt.v regression (reversed bus connections) 2024-12-12 12:52:33 +01:00
stefan schippers e8e217591d add verilator in addition to icarus verilog simulator 2024-12-12 12:45:24 +01:00
stefan schippers 44909f91d6 update simulate_ff.sch (better looking 7-segment digit) 2024-12-12 01:09:42 +01:00
stefan schippers 77a4379b13 update rlc.sch 2024-12-11 15:48:33 +01:00
stefan schippers a97b47623f annotate_op: delete current raw file (to replace with new OP raw) ONLY if current loaded raw file is an OP simulation (npoints==1) 2024-12-11 01:54:31 +01:00
stefan schippers 13e38b803d annotate_op command only deletes loaded OP raw file (if any), does no more delete all loaded raw files. 2024-12-10 23:31:09 +01:00
stefan schippers 4bdfa44575 use ttk::combobox instead of spinbox where available (tcl > 8.4) for graph Line/HistoH/HistoV selection 2024-12-10 11:41:35 +01:00
stefan schippers 48d7522a8c remove debug messages 2024-12-10 00:37:26 +01:00
stefan schippers 893c48d7dd fix some HistH graph draw artifacts when panning/zooming the graph 2024-12-10 00:07:33 +01:00
stefan schippers 8bb69b65e9 HistogramH and HistogramV graph modes 2024-12-09 17:25:40 +01:00
stefan schippers 2a7ee749ba xschem raw add: add optional sweep_var parameter 2024-12-09 00:00:27 +01:00
stefan schippers 2ec8c61757 fix previous commit for digital graphs 2024-12-07 11:40:49 +01:00
stefan schippers f73cf30452 added a fix in draw_graph_points() to avoid waves to be drawn outside of the graph box container on Windows, where there is no working XSetCLipRectangles() 2024-12-07 00:56:04 +01:00
stefan schippers 963e877497 Allow wave expressions with spaces on a single line without quotes ("...."). Quotes can be used for wave expression on multiple lines. Side effect: multiple nodes can no more be specified on a single line separated with spaces. Use newlines 2024-12-05 02:54:08 +01:00
stefan schippers 75b5cc13f4 added `-undo 1` to all text widgets. If text_replace_selection is enabled replace selection when pasting also in entry widgets as done with text widgets 2024-12-04 16:38:35 +01:00
stefan schippers 0734414bd7 simplify some regsub pattern substitutions in xschem.tcl 2024-12-04 13:41:52 +01:00
stefan schippers ce99d093c4 screen grab: if draw crosshair is enabled and a screen grab is done show default mouse pointer 2024-12-01 11:55:46 +01:00
stefan schippers 5ae730a5fb waves_selected(): do not check sch_waves_loaded() to return is_inside 2024-11-30 10:57:06 +01:00
stefan schippers 17a564062c graphs: always plot one point before x1 and one point after x2 of simulation waves so they will extend to full graph area even if there are few simulation points. 2024-11-30 01:16:37 +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 7ca8857302 starting a move (m) or copy (c) operation when nothing is selected does not change ui_state. Clearly a bug 2024-11-29 01:30:38 +01:00
stefan schippers 8eb60ae32b allow full specification of file selector window geometry and pane sizes. examples in xschemrc 2024-11-28 11:37:21 +01:00
stefan schippers 471675ad49 fully remember panedwindow (vertical and horizontal) sash positions in load_file_dialog 2024-11-28 10:06:37 +01:00