Re: error message on WAIT FOR.


Subject: Re: error message on WAIT FOR.
From: Dale E Martin (dmartin@cliftonlabs.com)
Date: Thu Apr 19 2001 - 14:55:18 MDT


> In the next code have been writed
> wait for (CK'event and CK = '1');
> in the place of
> wait until (CK'event and CK = '1');
 
> While processing this file with scram,
> I have take the next error message:
>
> %>scram -publish-cc ts7.vhdl
> Processing file ts7.vhdl
> scram: aire/iir/IIRScram/IIRScram_Operator.cc:117: class IIR * IIRScram_Operator::_rval_to_decl(IIR_TypeDefinition *): Assertion `_is_resolved() == true || parse_error == true' failed.
 
> Compilation aborted at Wed Apr 18 22:41:38

Hi, the current version in CVS still contained this bug so I've fixed it.
The expression in timeout clause ("wait for") must be a subtype of time.
When I run your errant code through the fixed version, I get the following
(correct) error:

~/test/vhdl> /work/dmartin/savant/bin/scram dmitry.vhdl
Processing file dmitry.vhdl
dmitry.vhdl:29: A timeout clause must have a subtype of |time|.

Thanks for the bug report!

       Dale

-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
dmartin@cliftonlabs.com
http://www.cliftonlabs.com
pgp key available



This archive was generated by hypermail 2b25 : Mon Mar 18 2002 - 13:00:01 MST