Subject: Re: [vhdl-200x] Corrections to Minutes for VHDL-200X-FT meeting, San Jose Dec...
From: Andy D Jones (andy.d.jones@lmco.com)
Date: Wed Dec 10 2003 - 06:58:48 PST
In a message dated 12/9/2003 5:52:53 PM Pacific Standard Time, Jim@synthworks.com writes:- Boolean Equivalence
>
> Please don't. Implicitly assuming a boolean value leads to
> confusion. We should not trade the type-safe nature of VHDL for
> (debatable) convenience. Is it really so much better to type "if
> (<signal>)", than "if (<signal> = '1')"? How about the less-obvious
> case "if (resetn)"? Should that read as "resetn = '1'" or "resetn is
> active (low)". VHDL would have to assume the former, while users
> browsing the sources would be tempted reading the latter statement
> into the code.
Currently it is needed/desired in the PSL context.
We are evaluating whether it makes sense in a wider context.
I am kind of leaning in the same direction you are.
Other members of the group are pushing in this direction.
To me it has not hit myActually, current PSL already interprets STD_uLogic '1' and '0' as Boolean true / false.----------------------------------------------------------------------------
Ben Cohen Publisher, Trainer, Consultant (310) 721-4830
http://www.vhdlcohen.com/ vhdlcohen@aol.com
Author of following textbooks:
* Using PSL/SUGAR with Verilog and VHDL
Guide to Property Specification Language for ABV, 2003 isbn 0-9705394-4-4
* Real Chip Design and Verification Using Verilog and VHDL, 2002 isbn 0-9705394-2-8
* Component Design by Example ", 2001 isbn 0-9705394-0-1
* VHDL Coding Styles and Methodologies, 2nd Edition, 1999 isbn 0-7923-8474-1
* VHDL Answers to Frequently Asked Questions, 2nd Edition, isbn 0-7923-8115
------------------------------------------------------------------------------
This archive was generated by hypermail 2b28 : Wed Dec 10 2003 - 07:00:36 PST