On Thu, 9 May 2013 13:35:04 -0700
Rob Gaddi <rga...@technologyhighland.invalid> wrote:
> On Thu, 9 May 2013 13:17:41 -0700 (PDT)
> Andy <
jone...@comcast.net> wrote:
>
> > Rob,
> >
> > You can put a Package Instantiation Declaration in the declarative region of the entity, architecture, block, or several other declarative regions (not process).
> >
> > If the generic you wish to use is visible where the PID is, then that generic can be used in the PID's generic map aspect.
> >
> > You can include a use statement after the PID to access declarations within it.
> >
> > Andy
>
> Thanks, Andy.
>
> I added the following line into the architecture declaration:
>
> package ldq is new data_queue
> generic map (
> DATA_WIDTH => DATA_WIDTH
> );
>
> But during compilation I got the message:
> Local instantiation of packages is not supported yet. Please contact
> Aldec Support to receive the latest status.
>
> Any clever workarounds, or am I subject to Aldec's implementational
> whims / my willingness to copy and paste code that should be nicely
> compartmentalized.
>
> Also, wasn't VHDL-2008 five years ago?
>
Found a workaround, at least for the special case of this issue. I was