Add uwire to the multiple driver error message.
The original message talks about an unresolved net which may be something different/more encompassing. This patch explicitly adds uwire to the message to make it clear to the user that a uwire could cause this message.
This commit is contained in:
parent
e67dcf5216
commit
ce7a6fa0da
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999-2010 Stephen Williams (steve@icarus.com)
|
* Copyright (c) 1999-2011 Stephen Williams (steve@icarus.com)
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* This source code is free software; you can redistribute it
|
||||||
* and/or modify it in source code form under the terms of the GNU
|
* and/or modify it in source code form under the terms of the GNU
|
||||||
|
|
@ -424,8 +424,8 @@ NetNet* PEIdent::elaborate_lnet_common_(Design*des, NetScope*scope,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sig->type() == NetNet::UNRESOLVED_WIRE && sig->pin(0).is_linked()) {
|
if (sig->type() == NetNet::UNRESOLVED_WIRE && sig->pin(0).is_linked()) {
|
||||||
cerr << get_fileline() << ": error: Unresolved net " << sig->name()
|
cerr << get_fileline() << ": error: Unresolved net/uwire "
|
||||||
<< " cannot have multiple drivers." << endl;
|
<< sig->name() << " cannot have multiple drivers." << endl;
|
||||||
des->errors += 1;
|
des->errors += 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue