Re: [vhdl-200x] Standard Package enhancements

From: Daniel Kho <daniel.kho@gmail.com>
Date: Thu Apr 16 2015 - 08:37:56 PDT
Yes, I have something similar to the active_high() and active_low()
functions you have as well. Perhaps it's time for us to standardize these?

"Because boolean_vector can't support negative ranges, I had to change this
to std_ulogic_vector or unsigned instead.

*"*
I meant I had to create my own types instead (e.g. I have a type called
t_flag).
std_ulogic_vector's range is also (natural range <>). I'm not sure if it's
a good idea to expand all these ranges to (integer range <>)? For
std_ulogic_vector, unsigned, and signed?

-Daniel

On 16 April 2015 at 21:01, Martin.J Thompson <Martin.J.Thompson@trw.com>
wrote:

>     I wrote to_stdulogic and to_stdulogicvector functions for these, and
> can share them if there's a place for me to deposit the source.
>
>
>
> *[MJT] Feel free to send me a pull request to my random collection of VHDL
> functions here if you like:*
>
> *https://github.com/martinjthompson/libv
> <https://github.com/martinjthompson/libv> *
>
>
>
> *Cheers,*
>
> *Martin*
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, 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 Thu Apr 16 08:38:36 2015

This archive was generated by hypermail 2.1.8 : Thu Apr 16 2015 - 08:39:07 PDT