From 88fba101a3e3724b33e4f6b4892cab8670847204 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 24 Jan 2010 07:58:28 -0500 Subject: [PATCH] Fix _change_request data type to save instruction --- src/V3Changed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Changed.cpp b/src/V3Changed.cpp index 7585fea5f..8bf0b224b 100644 --- a/src/V3Changed.cpp +++ b/src/V3Changed.cpp @@ -115,7 +115,7 @@ private: if (!scopep) nodep->v3fatalSrc("No scope found on top level, perhaps you have no statements?\n"); m_scopetopp = scopep; // Create change detection function - m_chgFuncp = new AstCFunc(nodep->fileline(), "_change_request", scopep, "bool"); + m_chgFuncp = new AstCFunc(nodep->fileline(), "_change_request", scopep, "IData"); m_chgFuncp->argTypes(EmitCBaseVisitor::symClassVar()); m_chgFuncp->symProlog(true); m_chgFuncp->declPrivate(true);