Stefan Schippers
|
051b20c014
|
code formating, use some intermediate variables for code readability, line length limited to 124 chars
|
2020-10-04 23:55:43 +02:00 |
Stefan Schippers
|
40d05a2c60
|
fix erroneous slotted instance recognition (confuse U2[3:0] with U3:2) in translate(), breaking in some cases the "net name on instance pin" feature
|
2020-10-03 01:04:57 +02:00 |
Stefan Schippers
|
8807c7250d
|
various graphic rendering fixes for the new "view instance pin net names" function. Fixed some errors in merge schematic in callback.c and paste.c
|
2020-10-02 03:21:22 +02:00 |
Stefan Schippers
|
d706e45987
|
set max width of .c files <=130 chars; Fix netlist regression: if no "lab=value" is given in instance attributes get lab from symbol "template=" string. This was commented out recently and now reverted back. "View->Enable show net names on symbol pins" global menu added: if unset no symbol pin net names will be shown regardless of instance/symbol "net_name=true" and pin @#n:net_name attributes.
|
2020-09-30 23:55:07 +02:00 |
Stefan Schippers
|
f0b4ab060a
|
optimized translate()
|
2020-09-30 03:06:56 +02:00 |
Stefan Schippers
|
6c425e60b8
|
if component has "net_name=true" and pins have "@#n:net_name" attributes, show "<UNCONN>" if a pin terminal is not attached to any net.
|
2020-09-30 01:57:38 +02:00 |
Stefan Schippers
|
91e74fadcb
|
"@#n:net_name" attribute (n = pin name or number) in symbols translates to net name attached to pin. "lab_show.sym" component that shows (does not assign) net name. "highlight=true" attribute can be given on instances in addition to symbols
|
2020-09-30 00:30:48 +02:00 |
Stefan Schippers
|
39b7a441b3
|
fix regression: hilight/rename duplicated instance names was no more functional
|
2020-09-23 00:58:39 +02:00 |
Stefan Schippers
|
9f82cf47aa
|
verilog_ignore, spice_ignore, vhdl_ignore attributes on schematic pins are propagated to symbol pin attributes (if using make symbol from schematic, otherwise propagate by hand). These pins are not netlisted in the respective netlist format
|
2020-09-02 12:30:52 +02:00 |
Stefan Schippers
|
6608230df9
|
fix segfault when instantiating LCC schematics if sub-schematic attribute translate()s to empty string: draw_string() tries to modify const char * returned from translate(); set more const attributes in function string params to catch more such errors
|
2020-08-31 02:25:41 +02:00 |
Stefan Schippers
|
fea391fcfd
|
fix bug in subst_tok() ( subst_tok(NULL, "tok", "val") --> NULL instead of "tok=val")
|
2020-08-21 10:50:27 +02:00 |
Stefan Schippers
|
8012c2755f
|
argument # checking in xschem() tcl extender
|
2020-08-19 10:25:11 +02:00 |
Stefan Schippers
|
993d188f1c
|
subst_tok() compacted
|
2020-08-19 09:06:11 +02:00 |
Stefan Schippers
|
edca38f942
|
subst_tok() compacted, more comments
|
2020-08-19 09:00:44 +02:00 |
Stefan Schippers
|
aeb4c5d686
|
subst_token(): replace/delete tokens with no value at end of string: ".....token\0"
|
2020-08-18 23:45:32 +02:00 |
Stefan Schippers
|
649a9e6ba7
|
subst_tok(): remove dbg info
|
2020-08-18 23:14:57 +02:00 |
Stefan Schippers
|
29212e3892
|
subst_tok(): never add unmatched token at end if NULL value specified, correctly handle escaped spaces in token values
|
2020-08-18 23:09:40 +02:00 |
schippes
|
57193d3437
|
fix list_tokens(), reallocation of token was terminating the string at 1st char
|
2020-08-18 09:39:29 +02:00 |
schippes
|
2afc4b70a1
|
subst_token(): do substitution only on first matching token, avoid clobbering at all successive matching tokens
|
2020-08-18 02:33:58 +02:00 |
schippes
|
f4f90b87d2
|
fix for edit_prop dialog positioning as per Joanne Low feedback on windows, complete rewrite of subst_token() function as it was so intricated and full of malfunctioning corner cases that i decided to do a ground zero rewrite
|
2020-08-18 01:39:44 +02:00 |
Stefan SChippers
|
7cab8d9e73
|
fix unterminated result in subst_token()
|
2020-08-17 14:35:45 +02:00 |
Stefan SChippers
|
8e4e23cf2d
|
better subst_token() function (add value to token with no value, delete token with no value), added comments
|
2020-08-17 13:37:27 +02:00 |
schippes
|
c5440c2b0f
|
make get_tok_value() and subst_tok() work well also with strings containing tokens with no value.
|
2020-08-17 01:08:13 +02:00 |
schippes
|
574900e1df
|
combobox is editable so new attributes can be directly typed in
|
2020-08-16 15:08:17 +02:00 |
schippes
|
9570439e16
|
made edit_symbol_property and tcl edit_prop procedure much simpler when user clicks another instance while edit_prop dialog still open
|
2020-08-16 03:34:45 +02:00 |
schippes
|
58a43ccc4d
|
code cleanups, preparing for editprop combobox token selector
|
2020-08-15 10:48:26 +02:00 |
schippes
|
c5f412bdb7
|
symbol attribute @symname will display symbol name without extension as it used to be in earlier versions. @symname_ext will print full rootname of symbol. Some doc updates on symbol attributes
|
2020-08-12 11:31:42 +02:00 |
schippes
|
470f452caf
|
fix log message reporting in my_realloc(), fix remove_symbol() if removed symbol in middle of array
|
2020-08-11 02:55:24 +02:00 |
schippes
|
afd26a09e2
|
Joanne fixes: in print_vhdl_primitive, set variable, format, from "vhdl_format" with get_tok_value before checking if its NULL, more work on windows port.
|
2020-08-10 23:43:20 +02:00 |
schippes
|
8dac4753f7
|
Verilog and vhdl netlisters: print as instance parameters all params listed in instance properties, excluding "name" and all params not listed in template
|
2020-08-10 14:15:36 +02:00 |
Stefan SChippers
|
5e8df730a0
|
populating xschem git repo
|
2020-08-08 15:47:34 +02:00 |