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

From: <whygee@f-cpu.org>
Date: Fri Oct 17 2014 - 07:36:51 PDT
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.
Received on Fri Oct 17 07:37:25 2014

This archive was generated by hypermail 2.1.8 : Fri Oct 17 2014 - 07:38:06 PDT