Commit Graph

1766 Commits

Author SHA1 Message Date
stefan schippers f5ce5987c9 fixed memory leak in copy_symbol(), split copy_symbol() to copy_symbol1() in action.c 2023-04-21 23:29:26 +02:00
stefan schippers eb6705d0f4 fixed regression introduced by get_additional_symbols() (memory leak) 2023-04-21 15:31:27 +02:00
stefan schippers 0102438751 fix some unfreed data in recent commits 2023-04-21 13:55:21 +02:00
stefan schippers 9eb4e9440c handle symbol_ref(param1,param2,...) symbol generator scripts, added some utility functions str_chars_replace(), is_symgen(), fix some quoting/backslash subst issues in get_sym_template() 2023-04-21 11:41:20 +02:00
stefan schippers 631fedb11b enabled escape_chars convenience function, added "embedded" parameter to load_sym_def() to better distinguish loading an embedded symbol from loading a regular symbol with a provided file descriptor 2023-04-20 10:44:31 +02:00
stefan schippers 6c364a74cc revert str_replace @symname in print_spice_subckt_nodes() 2023-04-18 00:49:25 +02:00
stefan schippers c4844ddd4c update poweramp.sch, remove obsolete comments 2023-04-18 00:35:23 +02:00
stefan schippers a5492be752 print_spice_subckt_nodes(): use (improved to handle escape chars) str_replace() to substitute @symname, added xschem str_replace, improved xschem symbols 2023-04-18 00:20:40 +02:00
stefan schippers 88fdc83b34 get_sch_from_sym(): do not replace @symname if @ escaped 2023-04-17 17:44:51 +02:00
stefan schippers a5a8193231 scheduler(): add get_symbol(s), similar as get_instance(s) 2023-04-17 15:55:00 +02:00
stefan schippers ca0708a4c3 added "xschem setprop symbol" command, updated docs 2023-04-17 11:45:59 +02:00
stefan schippers 728cfb22fc print_spice_subckt_nodes(): remove closing bracket in case of tcleval(...) failure 2023-04-17 10:33:45 +02:00
stefan schippers ff9f92646c draw_graph_points() split big XDrawLines requests into smaller chunks to handle raw files with > 4M points 2023-04-14 15:41:00 +02:00
stefan schippers a8ba903aaa doc updates 2023-04-13 22:33:56 +02:00
stefan schippers 340b89c58d add base_name field in xSymbol struct to keep track of the base symbol name the "virtual" symbol is inherited from (instance based implementation selection with schematic=... attribute) 2023-04-13 22:25:36 +02:00
stefan schippers 7537cdef45 typos fixed 2023-04-13 21:04:45 +02:00
stefan schippers 08ad313103 added tutorial about instance_based selection of symbol implementation 2023-04-13 21:01:15 +02:00
stefan schippers 7584a9b378 updates to ngspice/comp_65nm.* 2023-04-13 12:10:04 +02:00
stefan schippers fb2500c83f enable spice_sym_def, verilog_sym_def, vhdl_sym_def on instances in addition as globally on symbols, for instance based specific implementations. These attributes must be paired with an instance "schematic=..." attribute that sets the subcircuit name of the alternate implementation. docs updated. 2023-04-13 02:12:02 +02:00
stefan schippers c71c15e967 various enhancements around the new instance based schematic=... attribute, doc updates. 2023-04-13 00:49:38 +02:00
stefan schippers 590bf8b6ec add instance based "schematic=..." attribute. This allows multiple instances of the same symbol to have different implementations. 2023-04-12 18:28:19 +02:00
stefan schippers 5b3b3d0662 function copy_symbol() extracted from undo code for reuse 2023-04-12 12:09:45 +02:00
stefan schippers e6fc1d9fe4 Correct menu accelerator shown for "merge" function (b key) 2023-04-11 09:33:25 +02:00
Stefan Schippers 4482ac3705 do a "xschem redraw" instead of a "xschem save; xschem reload" when use spiceprefix is toggled in menu 2023-04-09 20:05:45 +02:00
Stefan Schippers ebfcde42de change preprocessor defined(HAS_CAIRO) to HAS_CAIRO==1 2023-04-09 15:36:06 +02:00
stefan schippers f3196bbd10 -b option: redirect stdout/stderr to /dev/null, better explain -b in help, update manpage, and docs 2023-04-09 02:12:54 +02:00
stefan schippers 192e873f0c fix lazy list building in "xschem ..." commands (put separator after last item), as some parsers choke on this. 2023-04-08 22:27:59 +02:00
stefan schippers 5e3445a80e implement xschem sch_pinlist command, improve xschem pinlist inst [attr], improve make_sym.awk (no trailing spaces in pin attributes) 2023-04-08 13:19:49 +02:00
stefan schippers c98f0afec5 avoid redundant newline trailer in tcp responses 2023-04-07 23:50:04 +02:00
stefan schippers 705f279a23 xschem tcp interface: accept whole multiline text input from clients, (no more limit to 1 line text input), hier_psprint(): do not descend to subcircuit schematic if file not existing 2023-04-07 23:38:33 +02:00
stefan schippers 34800870fe xschem tcp server: drop connection at end of response to make client reads easier (eof detection) 2023-04-07 11:46:27 +02:00
stefan schippers 07bdb94601 add xschem instance_list command, updated docs 2023-04-06 20:10:57 +02:00
stefan schippers 0bb50ce7ff xschem selected_set command: return instance names properly quoted 2023-04-06 10:55:01 +02:00
stefan schippers da8a5c0c04 delete unused file 2023-04-01 00:15:27 +02:00
stefan schippers c9bc247111 fix a make uninstall issue prefenting deletion of some files 2023-04-01 00:09:49 +02:00
stefan schippers 7ac9443f4f further improve execute_fileevent to handle subprocesses that close stdout 2023-03-31 18:08:03 +02:00
stefan schippers e2490034ed better execute_fileevent implementation 2023-03-31 14:28:59 +02:00
stefan schippers e031780f14 fix regression in execute_fileevent (hadling subprocesses that close stdout/stderr, like rxvt) 2023-03-31 12:01:21 +02:00
stefan schippers d0d31a87c8 update src/add_custom_button.tcl to match code refactoring done in r2264 2023-03-29 23:41:28 +02:00
stefan schippers 63d4c55a09 fix missing error setting on sym_vs_sch_pins() in tedax_netlist. 2023-03-28 22:32:28 +02:00
stefan schippers 69277c1066 add use_tclreadline variable that can be set to 0 in xschemrc to avoid using the tclreadline package 2023-03-27 18:25:12 +02:00
stefan schippers eeb71c33bf forgot to update xschem load command description 2023-03-26 11:35:06 +02:00
stefan schippers 3fd24c69c4 improve xschem load command (no warning if opening an already open file, if doing that from script) 2023-03-26 11:33:05 +02:00
stefan schippers e4e2ba37cc xschem load from script: no alert box warning if new file given 2023-03-25 09:41:53 +01:00
stefan schippers 96aa251ca0 fix execute tcl procedure (correctly handle exit status of subprocesses that write to stderr but not as a failure) 2023-03-25 02:00:50 +01:00
stefan schippers fa33aca682 do tilde substitution (with home directory) in xschem tcl commands 2023-03-24 15:37:26 +01:00
stefan schippers f5224ede00 better cleanup execute(callback,...) array members 2023-03-24 13:37:10 +01:00
stefan schippers 6bcb74bdb0 add tcl procedures documentation in developer_info.html 2023-03-24 13:14:27 +01:00
stefan schippers e7b4dcfaae better tilde substitution in some tcl procedures 2023-03-24 00:49:44 +01:00
stefan schippers 2725e0c533 add exit code to xschem netlist command, add execute(error,last) and execute(exitcode,last) to inspect stderr and exit code of last simulation job 2023-03-23 18:34:14 +01:00