From eaf1cc9120afaebfeca2b199b9c83f453b278172 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Tue, 29 Jul 2008 19:47:17 +0100 Subject: [PATCH] Fix assertion failure with arrayed signals --- tgt-vhdl/scope.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index 158ad0091..80ff7b6e6 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -769,12 +769,13 @@ static int draw_constant_drivers(ivl_scope_t scope, void *_parent) ivl_nexus_t nex = ivl_signal_nex(sig, i); seen_nexus(nex); - assert(i == 0); // TODO: Make work for more words nexus_private_t *priv = static_cast(ivl_nexus_get_private(nex)); assert(priv); if (priv->const_driver) { + assert(i == 0); // TODO: Make work for more words + cout << "NEEDS CONST DRIVER!" << endl; cout << "(in scope " << ivl_scope_name(scope) << endl;