From 7ac35e478b202bd4082de1f51640638435e7a28d Mon Sep 17 00:00:00 2001 From: Cary R Date: Thu, 30 Oct 2008 09:23:23 -0700 Subject: [PATCH] The scope of real values needs to be calculated. Finding the scope of a real value is no longer simple, so it must be calculated. --- vvp/vpi_real.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vvp/vpi_real.cc b/vvp/vpi_real.cc index 78b607519..f80e472b6 100644 --- a/vvp/vpi_real.cc +++ b/vvp/vpi_real.cc @@ -45,7 +45,7 @@ static int real_var_get(int code, vpiHandle ref) return 0; // Not implemented for now! case vpiAutomatic: - return (int) rfp->scope->is_automatic; + return (int) vpip_scope(rfp)->is_automatic; } return 0;