Subject: Re: [sv-cc] Updated extern/exports proposal - pure
From: Andrzej Litwiniuk (Andrzej.Litwiniuk@synopsys.com)
Date: Wed Mar 12 2003 - 09:07:48 PST
> 1. Maybe I missed this before, but why cannot pure functions open and close
> files? I don't see how this can have any side-effect that could affect a
> simulator implementation. Though, I can possibly understand this with
> stdout/err.
SV compiler is allowed to optimize away calls of pure functions.
This is the purpose of 'pure'.
Andrzej
This archive was generated by hypermail 2b28 : Wed Mar 12 2003 - 09:14:00 PST