Skip to content

Commit

Permalink
Fix missing data_type mark for array words.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed Jan 19, 2007
1 parent 4d81649 commit e4d7eda
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion elab_net.cc
Expand Up @@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: elab_net.cc,v 1.192 2007/01/16 05:44:15 steve Exp $"
#ident "$Id: elab_net.cc,v 1.193 2007/01/19 04:26:24 steve Exp $"
#endif

# include "config.h"
Expand Down Expand Up @@ -1767,10 +1767,16 @@ NetNet* PEIdent::elaborate_net_array_(Design*des, NetScope*scope,
assert(sig->array_index_is_valid(index));
index = sig->array_index_to_address(index);

if (debug_elaborate) {
cerr << get_line() << ": debug: Elaborate word "
<< index << " of " << sig->name() << endl;
}

NetNet*tmp = new NetNet(scope, scope->local_symbol(),
NetNet::IMPLICIT, sig->vector_width());
tmp->set_line(*this);
tmp->local_flag(true);
tmp->data_type(sig->data_type());
connect(tmp->pin(0), sig->pin(index));
return tmp;
}
Expand Down Expand Up @@ -2881,6 +2887,9 @@ NetNet* PEUnary::elaborate_net(Design*des, NetScope*scope,

/*
* $Log: elab_net.cc,v $
* Revision 1.193 2007/01/19 04:26:24 steve
* Fix missing data_type mark for array words.
*
* Revision 1.192 2007/01/16 05:44:15 steve
* Major rework of array handling. Memories are replaced with the
* more general concept of arrays. The NetMemory and NetEMemory
Expand Down

0 comments on commit e4d7eda

Please sign in to comment.