RE: [vhdl-200x] More operators for integers

From: Martin.J Thompson <Martin.J.Thompson@trw.com>
Date: Mon Oct 20 2014 - 02:47:40 PDT
Thanks YG,

The idea is not to replace the proposal for modular types - both proposals may indeed go forwards in one form or another...

Cheers,
Martin

-----Original Message-----
From: owner-vhdl-200x@eda.org [mailto:owner-vhdl-200x@eda.org] On Behalf Of whygee@f-cpu.org
Sent: 17 October 2014 15:37
To: vhdl-200x@eda.org
Subject: Re: [vhdl-200x] More operators for integers

Le 2014-10-17 11:52, Martin.J Thompson a écrit :
> Hi all,

Hi !
I have tried to follow the discussions here though too little time to participate.

> I have added a concrete proposal to add logical and shift operators to 
> the INTEGER type:
> 
> http://www.eda-twiki.org/cgi-bin/view.cgi/P1076/IntegerOperators [1]
> 
> Please sign up with your support, opposition, add comments, 
> corrections.

I like that it is concise, simple, easy to understand, not fancy, with the "obvious caveats but we're warned".
This is probably the best route, the modular way is "safer"
but might not be as quick to implement in conforming tools, with more burden on the compliance tests as well...

I would prefer the modular implementation, for practical application, because dealing with widths different from 32 bits requires a number of explicit masks that are managed automatically by the modular type.

But if the modular type is not accepted, then the above proposal is the way to go IMHO.

> Thanks,
> 
> Martin
YG

--
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 Oct 20 02:49:09 2014

This archive was generated by hypermail 2.1.8 : Mon Oct 20 2014 - 02:49:23 PDT