Commit Graph

1786 Commits

Author SHA1 Message Date
stefan schippers 637ada331e remove dbg message 2023-05-22 07:46:36 +02:00
stefan schippers 9715cf4a5c update examples/test_bus_tap.sch 2023-05-22 07:45:23 +02:00
stefan schippers b68dd8c099 when a bus label is edited correctly propagate list of instances to be redrawn if show net names on components is enabled (ie: propagate thru bus taps) 2023-05-22 07:28:12 +02:00
stefan schippers a4d5ddb63f add examples/test_bus_tap.sch 2023-05-22 00:49:54 +02:00
stefan schippers 5bd2c624a8 fixed regression: editing global attributes did not trigger modified status 2023-05-22 00:20:55 +02:00
stefan schippers ea533bd9e3 added bus_tap.sym 2023-05-21 23:59:50 +02:00
stefan schippers 140aba3449 added handling of bus_tap.sym (wip) 2023-05-21 23:58:17 +02:00
stefan schippers 313f5898eb add guards against freee of null pointers in name_nodes_of_pins_labels_and_propagate() 2023-05-21 13:47:05 +02:00
stefan schippers 5c22d26072 update copyright info to 2023 2023-05-21 12:52:19 +02:00
stefan schippers 893389b01d hier_psprint_mtime(): fix wrong mtime calculation for (non existent file) generators 2023-05-21 09:25:19 +02:00
stefan schippers 7b12159e0c do not add hidden texts in symbol bboxes (symbol_bbox()) 2023-05-21 00:07:08 +02:00
stefan schippers c2e5c61b35 graphs: add xmag and ymag entry boxes for custom magnification factor for x/y axis labels, fix current_dirname handling when netlisting hierarchical http(s) designs. The goal is to allow netlisting remote designs seamlessly 2023-05-20 23:21:43 +02:00
stefan schippers 616364106f replace @symname in instance "schematic" attribute with basename of symbol (without extension) 2023-05-19 13:15:59 +02:00
stefan schippers 827d4c5aac added "xschem reset_flags" command to update and sync cached attributes of symbols and instances 2023-05-19 10:08:43 +02:00
stefan schippers df2111c277 (2) update poweramp.sch floater attributes(floater->name) 2023-05-19 09:36:02 +02:00
stefan schippers f09731589b update poweramp.sch floater attributes(floater->name) 2023-05-19 09:28:17 +02:00
stefan schippers 80acbfb107 set content-disposition flags in wget (--content-disposition) and curl (-J) helper downloaders to save downloaded files with correct names (no http queries) 2023-05-19 01:15:09 +02:00
stefan schippers 014ebf0477 is_from_web() function to avoid code repetitions, more heuristics when trying to descend into web hierarchies 2023-05-18 20:55:14 +02:00
stefan schippers e0bde2cb1c better handling of web_urls: if already cached do not download again 2023-05-18 11:03:32 +02:00
stefan schippers 1a9fddba99 revert back space after $rout param in symbolgen.tcl (was removed for testing) 2023-05-16 14:50:41 +02:00
stefan schippers eef043ef2f sym_vs_sch_pins() do not try to get the "type" attribute of symbols references containing "@" characters (unresolved @parameters) by loading the symbol and checking the xctx->sym[symbol].type attribute, this usually happens in parametrized symbol generators 2023-05-16 14:45:52 +02:00
stefan schippers 71c04ad071 fix unneeded there_are_floaters() call in callback.c 2023-05-16 09:52:23 +02:00
stefan schippers ce8adbb60e if multiple objects are selected (instances, texts, wires, ...) and there is an instance in the set edit instance attributes 2023-05-15 09:02:14 +02:00
stefan schippers 70ea2bb7f1 for better consistency floater=... attribute for text floaters changed to name=... so token name matches instance refdes (name=...). Documentation added for netlist_dir (netlisting.html) and local_netlist_dir 2023-05-14 23:43:16 +02:00
Stefan Schippers d577bdde7a resolved a memory leak (inst[..].instname) 2023-05-14 17:10:48 +02:00
stefan schippers 96eea54894 some code refactoring, duplicate code replaced with set_inst_flags(), set_sym_flags(), various fixes/optimizations about floaters 2023-05-14 12:58:25 +02:00
stefan schippers 9d58f8cbbc clear text member `floater_ptr` when text is changed to force cache update 2023-05-14 02:45:56 +02:00
stefan schippers 1ea0516b55 if floaters are used to display simulation data (@spice_get_voltage) force update on floater text caches on `b` cursor move 2023-05-14 02:22:18 +02:00
stefan schippers 9fcde30a52 do not perform tcl substitution before displaying netlist_commands text into an editor. Correctly restore xctx->current_dirname after netlisting. get_generator_command(): quote command name (just in case its pathname contains spaces). floater example labels in solar_panel.sch. Various corrections and optimizations in new floater labels code. 2023-05-14 01:13:18 +02:00
stefan schippers ee1979b8b2 low level functions for floaters and floater text caches is implemented 2023-05-13 13:13:35 +02:00
stefan schippers 9ea9d529f7 fix toggle_ignore function. If multiple elements selected with different *_ignore attributes flip each one of them accordingly. Baseline code added for text floaters 2023-05-12 14:54:22 +02:00
stefan schippers 9ea93e9938 hide_texts=true attribute added on instance will avoid the display of all symbol texts (will be probably used when using floater symbol texts) 2023-05-12 12:09:20 +02:00
stefan schippers 16b7bd068c disabled elements are displayed in grey and dashed. Properties->toggle *_ignore function can be undone 2023-05-12 10:31:09 +02:00
stefan schippers 4919d8734b remove dbg message 2023-05-12 01:30:38 +02:00
stefan schippers 35354e8fe3 fix: check for NULL type attribute in get_sch_from_sym(). Fix web schematic navigation (descend and return) in load_schematic() 2023-05-12 01:29:38 +02:00
stefan schippers 7d064269d0 doc updates (tutorial on sky130 installation, add note about gf180mcu) 2023-05-11 09:15:54 +02:00
stefan schippers f110e817ef ammeter.sym type set to "ammeter" instead of "probe", so will be greyed out if *_ignore attr is set 2023-05-11 00:47:59 +02:00
stefan schippers 5e281e7f10 *_ignore attributes for instances and symbols cached in .flags struct member for speed optimization. added some generator netlist testcases in xschemtest.tcl 2023-05-10 23:29:16 +02:00
stefan schippers 339c523f0b align symbol types, reducing number of different types (remove ngprobe, current_probe, differential_probe, raw_data_show --> probe 2023-05-10 17:46:16 +02:00
stefan schippers 4308b86744 add noconn symbol type to list of symbols NOT to grey out even if they have *_ignore=true attributes set 2023-05-10 14:53:49 +02:00
stefan schippers 626f2729ce remove used_symbols feature (may fail in some hierarchical situations) 2023-05-10 10:13:38 +02:00
stefan schippers f8846ca969 use symbol_ignore=true attribute on some objects in mos_power_ampli.sch, so they disappear in poweramp_lcc.sch 2023-05-10 04:49:32 +02:00
stefan schippers d7557d7945 fix netlisting schematics with generator name containing extension ( like symgen.tcl(1,2,3) ) 2023-05-10 04:40:22 +02:00
stefan schippers 1e74b21c49 get_trailing_path(): do not confuse generator extension with schematic/symbol extension 2023-05-10 04:08:47 +02:00
stefan schippers 7ad930e7f0 istances with *_ignore=true attribute will be drawn greyed out in schematics in the corresponding netlisting mode; command in Properties menu to toggle this attribute on selected instances 2023-05-10 03:13:13 +02:00
stefan schippers f2214150ae tedax, verilog, spice netlists: do not expand unused subcircuits (due to *_ignore attrs on instances/symbols) 2023-05-10 01:02:28 +02:00
stefan schippers 0a4f942fb7 symbol_ignore=true attribute can be set on all symbol elements (text, lines, rectangles, arcs, polys, instances, nets) such that these marked elements are not displayed when symbol is instantiated. 2023-05-09 23:26:46 +02:00
stefan schippers 9f50595455 mosgen has been changed to mosgen.tcl 2023-05-08 23:15:58 +02:00
stefan schippers 2a8197aa87 lvnot.sym/sch editing dor parametric lcc example 2023-05-08 15:40:08 +02:00
stefan schippers 376e547c48 find_file and match_file utility functions: do not try to descend unreadable dirs 2023-05-08 12:29:44 +02:00