Re: [sv-ec] Soft Constraints #2987 - minor syntax question

From: Vreugdenhil, Gordon <gordon_vreugdenhil@mentor.com>
Date: Mon Aug 15 2011 - 17:07:04 PDT

Never mind - leading unary plus/minus is the issue. But if we go to a keyword that is no longer an issue.

Gordon
===========
Gord Vreugdenhil
gordonv@model.com

On Aug 15, 2011, at 4:41 PM, "Dhiraj Goswami" <Dhiraj.Goswami@synopsys.com> wrote:

> Doing (a < 5 soft;) does not necessitates adding a key word. Whereas (soft a < 5) will need to add "soft" as a key word.
>
>
> Regards,
> Dhiraj
>
> -----Original Message-----
> From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Gordon Vreugdenhil
> Sent: Monday, August 15, 2011 4:22 PM
> To: SV_EC List
> Subject: [sv-ec] Soft Constraints #2987 - minor syntax question
>
> In the syntax for the constraints, the "soft" keyword was used at the
> end of the constaint rather than the beginning. In most other
> contexts, qualifications lead (i.e. in declarations, etc) rather than
> follow, so wouldn't it make more sense to have: soft a < 5;
> rather than a < 5 soft;
>
> Is there a particular reason for the suffix form rather than the prefix
> or was it just personal preference?
>
> Gord.
>
> --
> --------------------------------------------------------------------
> Gordon Vreugdenhil 503-685-0808
> Model Technology (Mentor Graphics) gordonv@model.com
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Aug 15 17:07:23 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 15 2011 - 17:07:26 PDT