Fix missing data_type mark for array words.
This commit is contained in:
parent
4d8164945e
commit
e4d7eda02a
11
elab_net.cc
11
elab_net.cc
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#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
|
#endif
|
||||||
|
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
|
|
@ -1767,10 +1767,16 @@ NetNet* PEIdent::elaborate_net_array_(Design*des, NetScope*scope,
|
||||||
assert(sig->array_index_is_valid(index));
|
assert(sig->array_index_is_valid(index));
|
||||||
index = sig->array_index_to_address(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*tmp = new NetNet(scope, scope->local_symbol(),
|
||||||
NetNet::IMPLICIT, sig->vector_width());
|
NetNet::IMPLICIT, sig->vector_width());
|
||||||
tmp->set_line(*this);
|
tmp->set_line(*this);
|
||||||
tmp->local_flag(true);
|
tmp->local_flag(true);
|
||||||
|
tmp->data_type(sig->data_type());
|
||||||
connect(tmp->pin(0), sig->pin(index));
|
connect(tmp->pin(0), sig->pin(index));
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
@ -2881,6 +2887,9 @@ NetNet* PEUnary::elaborate_net(Design*des, NetScope*scope,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: elab_net.cc,v $
|
* $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
|
* Revision 1.192 2007/01/16 05:44:15 steve
|
||||||
* Major rework of array handling. Memories are replaced with the
|
* Major rework of array handling. Memories are replaced with the
|
||||||
* more general concept of arrays. The NetMemory and NetEMemory
|
* more general concept of arrays. The NetMemory and NetEMemory
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue