From ef66ca649878f14342cf1bc17f64f7bd8daa8cc7 Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 6 Aug 2008 20:09:52 -0700 Subject: [PATCH] Do a part select of the array selection result not the base array. When doing the part select of an array selection you need to use the result from the array selection to do the part select not the base array signal. --- elab_net.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elab_net.cc b/elab_net.cc index f00936882..6cd63c12d 100644 --- a/elab_net.cc +++ b/elab_net.cc @@ -2327,7 +2327,7 @@ NetNet* PEIdent::elaborate_net_array_(Design*des, NetScope*scope, } while (0); #else if (name_tail.index.size() > sig->array_dimensions()) - tmp = process_select_(des, scope, sig); + tmp = process_select_(des, scope, tmp); #endif return tmp;