add erc_open_net_is_error and erc_shorted_output_is_error xschemrc variables to turn related ERC warnings into errors (force popup ERC window)
This commit is contained in:
parent
a9e4bc1300
commit
5338deac78
|
|
@ -218,6 +218,7 @@ int traverse_node_hash()
|
|||
if(!xctx->netlist_count) bus_hilight_hash_lookup(entry->token, xctx->hilight_color, XINSERT_NOREPLACE);
|
||||
if(incr_hi) incr_hilight_color();
|
||||
statusmsg(str,2);
|
||||
if(tclgetboolvar("erc_open_net_is_error")) err |= 1;
|
||||
}
|
||||
else if(entry->d.out >=2 && entry->d.port>=0) /* era d.port>=2 03102001 */
|
||||
{
|
||||
|
|
@ -225,6 +226,7 @@ int traverse_node_hash()
|
|||
if(!xctx->netlist_count) bus_hilight_hash_lookup(entry->token, xctx->hilight_color, XINSERT_NOREPLACE);
|
||||
if(incr_hi) incr_hilight_color();
|
||||
statusmsg(str,2);
|
||||
if(tclgetboolvar("erc_shorted_output_is_error")) err |= 1;
|
||||
}
|
||||
else if(entry->d.in ==0 && entry->d.inout == 0)
|
||||
{
|
||||
|
|
@ -239,6 +241,7 @@ int traverse_node_hash()
|
|||
if(!xctx->netlist_count) bus_hilight_hash_lookup(entry->token, xctx->hilight_color, XINSERT_NOREPLACE);
|
||||
if(incr_hi) incr_hilight_color();
|
||||
statusmsg(str,2);
|
||||
if(tclgetboolvar("erc_shorted_output_is_error")) err |= 1;
|
||||
}
|
||||
}
|
||||
dbg(1, "traverse_node_hash(): node: %s in=%d out=%d inout=%d port=%d\n",
|
||||
|
|
|
|||
|
|
@ -8391,7 +8391,7 @@ set tctx::global_list {
|
|||
dim_bg dim_value disable_unique_names do_all_inst draw_crosshair draw_grid draw_grid_axes
|
||||
draw_window edit_prop_pos edit_prop_size edit_symbol_prop_new_sel editprop_sympath
|
||||
en_hilight_conn_inst enable_dim_bg enable_stretch env(PDK) env(PDK_ROOT)
|
||||
enter_text_default_geometry filetmp
|
||||
enter_text_default_geometry erc_open_net_is_error erc_shorted_output_is_error filetmp
|
||||
fix_broken_tiled_fill flat_netlist fullscreen gaw_fd gaw_tcp_address graph_autoload graph_bus
|
||||
graph_change_done graph_dialog_default_geometry graph_digital graph_legend graph_linewidth_mult
|
||||
graph_logx graph_logy graph_private_cursor graph_rainbow graph_schname graph_sel_color
|
||||
|
|
@ -9990,6 +9990,8 @@ set_ne show_infowindow 0
|
|||
set_ne show_infowindow_after_netlist onerror
|
||||
set_ne no_ask_save 0 ;# if set to 1 ctrl-s (save) will not ask to save
|
||||
set_ne no_ask_simulate 0 ;# if set to 1 no confirmation for simulation ('s')
|
||||
set_ne erc_open_net_is_error 0;# if set to 1 turn warnings into errors
|
||||
set_ne erc_shorted_output_is_error 0;# if set to 1 turn warnings into errors
|
||||
set_ne symbol_width 150
|
||||
set_ne editor {gvim -f}
|
||||
set_ne rainbow_colors 0
|
||||
|
|
|
|||
|
|
@ -249,6 +249,11 @@
|
|||
#### default: disabled (0), will ask confirmation.
|
||||
# set no_ask_simulate 1
|
||||
|
||||
#### turn ERC warnings into errors
|
||||
#### default: disabled (0)
|
||||
# set erc_open_net_is_error 1
|
||||
# set erc_shorted_output_is_error 1
|
||||
|
||||
#### set widget scaling (mainly for font display), this is useful on 4K displays
|
||||
#### default: unset (tk uses its default) > 1.0 ==> bigger
|
||||
# set tk_scaling 1.7
|
||||
|
|
|
|||
Loading…
Reference in New Issue