Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Ok, so now what?

 
Thread Tools Search this Thread
Old 10-07-2003, 02:44 PM   #1
Default Ok, so now what?


Ok, so I just recently found out about VHDL. Im interested in
simulating a digital circuit to see how it works. I built a simple
VHDL script, but now I don't see any way to run this script. Im on Sun
Solaris 9, and aparently, you need a seperate compiler other than GCC
to compile this.
Is VHDL compiled to binary then run or is it more of an interpreted
(shell-like) language where you run under an interpreter? Does anyone
know where I can find either a compiler or an interpreter for this?
Anti-spam email: rwatkins at dssolutions dot com.


usao
  Reply With Quote
Old 10-07-2003, 04:02 PM   #2
Ralf Hildebrandt
 
Posts: n/a
Default Re: Ok, so now what?
usao wrote:


> Ok, so I just recently found out about VHDL. Im interested in
> simulating a digital circuit to see how it works. I built a simple
> VHDL script, but now I don't see any way to run this script. Im on Sun
> Solaris 9, and aparently, you need a seperate compiler other than GCC
> to compile this.


VHDL is not connected to any operating system. GCC is a software
compiler. VHDL is a hardware description language.


> Is VHDL compiled to binary then run or is it more of an interpreted
> (shell-like) language where you run under an interpreter?


No, you need a simulator-environment (consisting of a compiler,
elaborator and simulator).



> Does anyone
> know where I can find either a compiler or an interpreter for this?


Do not program VHDL. A HDL is a hardware description languaga. You have
to model hardware. Don't think in C-style.


Ralf



Ralf Hildebrandt
  Reply With Quote
Old 10-08-2003, 02:40 AM   #3
Jim Wu
 
Posts: n/a
Default Re: Ok, so now what?
Take a look at comp.lang.vhdl FAQ at http://www.vhdl.org/vi/comp.lang.vhdl/

Jim Wu
(remove capital letters)
http://www.geocities.com/jimwu88/chips


"usao" <> wrote in message
news: m...
> Ok, so I just recently found out about VHDL. Im interested in
> simulating a digital circuit to see how it works. I built a simple
> VHDL script, but now I don't see any way to run this script. Im on Sun
> Solaris 9, and aparently, you need a seperate compiler other than GCC
> to compile this.
> Is VHDL compiled to binary then run or is it more of an interpreted
> (shell-like) language where you run under an interpreter? Does anyone
> know where I can find either a compiler or an interpreter for this?
> Anti-spam email: rwatkins at dssolutions dot com.





Jim Wu
  Reply With Quote
Old 10-08-2003, 06:56 PM   #4
Mike Treseler
 
Posts: n/a
Default Re: Ok, so now what?
usao wrote:
> Ok, so I just recently found out about VHDL. Im interested in
> simulating a digital circuit to see how it works. I built a simple
> VHDL script, but now I don't see any way to run this script.


You need a simulator like Modelsim.

vlib work
vmap work work
vcom my_script.vhd
vsim -c my_script -do "run"


related thread
http://groups.google.com/groups?q=si...onment+Ramenan


-- Mike Treseler



Mike Treseler
  Reply With Quote
Old 10-09-2003, 08:24 AM   #5
John Williams
 
Posts: n/a
Default Re: Ok, so now what?
Mike Treseler wrote:
> usao wrote:
>
>> Ok, so I just recently found out about VHDL. Im interested in
>> simulating a digital circuit to see how it works. I built a simple
>> VHDL script, but now I don't see any way to run this script.

>
>
> You need a simulator like Modelsim.
>
> vlib work
> vmap work work
> vcom my_script.vhd
> vsim -c my_script -do "run"


While the other comments about modeling vs compiling are true, and
essential in the "mind set" for VHDL, I should mention GHDL, which is a
gcc extension to compile VHDL into a simulation model.

http://ghdl.free.fr/

Regards,

John



John Williams
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46