From 710ad582ed3cffeae5f699e47ae8854e564202aa Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Sat, 28 Mar 2009 12:23:49 -0700 Subject: [PATCH] Make VHDL code generator skip over virtual pins Fixes pr2701438 (cherry picked from commit a05ac4b5f4baf377b5da5b116344cf23b4e1ad90) --- tgt-vhdl/scope.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/tgt-vhdl/scope.cc b/tgt-vhdl/scope.cc index fe45e5722..718a32d99 100644 --- a/tgt-vhdl/scope.cc +++ b/tgt-vhdl/scope.cc @@ -952,6 +952,7 @@ static int draw_constant_drivers(ivl_scope_t scope, void *_parent) j++) { // Make sure the nexus code is generated ivl_nexus_t nex = ivl_signal_nex(sig, j); + if (!nex) continue; // skip virtual pins seen_nexus(nex); nexus_private_t *priv =