Account for force l-values that are uwires.
This commit is contained in:
parent
7f59c51ca2
commit
4f1c43b690
|
|
@ -360,9 +360,9 @@ NetAssign_* PEIdent::elaborate_lval(Design*des,
|
|||
|
||||
ivl_assert(*this, use_sel == index_component_t::SEL_NONE);
|
||||
|
||||
if (reg->type()==NetNet::UNRESOLVED_WIRE) {
|
||||
if (reg->type()==NetNet::UNRESOLVED_WIRE && !is_force) {
|
||||
cerr << get_fileline() << ": error: "
|
||||
<< path_ << " Unable assign to unresolved wires."
|
||||
<< path_ << " Unable to assign to unresolved wires."
|
||||
<< endl;
|
||||
des->errors += 1;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue