Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   VHDL (http://www.velocityreviews.com/forums/f18-vhdl.html)
-   -   How to create an dll in VHDL? (http://www.velocityreviews.com/forums/t23393-how-to-create-an-dll-in-vhdl.html)

ugrumov 02-22-2005 10:13 AM

How to create an dll in VHDL?
 
How could I create a ".dll" file with VHDL to use it in another
programe (like in a bigger Delphi or C programe)?
Is it possible?

Thanksss!!!!


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Mike Treseler 02-22-2005 03:06 PM

Re: How to create an dll in VHDL?
 
ugrumov wrote:
> How could I create a ".dll" file with VHDL to use it in another
> programe (like in a bigger Delphi or C programe)?
> Is it possible?


No. The only practical use for vhdl is
logic synthesis and simulation.

-- Mike Treseler

Phil Tomson 02-23-2005 03:39 PM

Re: How to create an dll in VHDL? (GHDL plug)
 
In article <A--dncPU4Oj414bfRVn-rw@comcast.com>,
Mike Treseler <mike_treseler@comcast.net> wrote:
>ugrumov wrote:
>> How could I create a ".dll" file with VHDL to use it in another
>> programe (like in a bigger Delphi or C programe)?
>> Is it possible?

>
>No. The only practical use for vhdl is
>logic synthesis and simulation.
>
> -- Mike Treseler


Well, it might be possible if he uses GHDL (http://ghdl.free.fr/) because
it's a VHDL frontend for gcc, but it's not likely that he could use it
with a Delphi program.

This page talks about starting a simulation from a C program:
http://ghdl.free.fr/ghdl/Starting-a-...n-program.html

BTW: GHDL is working very nicely these days and it even runs on my Mac.
I've been using the latest version (0.16) for the past few weeks and I
haven't run into any problems with it. It's good to have an open-source
VHDL compiler/simulator that actually works.

Phil

Allan Herriman 02-23-2005 04:31 PM

Re: How to create an dll in VHDL? (GHDL plug)
 
On 23 Feb 2005 15:39:59 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:

>In article <A--dncPU4Oj414bfRVn-rw@comcast.com>,
>Mike Treseler <mike_treseler@comcast.net> wrote:
>>ugrumov wrote:
>>> How could I create a ".dll" file with VHDL to use it in another
>>> programe (like in a bigger Delphi or C programe)?
>>> Is it possible?

>>
>>No. The only practical use for vhdl is
>>logic synthesis and simulation.
>>
>> -- Mike Treseler

>
>Well, it might be possible if he uses GHDL (http://ghdl.free.fr/) because
>it's a VHDL frontend for gcc, but it's not likely that he could use it
>with a Delphi program.
>
>This page talks about starting a simulation from a C program:
>http://ghdl.free.fr/ghdl/Starting-a-...n-program.html
>
>BTW: GHDL is working very nicely these days and it even runs on my Mac.
>I've been using the latest version (0.16) for the past few weeks and I
>haven't run into any problems with it. It's good to have an open-source
>VHDL compiler/simulator that actually works.


"GHDL implements nearly all of the VHDL87 (common name for IEEE
1076-1987) standard, most features of VHDL93 (aka IEEE 1076-1993) and
the protected types of VHDL00 (aka IEEE 1076a or IEEE 1076-2000)."

Sounds like it still has a long way to go. Is there a clear statement
anywhere of exactly which language features it supports? The online
GHDL guide didn't want to tell me anything concrete.

Thanks,
allan

Phil Tomson 02-23-2005 05:01 PM

Re: How to create an dll in VHDL? (GHDL plug)
 
In article <6obp111d64thtkik4dag7ntl1uah7oai2d@4ax.com>,
Allan Herriman <allan.herriman.hates.spam@ctam.com.au.invalid> wrote:
>On 23 Feb 2005 15:39:59 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:
>
>>In article <A--dncPU4Oj414bfRVn-rw@comcast.com>,
>>Mike Treseler <mike_treseler@comcast.net> wrote:
>>>ugrumov wrote:
>>>> How could I create a ".dll" file with VHDL to use it in another
>>>> programe (like in a bigger Delphi or C programe)?
>>>> Is it possible?
>>>
>>>No. The only practical use for vhdl is
>>>logic synthesis and simulation.
>>>
>>> -- Mike Treseler

>>
>>Well, it might be possible if he uses GHDL (http://ghdl.free.fr/) because
>>it's a VHDL frontend for gcc, but it's not likely that he could use it
>>with a Delphi program.
>>
>>This page talks about starting a simulation from a C program:
>>http://ghdl.free.fr/ghdl/Starting-a-...n-program.html
>>
>>BTW: GHDL is working very nicely these days and it even runs on my Mac.
>>I've been using the latest version (0.16) for the past few weeks and I
>>haven't run into any problems with it. It's good to have an open-source
>>VHDL compiler/simulator that actually works.

>
>"GHDL implements nearly all of the VHDL87 (common name for IEEE
>1076-1987) standard, most features of VHDL93 (aka IEEE 1076-1993) and
>the protected types of VHDL00 (aka IEEE 1076a or IEEE 1076-2000)."
>
>Sounds like it still has a long way to go. Is there a clear statement
>anywhere of exactly which language features it supports? The online
>GHDL guide didn't want to tell me anything concrete.
>


Yes, it's a bit lacking in docs.

Maybe I'm not doing anything really fancy, but so far it's been working
fine for me. I'm developing a DSP-like design with some fixed-point math
and several lookuptables for things like exp().

The only think I can say is give it a try and see if it works for you. If
not, file a bug report. I've got it running on Windows/Cygwin (which took
me a day or two to get it to compile) and MacOSX.

Phil

Allan Herriman 02-23-2005 05:36 PM

Re: How to create an dll in VHDL? (GHDL plug)
 
On 23 Feb 2005 17:01:44 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:

>In article <6obp111d64thtkik4dag7ntl1uah7oai2d@4ax.com>,
>Allan Herriman <allan.herriman.hates.spam@ctam.com.au.invalid> wrote:
>>On 23 Feb 2005 15:39:59 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:
>>
>>>In article <A--dncPU4Oj414bfRVn-rw@comcast.com>,
>>>Mike Treseler <mike_treseler@comcast.net> wrote:
>>>>ugrumov wrote:
>>>>> How could I create a ".dll" file with VHDL to use it in another
>>>>> programe (like in a bigger Delphi or C programe)?
>>>>> Is it possible?
>>>>
>>>>No. The only practical use for vhdl is
>>>>logic synthesis and simulation.
>>>>
>>>> -- Mike Treseler
>>>
>>>Well, it might be possible if he uses GHDL (http://ghdl.free.fr/) because
>>>it's a VHDL frontend for gcc, but it's not likely that he could use it
>>>with a Delphi program.
>>>
>>>This page talks about starting a simulation from a C program:
>>>http://ghdl.free.fr/ghdl/Starting-a-...n-program.html
>>>
>>>BTW: GHDL is working very nicely these days and it even runs on my Mac.
>>>I've been using the latest version (0.16) for the past few weeks and I
>>>haven't run into any problems with it. It's good to have an open-source
>>>VHDL compiler/simulator that actually works.

>>
>>"GHDL implements nearly all of the VHDL87 (common name for IEEE
>>1076-1987) standard, most features of VHDL93 (aka IEEE 1076-1993) and
>>the protected types of VHDL00 (aka IEEE 1076a or IEEE 1076-2000)."
>>
>>Sounds like it still has a long way to go. Is there a clear statement
>>anywhere of exactly which language features it supports? The online
>>GHDL guide didn't want to tell me anything concrete.
>>

>
>Yes, it's a bit lacking in docs.
>
>Maybe I'm not doing anything really fancy, but so far it's been working
>fine for me. I'm developing a DSP-like design with some fixed-point math
>and several lookuptables for things like exp().
>
>The only think I can say is give it a try and see if it works for you. If
>not, file a bug report. I've got it running on Windows/Cygwin (which took
>me a day or two to get it to compile) and MacOSX.


I don't have that sort of time to spend. However, could you please
check your version with this file? It is a practical design that I
use for breaking synthesisers. A simulator should have no problem
with it.
http://fractional-divider.tripod.com/fracn20.zip

(If tripod won't let you have it, visit this site first:
http://fractional-divider.tripod.com/
)

There's a testbench in the "version 9" download, also available on
that site.

Regards,
Allan

Phil Tomson 02-24-2005 09:21 AM

Re: How to create an dll in VHDL? (GHDL plug)
 
In article <uifp11hugfm5hjppnih48eb905loquiu7c@4ax.com>,
Allan Herriman <allan.herriman.hates.spam@ctam.com.au.invalid> wrote:
>On 23 Feb 2005 17:01:44 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:
>
>>In article <6obp111d64thtkik4dag7ntl1uah7oai2d@4ax.com>,
>>Allan Herriman <allan.herriman.hates.spam@ctam.com.au.invalid> wrote:
>>>On 23 Feb 2005 15:39:59 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:
>>>
>>>>In article <A--dncPU4Oj414bfRVn-rw@comcast.com>,
>>>>Mike Treseler <mike_treseler@comcast.net> wrote:
>>>>>ugrumov wrote:
>>>>>> How could I create a ".dll" file with VHDL to use it in another
>>>>>> programe (like in a bigger Delphi or C programe)?
>>>>>> Is it possible?
>>>>>
>>>>>No. The only practical use for vhdl is
>>>>>logic synthesis and simulation.
>>>>>
>>>>> -- Mike Treseler
>>>>
>>>>Well, it might be possible if he uses GHDL (http://ghdl.free.fr/) because
>>>>it's a VHDL frontend for gcc, but it's not likely that he could use it
>>>>with a Delphi program.
>>>>
>>>>This page talks about starting a simulation from a C program:
>>>>http://ghdl.free.fr/ghdl/Starting-a-...n-program.html
>>>>
>>>>BTW: GHDL is working very nicely these days and it even runs on my Mac.
>>>>I've been using the latest version (0.16) for the past few weeks and I
>>>>haven't run into any problems with it. It's good to have an open-source
>>>>VHDL compiler/simulator that actually works.
>>>
>>>"GHDL implements nearly all of the VHDL87 (common name for IEEE
>>>1076-1987) standard, most features of VHDL93 (aka IEEE 1076-1993) and
>>>the protected types of VHDL00 (aka IEEE 1076a or IEEE 1076-2000)."
>>>
>>>Sounds like it still has a long way to go. Is there a clear statement
>>>anywhere of exactly which language features it supports? The online
>>>GHDL guide didn't want to tell me anything concrete.
>>>

>>
>>Yes, it's a bit lacking in docs.
>>
>>Maybe I'm not doing anything really fancy, but so far it's been working
>>fine for me. I'm developing a DSP-like design with some fixed-point math
>>and several lookuptables for things like exp().
>>
>>The only think I can say is give it a try and see if it works for you. If
>>not, file a bug report. I've got it running on Windows/Cygwin (which took
>>me a day or two to get it to compile) and MacOSX.

