From 57f9130b5057884d803069d07847d670f5a7256f Mon Sep 17 00:00:00 2001 From: Cary R Date: Mon, 1 Nov 2010 14:38:26 -0700 Subject: [PATCH] Add an ivl_assert() --- elab_pexpr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/elab_pexpr.cc b/elab_pexpr.cc index 1231119a7..9d3cb8d69 100644 --- a/elab_pexpr.cc +++ b/elab_pexpr.cc @@ -220,6 +220,7 @@ NetExpr*PEIdent::elaborate_pexpr(Design*des, NetScope*scope) const list tmp = eval_scope_path(des, scope, oldpath); pscope = des->find_scope(scope, tmp); } + ivl_assert(*this, pscope); const NetExpr*ex_msb; const NetExpr*ex_lsb;