Account for force l-values that are uwires.

This commit is contained in:
Stephen Williams 2014-02-02 17:05:42 -08:00
parent 7f59c51ca2
commit 4f1c43b690
1 changed files with 2 additions and 2 deletions

View File

@ -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;