add "show_infowindow_after_netlist" tcl variable (default = 0) that can be set in xschemrc to always show erc window after netlist even without or no critical errors

This commit is contained in:
stefan schippers 2023-06-25 09:05:37 +02:00
parent f95a1b7244
commit 6198d21404
6 changed files with 11 additions and 1 deletions

View File

@ -519,6 +519,7 @@ int global_spice_netlist(int global) /* netlister driver */
my_free(_ALLOC_ID_, &type);
my_free(_ALLOC_ID_, &place);
xctx->netlist_count = 0;
if(tclgetboolvar("show_infowindow_after_netlist")) tcleval("show_infotext");
return err;
}

View File

@ -271,6 +271,7 @@ int global_tedax_netlist(int global) /* netlister driver */
}
if(!debug_var) xunlink(netl_filename);
xctx->netlist_count = 0;
if(tclgetboolvar("show_infowindow_after_netlist")) tcleval("show_infotext");
return err;
}

View File

@ -399,6 +399,7 @@ int global_verilog_netlist(int global) /* netlister driver */
my_free(_ALLOC_ID_, &tmp_string);
my_free(_ALLOC_ID_, &type);
xctx->netlist_count = 0;
if(tclgetboolvar("show_infowindow_after_netlist")) tcleval("show_infotext");
return err;
}

View File

@ -486,6 +486,7 @@ int global_vhdl_netlist(int global) /* netlister driver */
my_free(_ALLOC_ID_, &type);
my_free(_ALLOC_ID_, &port_value);
xctx->netlist_count = 0;
if(tclgetboolvar("show_infowindow_after_netlist")) tcleval("show_infotext");
return err;
}

View File

@ -5470,7 +5470,8 @@ set tctx::global_list {
persistent_command preserve_unchanged_attrs prev_symbol ps_colors rainbow_colors
rawfile_loaded rcode recentfile
replace_key retval retval_orig rotated_text search_exact search_found search_schematic
search_select search_value selected_tok show_hidden_texts show_infowindow show_pin_net_names
search_select search_value selected_tok show_hidden_texts show_infowindow
show_infowindow_after_netlist show_pin_net_names
simconf_default_geometry simconf_vpos simulate_bg spiceprefix split_files svg_colors
svg_font_name sym_txt symbol symbol_width tclcmd_txt tclstop text_line_default_geometry
textwindow_fileid textwindow_filename textwindow_w tmp_bus_char toolbar_horiz toolbar_list
@ -6560,6 +6561,7 @@ set_ne compare_sch 0
set_ne disable_unique_names 0
set_ne sym_txt 1
set_ne show_infowindow 0
set_ne show_infowindow_after_netlist 0
set_ne symbol_width 150
set_ne editor {gvim -f}
set_ne rainbow_colors 0

View File

@ -337,6 +337,10 @@
# set show_infowindow 0
###########################################################################
#### ALWAYS SHOW ERC INFO WINDOW AFTER NETLIST
###########################################################################
#### default: 0
# set show_infowindow_after_netlist 0
###########################################################################
#### TCP CONNECTION WITH GAW