Forum: GHDL VHDL '02

Posted by Peter LaDow (Guest)
on 2009-02-13 18:04
(Received via mailing list)
Are there plans to add VHDL 2002 support?  I have some testbench code
that uses the protected types for shared variables.  I suppose it is
somewhat of a large effort, so I'll probably have to re-write things
for '93 for GHDL.  Just curious about the future.

Pete
--
--
"To love for the sake of being loved is human;  to love for the sake
of loving is Angelic."  -- Alphonse de Lamartine
Posted by Tristan Gingold (Guest)
on 2009-02-13 21:11
(Received via mailing list)
On Fri, Feb 13, 2009 at 09:02:33AM -0800, Peter LaDow wrote:
> Are there plans to add VHDL 2002 support?  I have some testbench code
> that uses the protected types for shared variables.  I suppose it is
> somewhat of a large effort, so I'll probably have to re-write things
> for '93 for GHDL.  Just curious about the future.

Protected types are already supported.  Be sure to use --std=02.

Tristan.
Posted by Peter LaDow (Guest)
on 2009-02-13 21:53
(Received via mailing list)
On Fri, Feb 13, 2009 at 12:09 PM, Tristan Gingold <tgingold@free.fr> 
wrote:
> On Fri, Feb 13, 2009 at 09:02:33AM -0800, Peter LaDow wrote:
>> Are there plans to add VHDL 2002 support?  I have some testbench code
>> that uses the protected types for shared variables.  I suppose it is
>> somewhat of a large effort, so I'll probably have to re-write things
>> for '93 for GHDL.  Just curious about the future.
>
> Protected types are already supported.  Be sure to use --std=02.

Doh!  I thought I looked in the manual.  But sure enough, it was
there, and works beautifully!

Thanks,
Pete
--
--
"To love for the sake of being loved is human;  to love for the sake
of loving is Angelic."  -- Alphonse de Lamartine
Posted by Tristan Gingold (Guest)
on 2009-02-13 22:10
(Received via mailing list)
On Fri, Feb 13, 2009 at 12:52:35PM -0800, Peter LaDow wrote:
> there, and works beautifully!
Great!

Tristan.
This topic is locked and can not be replied to.