Commit Graph

2502 Commits

Author SHA1 Message Date
stefan schippers 441e27e8ca preserve existing line width when creating new windows / tabs 2023-12-11 18:59:46 +01:00
stefan schippers bf0ef23739 setting line width in View menu will automatcally disable change line width with zoom 2023-12-11 18:31:19 +01:00
stefan schippers 379938fe03 if selection is present when exporting pdf assume it is a bboxed pdf, do not print page title. Fix set_viewport_size setting line width to 1 instead of using current value 2023-12-11 18:28:23 +01:00
stefan schippers b95289ca5e better line width calculation / restore in export images 2023-12-11 16:06:49 +01:00
stefan schippers 7e820d05b0 update docs about new additions to the `xschem print` command 2023-12-11 15:22:36 +01:00
stefan schippers 4cb060f817 better placement of graphs in image exports. If something is selected export image will export selection. Add ability to specify area to print in ps/pdf export (set media size to bbox) 2023-12-11 15:18:46 +01:00
stefan schippers f042b940c2 add xschemrc option ps_page_title (default: enabled, 1) to set or hide page title in ps/pdf exports, more precise graph exports in svg and ps/pdf 2023-12-11 10:43:09 +01:00
stefan schippers c360187d8a fast option in `xschem unhilight_all` 2023-12-10 22:15:20 +01:00
stefan schippers 39769187d3 add `xschem set cursor[12]_x` commands for moving graph cursors 2023-12-10 00:28:44 +01:00
stefan schippers d64f4a3fc2 do not `xschem unhilight_all` in mos_power_ampli->hi_current launcher 2023-12-09 23:57:15 +01:00
stefan schippers 7a39f4d6ca better resolution of exported graphs in ps/pdf and svg 2023-12-09 23:39:33 +01:00
stefan schippers 1285ba0cd4 while opening a sub-schematic in another window propagate cursora/b/ annotate info 2023-12-09 13:26:18 +01:00
stefan schippers c8ced06bbe add `fast` option in xschem hilight_instname. mos_power_ampli: use hilight to show devices with high current 2023-12-09 11:39:04 +01:00
stefan schippers b21ac67cc4 add `xschem set hilight_color` command 2023-12-09 02:09:36 +01:00
stefan schippers eb471528f9 better cut wires inside symbols --> break_wires_at_pins(1) 2023-12-09 00:32:41 +01:00
stefan schippers e23345ad0b removed some #ifndef-ed code in cairo_jpg.c 2023-12-08 13:38:36 +01:00
stefan schippers 1e9d189ad4 rotated short.sym, so it matches pin positions with most other 2-terminal devices 2023-12-08 00:45:30 +01:00
stefan schippers e53ca7fff8 xschem setprop: if new attribute changes symbol (as in case of generators) do a match_symbol() to update 2023-12-08 00:36:49 +01:00
stefan schippers d094ef55b7 fix setting old_translated_sym in update_symbol() 2023-12-07 18:28:44 +01:00
stefan schippers a0237b59b3 eliminated some redundant operations on instance flags (set_inst_flags() does the job) 2023-12-07 18:07:42 +01:00
stefan schippers 8c81f629d0 fix a regression introduced by saving/restoring tcl context in preview_window() 2023-12-07 16:02:31 +01:00
stefan schippers 8269eff430 save / restore tcl context when creating / destroying preview window 2023-12-05 18:50:46 +01:00
stefan schippers b8fecf997b avoid showing alert box if enabling / disabling stretch mode by bindkey 2023-12-05 17:32:48 +01:00
stefan schippers c090773afe Opening sub-schematic in new window/tab will inherit raw file loaded and annotation. ngspice::ngspice_data is preserved on context switches now 2023-12-05 13:13:59 +01:00
stefan schippers 926cc26b74 updated poweramp.sch and ngspice_get_expr.sym 2023-12-04 00:19:50 +01:00
stefan schippers b2aad10650 changed attribute text_n_size to text_size_n (for efficienty reasons), improved get_tok_val() (use strstr for quick return "" if no token found) 2023-12-03 23:11:36 +01:00
stefan schippers 28ed1351f1 spice.awk: do not join user code lines 2023-12-03 21:33:03 +01:00
stefan schippers 6648652ae5 allow instance attribute `text_n_size=s` (where s is a double and n is an integer) to set symbol text item `n` to size `s` 2023-12-03 12:26:18 +01:00
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