undriven net warning has higher priority over open net
This commit is contained in:
parent
9bca5b3f5b
commit
4c17e2251e
|
|
@ -301,14 +301,7 @@ void traverse_node_hash()
|
|||
while(entry)
|
||||
{
|
||||
if( !record_global_node(3, NULL, entry->token)) {
|
||||
if(entry->d.out + entry->d.inout + entry->d.in == 1)
|
||||
{
|
||||
my_snprintf(str, S(str), "open net: %s", entry->token);
|
||||
if(!xctx->netlist_count) bus_hilight_lookup(entry->token, xctx->hilight_color, XINSERT_NOREPLACE);
|
||||
if(incr_hi) incr_hilight_color();
|
||||
statusmsg(str,2);
|
||||
}
|
||||
else if(entry->d.out ==0 && entry->d.inout == 0)
|
||||
if(entry->d.out ==0 && entry->d.inout == 0)
|
||||
{
|
||||
my_snprintf(str, S(str), "undriven node: %s", entry->token);
|
||||
if(!xctx->netlist_count) bus_hilight_lookup(entry->token, xctx->hilight_color, XINSERT_NOREPLACE);
|
||||
|
|
@ -316,6 +309,13 @@ void traverse_node_hash()
|
|||
statusmsg(str,2);
|
||||
tcleval("wm deiconify .infotext"); /* critical error: force ERC window showing */
|
||||
}
|
||||
else if(entry->d.out + entry->d.inout + entry->d.in == 1)
|
||||
{
|
||||
my_snprintf(str, S(str), "open net: %s", entry->token);
|
||||
if(!xctx->netlist_count) bus_hilight_lookup(entry->token, xctx->hilight_color, XINSERT_NOREPLACE);
|
||||
if(incr_hi) incr_hilight_color();
|
||||
statusmsg(str,2);
|
||||
}
|
||||
else if(entry->d.out >=2 && entry->d.port>=0) /* era d.port>=2 03102001 */
|
||||
{
|
||||
my_snprintf(str, S(str), "shorted output node: %s", entry->token);
|
||||
|
|
|
|||
Loading…
Reference in New Issue