element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Forum VHDL vs. Verilog: Which one do you prefer and why?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 558 subscribers
  • Views 3221 views
  • Users 0 members are here
  • spartan 7
  • xilinx
  • vivado
  • vhdl
  • verilog
  • Spartan_Migration
Related

VHDL vs. Verilog: Which one do you prefer and why?

rsjawale24
rsjawale24 over 3 years ago

I started my FPGA journey with VHDL. Hence, I'm quite comfortable with VHDL. I tried learning Verilog, but it seems redundant to me as I already knew one HDL, so I gave up on learning Verilog.

However, while pursuing my master's, I saw that Verilog had become the most popular HDL and was being taught in my university and demanded in the industry.

I also find that many of the participants in the Spartan_Migration challenge are using Verilog.

Which HDL do you prefer and why? Have you tried learning VDHL or Verilog while you already knew one of them?

I like VHDL because it appears more structured and it was the first HDL I learned during my engineering days.

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 3 years ago +5
    I far prefer Verilog, mostly because it's more concise. There's no way my Verilog code could fit in my binders if it were VHDL. I'd have to get a larger office :-) Verilog is loosely based on C, so you…
  • Metaforest
    Metaforest over 3 years ago +4
    What I have seen so far is that American and Asian companies with their affiliated Universities prefer Verilog. European Businesses and Universities prefer VHDL. Being a graybeard who learned software…
  • michaelkellett
    michaelkellett over 3 years ago +4
    I much prefer VHDL, partly because I like the more precise syntax and rules, and partly becaise it's what I learned first. The main development tool I use (Aldec HDL) will support VHDL or Verilog. …
  • shabaz
    shabaz over 3 years ago

    I think part of it could be just personal taste and what was taught. At uni, the lecturer taught VHDL so that's all I've tried too. 

    Also, VHDL looks reasonably different to a programming language, which could be a helpful reminder that you're not coding when it comes to FPGAs, and rather describing hardware, so I can see why a lecturer would select it.

    I happen to have one or two Verilog books just so that I can take a peek at them if I need to, but perhaps four VHDL books. I think I will struggle to learn one HDL rather than two, simply because it's not a career thing for me, so there's only finite time I can spend on just one HDL.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Metaforest
    Metaforest over 3 years ago

    What I have seen so far is that American and Asian companies with their affiliated Universities prefer Verilog.  European Businesses and Universities prefer VHDL.  

    Being a graybeard who learned software development and electronics long before FPGAs were accessible to hobbyists, I find the difference comparable to C/C++ and PASCAL(commercial dialects, not UCSD PASCAL).  They both do the same stuff and have very similar capabilities.  PASCAL is verbose and has fairly picky rules about what goes where, when declaring variables and structures.  C is very terse and is not as picky about the order things are declared in.

    I see the same thing with Verilog vs VHDL they achieve the same things by differing means, and they have very different histories and use cases that caused them to be invented and evolve to their current forms. I tried to learn VHDL first because it seemed easier to understand.  I found that my experience with C/C++ made me switch to Verilog as it has syntax and structure more compatible with my mental wiring.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 3 years ago

    I much prefer VHDL, partly because I like the more precise syntax and rules, and partly becaise it's what I learned first.

    The main development tool I use (Aldec HDL) will support VHDL or Verilog.

    I'm finding that support from the more recent FPGA vendors is more Verilog focussed so I'm trying to force myself to be happy with both.

    MK

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • javagoza
    javagoza over 3 years ago

    I learned VHDL in the early 90's in college for ASIC design. After I have dedicated to high-level software development, mainly JAVA, and I have not dealt with HDL again until now. Instead of trying to remember what I learned about VHDL I have thrown myself into learning SystemVerilog.

    I bought this book last month 

    FPGA Prototyping by SystemVerilog Examples: Xilinx MicroBlaze MCS SoC Edition | Wiley

    and it is giving me a lot of confidence with HDL.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • javagoza
    javagoza over 3 years ago in reply to javagoza

    This is the Companion Web site for FPGA Prototyping by Verilog Examples (csuohio.edu) for those interested.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 3 years ago

    I far prefer Verilog, mostly because it's more concise.  There's no way my Verilog code could fit in my binders if it were VHDL.  I'd have to get a larger office :-)

    Verilog is loosely based on C, so you have concise C notations.  I'm one of those who likes "if-then-else" expressions of the form "a? b: c".  I know some people hate that notation.  Chacun a son goût.

    VHDL is based on Ada.  I never got into Ada.  Some people love to type.  Chacun a son goût.

    My favorite commercial HDL was Altera HDL (AHDL).  You just described the hardware you wanted and "Bob's your uncle".  The problem with Verilog and VHDL (from my experience, now a few years out of date) is that you have to imagine the hardware you want, and then follow the correct template to cajole the FPGA compiler into synthesizing the correct hardware.  Verilog and VHDL were originally conceived for simulation.  Synthesis was added later, as an afterthought.  It shows.

    JMO/YMMV

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Cancel
  • wolfgangfriedrich
    wolfgangfriedrich over 3 years ago in reply to johnbeetem

    Hey, I have an uncle called Bob too. Wink

    +1 for AHDL, I just loved the syntax. As you said, very descriptive. I only got to use it in University. 

    In real life, I only speak VHDL (the language of choice for everything defense). Also because all the companies only used Xilinx and Lattice and I could never convert any to Altera. I also use the legacy company names exclusively, because I believe the original companies, who started all the goodness shall not be forgotten. 

     = W.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Cancel
  • saadtiwana_int
    saadtiwana_int over 3 years ago

    I asked myself this same question few years ago. I will straight away jump to what I concluded.

    If you are learning for work, then you need to see what's the more popular design language in your company/region. As someone mentioned before, different regions have different preferences, and for work you'll mostly need to follow that.

    If it's not for work, then you can look at some simple modules written with both languages and compare. You might prefer one style over another. I personally chose Verilog because it's more concise and keywords are more C-like, which is what I am more comfortable with. I don't write a lot of HDL for work, though. In my city I have a lot of friends working in Intel, and from what I see, most of them are using verilog and System-verilog. 

    Good luck!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube