Thanks...
I guess there are features in VHDL 93 that I have not been aware of. I'll have
to read up and give them a try.
CRS
Mike Treseler wrote:
> Clyde R. Shappee wrote:
> > Hi, Mike,
> >
> > Could please enlighten me on your usage
> >
> > integer'image(null_vec'left)
>
> It an integer, the left index of the vector.
>
> > What's it doing? Is image the function that Ben Cohen provides on his CD
> > with his books?
>
> No. Standard VHDL. Supported by all the sim and synth tools I have tried.
>
> > What is integer' doing? type casting?
>
> No. It's a built in VHDL "attribute" , a kind of function.
>
> > Have I been asleep, or why don't I know about this from all of my reading.
>
> A lot of the cool parts of VHDL-93 were neglected, because
> they didn't work with every version of every tool.
> They now work with most versions of most tools, so
> feel free to use them.
>
> -- Mike Treseler
|