Commit Graph

2374 Commits

Author SHA1 Message Date
stefan schippers 6c1dadd27c flush unused symbols at end of netlist 2023-12-02 23:25:54 +01:00
stefan schippers 8305024cd6 break.awk: do not break user code lines in spice netlists 2023-12-02 23:00:44 +01:00
stefan schippers b2965f4c3d attribute default_schematic=ignore: if set in a symbol xschem will not descend into the default schematic associated to symbol. Instances MUST specify a schematic attribute 2023-12-02 13:17:32 +01:00
stefan schippers 5cb5ec9031 local_netlist_dir: use only last path component of schematic when creating simulation directories 2023-12-02 04:28:04 +01:00
stefan schippers 7761fcca4d renamed comp_65nm*.* in inst_sch_select to comp3*.* to avoid name collisions with other (ngspice) directories 2023-12-02 01:48:11 +01:00
stefan schippers c424a25d66 add xctx->last_command in xshem globals debug command 2023-12-02 00:58:57 +01:00
stefan schippers a797bc593f when in `persistent command` wire or line placement mode, a first escape clear the ongoing placement, a second escape clears the wiring or line-ing command 2023-12-01 23:05:07 +01:00
stefan schippers b9ef032a2a Add SImulation radiobutton for setting local netlist directory as [library]/simulation/[cellname]. Change netlisting directory if `set local_netlist_dir` is set via --tcl cmdline 2023-12-01 14:08:42 +01:00
stefan schippers 37c6229a21 xinit.c: do a `xschem set format lvs_format` if lvs_netlist is set via xschemrc or command line 2023-12-01 12:11:12 +01:00
stefan schippers 4090011a64 avoid tk_messageBox in reload schematic warning message (blocks event loop). Avoid using xschem specific XSCHEM_SHAREDIR in utile/utile (can be used standalone) 2023-11-30 20:52:28 +01:00
stefan schippers b507276fa0 fix add bus in graph dialog (use ; separator after bus alias name) 2023-11-30 04:15:33 +01:00
stefan schippers 159460efd4 fix unneeded extra_rawfile switch back in graph_fullyzoom() 2023-11-30 01:00:25 +01:00
stefan schippers 898d0538a0 Allow tcleval() in vhdl_format attributes, allow intance setting of vhdl_format (override symbol). Add missing space in @pinlist expansion in print_verilog_primitive and print_vhdl_primitive 2023-11-29 13:46:24 +01:00
stefan schippers fb102fb359 update xschemtest for verilog netlist checksums 2023-11-29 12:50:37 +01:00
stefan schippers 30b77d7447 allow tcleval() in verilog_format attributes, allow intance setting of verilog_format (override symbol) 2023-11-29 12:20:35 +01:00
stefan schippers c069afcc40 fix occasional crashes due to graph_fullxzoom() getting sweep variable index in raw file before switching to graph-specific raw file 2023-11-29 01:26:45 +01:00
stefan schippers 83c692caa9 copy between windows: allow to navigate between more than 2 windows 2023-11-28 18:41:38 +01:00
stefan schippers e467c5641d fix a crashing bug if aborting (in destination window) a copy operation between different windows ( hash_wire(XDELETE...) ) 2023-11-28 15:26:27 +01:00
stefan schippers e25ded5e74 expandlabel(): if a node name begins with `$` assume it will be processed downstream by some scripts. Don`t expand anything 2023-11-28 12:24:43 +01:00
stefan schippers a53ddf22d8 changed appearance of pv_ngspice.sym 2023-11-28 01:16:09 +01:00
stefan schippers bf3b601aad improvements to ngspice_analog_delay.sym 2023-11-27 22:46:48 +01:00
stefan schippers 5ee0f96af3 add devices/ngspice_analog_delay.sym 2023-11-27 17:49:36 +01:00
stefan schippers 28bf3b57cf rename some myload_* stuff to file_dialog_* 2023-11-27 15:08:15 +01:00
stefan schippers 4e650811db fix proc ev and proc evo not evaluating correctly braced {...} expressions 2023-11-27 12:42:49 +01:00
stefan schippers fdc3ceefeb vsource.sym and ammeter.sym no more use tcleval() to handle @savecurrent attribute (calling tcleval() is overkill for such a trivial task and may expose to side effects if $ (and other) characters are used ) 2023-11-27 12:13:53 +01:00
stefan schippers 26fbb82f6b fix unwanted head_undo_ptr change when doing a netlist. Add current backannotation info in capa.sym, ind.sym, isource.sym, isource_table.sym 2023-11-27 00:01:45 +01:00
stefan schippers c4e9310d45 allow to load raw files even if netlist type set to `symbol`. Better to_eng function, `xschem raw_query value node {}` returns value at cursor b position 2023-11-26 12:54:37 +01:00
stefan schippers 1dfca8e256 add file_dialog default_geometry variable to set file / component selector initial size. Better panes width allocation and stretching 2023-11-25 23:44:09 +01:00
stefan schippers d71122bb68 update pv_ngspice.sch 2023-11-24 18:22:10 +01:00
stefan schippers 3449d25681 wm transient: set relative to parent window (which is not always `.` in windowed interface). 2023-11-23 22:24:52 +01:00
stefan schippers 1f4b437593 proc waves: set semaphore only for external viewers run in foreground 2023-11-23 00:28:09 +01:00
stefan schippers 7a5d649adc (2) fix wrong list of viewers in proc set_sim_defaults and unsetting semaphore in proc waves 2023-11-23 00:01:02 +01:00
stefan schippers 76540724df fix wrong list of viewers in proc set_sim_defaults and unsetting semaphore in proc waves 2023-11-22 23:50:17 +01:00
stefan schippers aafe94822a save_file_dialog: file filter by default set to `*` (show all files) 2023-11-22 01:41:16 +01:00
stefan schippers eb6f9f1f4e fix a small memory leak in spice_netlist.c 2023-11-21 10:48:56 +01:00
stefan schippers 8d155af82f `Alt-e` does a true descend sub-schematic and opens it in another window 2023-11-20 17:53:28 +01:00
stefan schippers d4cde62870 add draw option in schematic_in_new_window(), create_new_tab(), create_new_window() 2023-11-20 00:12:13 +01:00
stefan schippers 2c773c4a25 poweramp.sch and mos_power_ampli.sch updates 2023-11-19 12:52:57 +01:00
stefan schippers f4f61d23a6 comments added 2023-11-18 23:13:52 +01:00
stefan schippers 84d945238f `xschem annotate_op file [level]`: added `level` optional integer to specify the hierarchy level op raw data refers to. Add xschem set raw_level to modify the raw level loaded raw file refers to 2023-11-18 12:55:57 +01:00
stefan schippers 2c48b7399e update manual page for sky130 installation (switch from adms to openvaf) 2023-11-18 12:03:09 +01:00
stefan schippers 7da63c19e2 regression fix: xschem netlist did not return exit code 2023-11-18 01:49:50 +01:00
stefan schippers 2dac7f1735 added execute(exitcode,id) will not be deleted at end of sim. proc graph_tag_nodes works with or without graphdialog open. If it is open it will tag nodes therein, if not it merely returns start and end indexes of nodes in its txt argument 2023-11-17 21:36:34 +01:00
stefan schippers 41f66117e9 more code in proc graph_tag_nodes 2023-11-17 14:32:25 +01:00
stefan schippers 48a9a94ab2 offloaded proc graph_tag_nodes from proc graph_update_nodelist, moved rcode and colors into tctx:: context 2023-11-17 14:05:49 +01:00
stefan schippers 913614b558 some fixes in draw() (transform multiple op in dc sweep also if per-node rawfile specified), handle per-node rawfile in graph_fullyzoom() 2023-11-17 01:20:52 +01:00
stefan schippers 397293f227 spice netlist: use symbol for port list of top level schematic only if it is of type subcircuit 2023-11-16 23:37:16 +01:00
stefan schippers 760fbbbc4a allow newlines in (quoted) node names in graphs:
"alias_name;
node_name %
dataset raw_file.raw sim_type
"
2023-11-16 02:58:26 +01:00
stefan schippers a50bfb3622 when doing spice netlisting if top level has a symbol (and the symbol has i/o ports) use the symbol for printing the top level subckt port list. This ensures same port ordering when netlisting a testbench containing a component and netlisting the component itself. Tab context menu: open Symbol / open Schematic will use the search_schematic setting and search counterpart accordingly. 2023-11-16 01:26:55 +01:00
stefan schippers 5117001a9c revert changes: `allow tcleval() in node alias names` and `allow tcleval(xxxx) in % dataset specification on graph nodes`: just wrap the whole list of nodes (including aliases, % specifications et all) into a tcleval(...) 2023-11-16 00:02:25 +01:00