Correct elaboration of network constants.
commit08028177fece574438a89c80a827402bb3216842
authorStephen Williams <steve@icarus.com>
Sat, 6 Oct 2007 03:31:51 +0000 (5 20:31 -0700)
committerStephen Williams <steve@icarus.com>
Sat, 6 Oct 2007 03:31:51 +0000 (5 20:31 -0700)
tree3b9de1b59e2a5a73915aa38c5372808d6d5dd79e
parent9ed8614131c343a5450640982b63f1f86e11d97e
Correct elaboration of network constants.

Constant propagation incorrectly elided an entire constant net node
if only the LSB of the driven vector was HiZ. This caused the entire
vector to look like HiZ. Also, the code generator for writing the
constant values missed bits.

Signed-off-by: Stephen Williams <steve@icarus.com>
cprop.cc
tgt-vvp/vvp_scope.c