Path: chonsp.franklin.ch!not-for-mail From: Neil Franklin Newsgroups: comp.arch.fpga Subject: VHDL vs Verilog Date: 17 Oct 2000 22:57:42 +0200 Organization: My own Private Self Lines: 20 Message-ID: <6uk8b7chix.fsf@chonsp.franklin.ch> NNTP-Posting-Host: chonsp.franklin.ch X-Trace: chonsp.franklin.ch 971816262 629 10.0.3.2 (17 Oct 2000 20:57:42 GMT) X-Complaints-To: news@chonsp.franklin.ch NNTP-Posting-Date: 17 Oct 2000 20:57:42 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 Xref: chonsp.franklin.ch comp.arch.fpga:1917 This is most likely newbie question no. . In the various texts, posts here, listings of tools, etc I see references to two languages: VHDL and Verilog. Both roughly the same amount of references, so both seem to be widely used. I assume these two to both be HDLs, just like there exist multiple software programming languages (C, Fortran, Lisp, ...). What are the differences? What the relative strenghts? What types of jobs is one or the other best used for? I know I could ask comp.lang.[vhdl|verilog], but I suspect the anser there to be: ours is best. So what do you here on neutral ground think of the two? -- Neil Franklin, neil@franklin.ch.remove http://neil.franklin.ch/ Nerd, Geek, Hacker, Unix Guru, Sysadmin, Roleplayer, LARPer, Mystic ###### Message-ID: <39ECC5FD.493422C@andraka.com> From: Ray Andraka Organization: Andraka Consulting Group, Inc X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog References: <6uk8b7chix.fsf@chonsp.franklin.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 40 Date: Tue, 17 Oct 2000 21:35:29 GMT NNTP-Posting-Host: 24.13.238.93 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.ct.home.com 971818529 24.13.238.93 (Tue, 17 Oct 2000 14:35:29 PDT) NNTP-Posting-Date: Tue, 17 Oct 2000 14:35:29 PDT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.tesion.net!news.belwue.de!news.uni-stuttgart.de!uni-erlangen.de!newsfeeds.belnet.be!news.belnet.be!xfer13.netnews.com!netnews.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mail Xref: chonsp.franklin.ch comp.arch.fpga:1920 I don't think there is such a thing as neutral ground when it comes to that subject. It is more like religion. That said, I use VHDL because it gives me more control for getting the design to exactly what I want. It is more verbose than verilog, and can be more difficult to master (according to some). However, it has the controls I need to be able to do placement from within the code, and use it as a generator as opposed to for synthesis. As of last year, you couldn't do everything I needed with verilog. Outside of the US, VHDL is pretty much the standard. In the US, verilog use is fairly widespread, but then so is VHDL. Comes down to what you are comforatble with, and if it does what you need. Neil Franklin wrote: > > This is most likely newbie question no. . > > In the various texts, posts here, listings of tools, etc I see > references to two languages: VHDL and Verilog. Both roughly the same > amount of references, so both seem to be widely used. > > I assume these two to both be HDLs, just like there exist multiple > software programming languages (C, Fortran, Lisp, ...). > > What are the differences? What the relative strenghts? What types of > jobs is one or the other best used for? > > I know I could ask comp.lang.[vhdl|verilog], but I suspect the anser > there to be: ours is best. So what do you here on neutral ground think > of the two? > > -- > Neil Franklin, neil@franklin.ch.remove http://neil.franklin.ch/ > Nerd, Geek, Hacker, Unix Guru, Sysadmin, Roleplayer, LARPer, Mystic -- -Ray Andraka, P.E. President, the Andraka Consulting Group, Inc. 401/884-7930 Fax 401/884-7950 email ray@andraka.com http://www.andraka.com or http://www.fpga-guru.com ###### From: Muzaffer Kal Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog Date: 17 Oct 2000 22:36:07 GMT Organization: dspia, inc. Lines: 14 Message-ID: <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> Reply-To: muzaffer@dspia.com NNTP-Posting-Host: 209.31.228.232 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.8/32.548 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news.ifi.unizh.ch!news.imp.ch!psinet-eu-nl!newsfeeds.belnet.be!news.belnet.be!xfer13.netnews.com!netnews.com!feeder.via.net!sjc1.nntp.concentric.net!newsfeed.concentric.net!global-news-master Xref: chonsp.franklin.ch comp.arch.fpga:1951 Ray Andraka wrote: >I don't think there is such a thing as neutral ground when it comes to that >subject. It is more like religion. That said, I use VHDL because it gives me >more control for getting the design to exactly what I want. It is more verbose >than verilog, and can be more difficult to master (according to some). However, >it has the controls I need to be able to do placement from within the code, and >use it as a generator as opposed to for synthesis. As of last year, you >couldn't do everything I needed with verilog. Ray, would you like to expand little bit on what things VHDL does better for you ? ###### Message-ID: <39ECD686.C4A9E89B@andraka.com> From: Ray Andraka Organization: Andraka Consulting Group, Inc X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 Date: Tue, 17 Oct 2000 22:45:55 GMT NNTP-Posting-Host: 24.13.238.93 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.ct.home.com 971822755 24.13.238.93 (Tue, 17 Oct 2000 15:45:55 PDT) NNTP-Posting-Date: Tue, 17 Oct 2000 15:45:55 PDT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news.ifi.unizh.ch!news.imp.ch!fr.clara.net!small.fr.clara.net!xfer10.netnews.com!netnews.com!howland.erols.net!newshub2.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mail Xref: chonsp.franklin.ch comp.arch.fpga:1927 user attributes let me put INIT=, TNM, and RLOCs on instantiated primitives so I can generate optimized macros that I know will do the logic the way I want it everytime regardless of what the synthesizer wants to do. Last I looked, there was no way of doing that in Verilog. Muzaffer Kal wrote: > > Ray Andraka wrote: > > >I don't think there is such a thing as neutral ground when it comes to that > >subject. It is more like religion. That said, I use VHDL because it gives me > >more control for getting the design to exactly what I want. It is more verbose > >than verilog, and can be more difficult to master (according to some). However, > >it has the controls I need to be able to do placement from within the code, and > >use it as a generator as opposed to for synthesis. As of last year, you > >couldn't do everything I needed with verilog. > > Ray, > would you like to expand little bit on what things VHDL does better > for you ? -- -Ray Andraka, P.E. President, the Andraka Consulting Group, Inc. 401/884-7930 Fax 401/884-7950 email ray@andraka.com http://www.andraka.com or http://www.fpga-guru.com ###### From: Muzaffer Kal Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog Date: 18 Oct 2000 01:19:36 GMT Organization: dspia, inc. Lines: 12 Message-ID: References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> <39ECD686.C4A9E89B@andraka.com> Reply-To: muzaffer@dspia.com NNTP-Posting-Host: 209.31.228.232 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Newsreader: Forte Agent 1.8/32.548 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news.ifi.unizh.ch!news.imp.ch!psinet-eu-nl!newsfeeds.belnet.be!news.belnet.be!spacestar!newsfeed.frii.net!newspeer.cwnet.com!sjc1.nntp.concentric.net!newsfeed.concentric.net!global-news-master Xref: chonsp.franklin.ch comp.arch.fpga:1950 Ray Andraka wrote: >user attributes let me put INIT=, TNM, and RLOCs on instantiated primitives so I >can generate optimized macros that I know will do the logic the way I want it >everytime regardless of what the synthesizer wants to do. Last I looked, there >was no way of doing that in Verilog. I think it would be synthesizer specific but I think you can do this with xc_props and xc_rloc properties with Synplify. Muzaffer http://www.dspia.com ###### From: Kent Orthner Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog Date: 18 Oct 2000 10:48:09 +0900 Organization: ... Lines: 15 Sender: korthner@KENT Message-ID: References: <6uk8b7chix.fsf@chonsp.franklin.ch> NNTP-Posting-Host: dhcp237.inf.furukawa.co.jp X-Newsreader: Gnus v5.6.45/XEmacs 21.1 - "Canyonlands" Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.tele.dk!210.147.7.1!newsfeed.mesh.ad.jp!news.ksw.feedmania.org!nf1.xephion.ne.jp!fintnews!ifnews!inf-gw!postmaster Xref: chonsp.franklin.ch comp.arch.fpga:1947 Someone on one of these newsgroups had this to say about a month ago: (Apologies for lack of reference, and probable misquote) Verilog was written by hardware people with no real knowledge of how to write a programming language, and had to be banged around quite a bit before it was really useful. VHDL was written by programming language peeople with no real knowledge of hardware, and had to be banged around quite a bit before it was really useful. -Kent ###### Message-ID: <39ED0316.F754252C@andraka.com> From: Ray Andraka Organization: Andraka Consulting Group, Inc X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> <39ECD686.C4A9E89B@andraka.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 Date: Wed, 18 Oct 2000 01:56:02 GMT NNTP-Posting-Host: 24.13.238.93 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.ct.home.com 971834162 24.13.238.93 (Tue, 17 Oct 2000 18:56:02 PDT) NNTP-Posting-Date: Tue, 17 Oct 2000 18:56:02 PDT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.tesion.net!news.belwue.de!news.uni-stuttgart.de!uni-erlangen.de!newsfeed1.telenordia.se!news.algonet.se!algonet!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mail Xref: chonsp.franklin.ch comp.arch.fpga:1922 xc_rlocs doesn't work worth beans for synplicity VHDL. Last year it wasn't there for Verilog, but I have no confidence it would be any better. Nevertheless, with user attributes in VHDL, you've at least got a fighting chance of it working with someone else's tools too. Muzaffer Kal wrote: > > Ray Andraka wrote: > > >user attributes let me put INIT=, TNM, and RLOCs on instantiated primitives so I > >can generate optimized macros that I know will do the logic the way I want it > >everytime regardless of what the synthesizer wants to do. Last I looked, there > >was no way of doing that in Verilog. > > I think it would be synthesizer specific but I think you can do this > with xc_props and xc_rloc properties with Synplify. > > Muzaffer > http://www.dspia.com -- -Ray Andraka, P.E. President, the Andraka Consulting Group, Inc. 401/884-7930 Fax 401/884-7950 email ray@andraka.com http://www.andraka.com or http://www.fpga-guru.com ###### From: Andy Peters <"apeters <"@> n o a o [.] e d u> Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog Date: Thu, 19 Oct 2000 13:26:09 -0700 Organization: National Optical Astronomy Observatory Lines: 42 Message-ID: <8snlfi$1bnu$1@noao.edu> References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> NNTP-Posting-Host: theremin.tuc.noao.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: noao.edu 971987250 44798 140.252.18.68 (19 Oct 2000 20:27:30 GMT) X-Complaints-To: abuse@noao.edu NNTP-Posting-Date: 19 Oct 2000 20:27:30 GMT X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news.ifi.unizh.ch!news.imp.ch!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!enews.sgi.com!coop.net!ncar!noao!not-for-mail Xref: chonsp.franklin.ch comp.arch.fpga:1984 Muzaffer Kal wrote: > > Ray Andraka wrote: > > >I don't think there is such a thing as neutral ground when it comes to that > >subject. It is more like religion. That said, I use VHDL because it gives me > >more control for getting the design to exactly what I want. It is more verbose > >than verilog, and can be more difficult to master (according to some). However, > >it has the controls I need to be able to do placement from within the code, and > >use it as a generator as opposed to for synthesis. As of last year, you > >couldn't do everything I needed with verilog. > > Ray, > would you like to expand little bit on what things VHDL does better > for you ? Here's my take on it. I had a Verilog refresher yesterday. VHDL forces you to think more about what you're trying to accomplish. It's verbose, but by being verbose, things are clearly specified. Also, Verilog gives you enough rope to hang yourself. For instance, it allows you to connect things (vectors, ports, etc) with mismatched sizes. If the source port is narrower than the destination port, the extra bits in the destination are filled with zeros. If the source port is wider than the destination, the extra bits are truncated! VHDL, of course, says, "What are you, nuts? Your ports must be the same size." I could go on, but I'm tired. Software crash at the Los Angeles flight-control center delayed my flight this morning. They must have been running Windows ME, or something. -- a ---------------------------- Andy Peters Sr. Electrical Engineer National Optical Astronomy Observatory 950 N Cherry Ave Tucson, AZ 85719 apeters (at) n o a o [dot] e d u ###### From: Brian Drummond Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog Date: Fri, 20 Oct 2000 14:57:55 +0100 Message-ID: References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> <8snlfi$1bnu$1@noao.edu> NNTP-Posting-Host: shapes.demon.co.uk X-NNTP-Posting-Host: shapes.demon.co.uk:158.152.228.158 X-Trace: news.demon.co.uk 972049399 nnrp-12:26364 NO-IDENT shapes.demon.co.uk:158.152.228.158 X-Complaints-To: abuse@demon.net X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 34 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news.ifi.unizh.ch!news.imp.ch!psinet-eu-nl!psiuk-p4!uknet!dispose.news.demon.net!demon!news.demon.co.uk!demon!shapes.demon.co.uk!not-for-mail Xref: chonsp.franklin.ch comp.arch.fpga:1983 On Thu, 19 Oct 2000 13:26:09 -0700, Andy Peters <"apeters <"@> n o a o [.] e d u> wrote: >Muzaffer Kal wrote: >> >> Ray Andraka wrote: >> >> >I don't think there is such a thing as neutral ground when it comes to that >> >subject. It is more like religion. That said, I use VHDL because it gives me >> >more control for getting the design to exactly what I want. >> Ray, >> would you like to expand little bit on what things VHDL does better >> for you ? > >Here's my take on it. I had a Verilog refresher yesterday. > >VHDL forces you to think more about what you're trying to accomplish. >It's verbose, but by being verbose, things are clearly specified. > >Also, Verilog gives you enough rope to hang yourself. For instance, it >allows you to connect things (vectors, ports, etc) with mismatched >sizes. Another way of looking at it; Verilog more closely resembles C, while VHDL resembles academically designed programming languages like Modula-2 or Ada. Verilog users prefer Verilog because of its resemblance to C; I prefer VHDL for precisely the same reason! ;-) - Brian ###### From: erika_uk@my-deja.com Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog Date: Sat, 21 Oct 2000 12:04:34 GMT Organization: Deja.com - Before you buy. Lines: 40 Message-ID: <8ss0oi$lt$1@nnrp1.deja.com> References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> <39ECD686.C4A9E89B@andraka.com> <39ED0316.F754252C@andraka.com> NNTP-Posting-Host: 143.117.5.22 X-Article-Creation-Date: Sat Oct 21 12:04:34 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 95) X-Http-Proxy: 1.1 x63.deja.com:80 (Squid/1.1.22) for client 143.117.5.22 X-MyDeja-Info: XMYDJUIDerika_uk Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!machtgarnix.switch.ch!news-ge.switch.ch!blackbush.xlink.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!diablo.theplanet.net!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail Xref: chonsp.franklin.ch comp.arch.fpga:2036 could you do even FMAP. do those attributes work with FPGA EXPRESS ? In article <39ED0316.F754252C@andraka.com>, Ray Andraka wrote: > xc_rlocs doesn't work worth beans for synplicity VHDL. Last year it wasn't > there for Verilog, but I have no confidence it would be any better. > Nevertheless, with user attributes in VHDL, you've at least got a fighting > chance of it working with someone else's tools too. > > Muzaffer Kal wrote: > > > > Ray Andraka wrote: > > > > >user attributes let me put INIT=, TNM, and RLOCs on instantiated primitives so I > > >can generate optimized macros that I know will do the logic the way I want it > > >everytime regardless of what the synthesizer wants to do. Last I looked, there > > >was no way of doing that in Verilog. > > > > I think it would be synthesizer specific but I think you can do this > > with xc_props and xc_rloc properties with Synplify. > > > > Muzaffer > > http://www.dspia.com > > -- > -Ray Andraka, P.E. > President, the Andraka Consulting Group, Inc. > 401/884-7930 Fax 401/884-7950 > email ray@andraka.com > http://www.andraka.com or http://www.fpga-guru.com > Sent via Deja.com http://www.deja.com/ Before you buy. ###### Message-ID: <39F1A82B.BD8F230F@andraka.com> From: Ray Andraka Organization: Andraka Consulting Group, Inc X-Mailer: Mozilla 4.73 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.arch.fpga Subject: Re: VHDL vs Verilog References: <6uk8b7chix.fsf@chonsp.franklin.ch> <39ECC5FD.493422C@andraka.com> <0bpous4qfhdr09dg1rkt5hhd4ktevg93du@4ax.com> <39ECD686.C4A9E89B@andraka.com> <39ED0316.F754252C@andraka.com> <8ss0oi$lt$1@nnrp1.deja.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 55 Date: Sat, 21 Oct 2000 14:29:22 GMT NNTP-Posting-Host: 24.13.238.93 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.ct.home.com 972138562 24.13.238.93 (Sat, 21 Oct 2000 07:29:22 PDT) NNTP-Posting-Date: Sat, 21 Oct 2000 07:29:22 PDT Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!news.tesion.net!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!schlund.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news1.rdc1.ct.home.com.POSTED!not-for-mail Xref: chonsp.franklin.ch comp.arch.fpga:2035 Well...be careful there. FMAP is a funny component. If you have declare the output as an output, the tools will complain that there are two nodes driving. If declaring it as an input, inout or buffer requires changing the primitive, and I haven't had luck getting that modified primitive all the way through the tools flow, at least not with synplicity. Admittedly, I haven't pursued it much since I got a working flow using the synplicity xc_fmap attribute. erika_uk@my-deja.com wrote: > > could you do even FMAP. > do those attributes work with FPGA EXPRESS ? > In article <39ED0316.F754252C@andraka.com>, > Ray Andraka wrote: > > xc_rlocs doesn't work worth beans for synplicity VHDL. Last year it > wasn't > > there for Verilog, but I have no confidence it would be any better. > > Nevertheless, with user attributes in VHDL, you've at least got a > fighting > > chance of it working with someone else's tools too. > > > > Muzaffer Kal wrote: > > > > > > Ray Andraka wrote: > > > > > > >user attributes let me put INIT=, TNM, and RLOCs on instantiated > primitives so I > > > >can generate optimized macros that I know will do the logic the > way I want it > > > >everytime regardless of what the synthesizer wants to do. Last I > looked, there > > > >was no way of doing that in Verilog. > > > > > > I think it would be synthesizer specific but I think you can do this > > > with xc_props and xc_rloc properties with Synplify. > > > > > > Muzaffer > > > http://www.dspia.com > > > > -- > > -Ray Andraka, P.E. > > President, the Andraka Consulting Group, Inc. > > 401/884-7930 Fax 401/884-7950 > > email ray@andraka.com > > http://www.andraka.com or http://www.fpga-guru.com > > > > Sent via Deja.com http://www.deja.com/ > Before you buy. -- -Ray Andraka, P.E. President, the Andraka Consulting Group, Inc. 401/884-7930 Fax 401/884-7950 email ray@andraka.com http://www.andraka.com or http://www.fpga-guru.com