>
>I don't have that sort of time to spend. However, could you please
>check your version with this file? It is a practical design that I
>use for breaking synthesisers. A simulator should have no problem
>with it.
>http://fractional-divider.tripod.com/fracn20.zip
>
>(If tripod won't let you have it, visit this site first:
>http://fractional-divider.tripod.com/
>)
>
>There's a testbench in the "version 9" download, also available on
>that site.
>


compiled and elaborated just fine (including the testbench, after I
initialized a couple of generics). Not sure about the simulation; I
don't have much time to investigate further.


Phil



Allan Herriman 02-24-2005 10:12 AM

Re: How to create an dll in VHDL? (GHDL plug)
 
On 24 Feb 2005 09:21:36 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:

>In article <uifp11hugfm5hjppnih48eb905loquiu7c@4ax.com>,
>Allan Herriman <allan.herriman.hates.spam@ctam.com.au.invalid> wrote:
>>On 23 Feb 2005 17:01:44 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:
>>
>>>In article <6obp111d64thtkik4dag7ntl1uah7oai2d@4ax.com>,
>>>Allan Herriman <allan.herriman.hates.spam@ctam.com.au.invalid> wrote:
>>>>On 23 Feb 2005 15:39:59 GMT, ptkwt@aracnet.com (Phil Tomson) wrote:
>>>>
>>>>>In article <A--dncPU4Oj414bfRVn-rw@comcast.com>,
>>>>>Mike Treseler <mike_treseler@comcast.net> wrote:
>>>>>>ugrumov wrote:
>>>>>>> How could I create a ".dll" file with VHDL to use it in another
>>>>>>> programe (like in a bigger Delphi or C programe)?
>>>>>>> Is it possible?
>>>>>>
>>>>>>No. The only practical use for vhdl is
>>>>>>logic synthesis and simulation.
>>>>>>
>>>>>> -- Mike Treseler
>>>>>
>>>>>Well, it might be possible if he uses GHDL (http://ghdl.free.fr/) because
>>>>>it's a VHDL frontend for gcc, but it's not likely that he could use it
>>>>>with a Delphi program.
>>>>>
>>>>>This page talks about starting a simulation from a C program:
>>>>>http://ghdl.free.fr/ghdl/Starting-a-...n-program.html
>>>>>
>>>>>BTW: GHDL is working very nicely these days and it even runs on my Mac.
>>>>>I've been using the latest version (0.16) for the past few weeks and I
>>>>>haven't run into any problems with it. It's good to have an open-source
>>>>>VHDL compiler/simulator that actually works.
>>>>
>>>>"GHDL implements nearly all of the VHDL87 (common name for IEEE
>>>>1076-1987) standard, most features of VHDL93 (aka IEEE 1076-1993) and
>>>>the protected types of VHDL00 (aka IEEE 1076a or IEEE 1076-2000)."
>>>>
>>>>Sounds like it still has a long way to go. Is there a clear statement
>>>>anywhere of exactly which language features it supports? The online
>>>>GHDL guide didn't want to tell me anything concrete.
>>>>
>>>
>>>Yes, it's a bit lacking in docs.
>>>
>>>Maybe I'm not doing anything really fancy, but so far it's been working
>>>fine for me. I'm developing a DSP-like design with some fixed-point math
>>>and several lookuptables for things like exp().
>>>
>>>The only think I can say is give it a try and see if it works for you. If
>>>not, file a bug report. I've got it running on Windows/Cygwin (which took
>>>me a day or two to get it to compile) and MacOSX.

>>
>>I don't have that sort of time to spend. However, could you please
>>check your version with this file? It is a practical design that I
>>use for breaking synthesisers. A simulator should have no problem
>>with it.
>>http://fractional-divider.tripod.com/fracn20.zip
>>
>>(If tripod won't let you have it, visit this site first:
>>http://fractional-divider.tripod.com/
>>)
>>
>>There's a testbench in the "version 9" download, also available on
>>that site.
>>

>
>compiled and elaborated just fine (including the testbench, after I
>initialized a couple of generics). Not sure about the simulation; I
>don't have much time to investigate further.


Thanks Phil. That's good news, particularly considering that Modelsim
versions prior to 5.7b couldn't run the code correctly, and Synopsys
tools still can't compile it.

Regards,
Allan


All times are GMT. The time now is 05:07 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.