Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

VHDL tutorial

  1. May 20, 2008 #1
    Hi eveyone,

    I am a new user in VHDL and need more practice, and knowledge about both its syntax and logic. When I googled it I could not manage to find useful and comprehensive tutorials. Could you suggest any website or book?

    Thanks for your help.
  2. jcsd
  3. May 21, 2008 #2
    Hey, first of all are you a university student or are you thinking of learning VHDL in your spare time? The notes my lectures gave me at my university and the lab sessions we had with VHDL were how I developed my skills in it, so if you are a student I would suggest asking your lecturer ? If not, then a book that I enjoyed reading about VHDL was "Introductory VHDL from Simulation to Synthesis" , but I would just go to a local library and maybe take out a couple of books to get you started.
  4. May 21, 2008 #3
    Well, actually both cases are true. I will take the course about VHDL in the next fall semester but my schedule will be so intensive. Therefore, I am planning to learn something throughout the summer and I have opportunity to reach necessary equipments for digital design implementation(chips, FPGA etc.).

    The only thing I need is assignments instead of sources that full with theoretical stuff. BTW, I have that book as well and as you said it is pretty useful.:smile:
  5. May 21, 2008 #4
    You should realize VHDL is a tool to allow you to implement your digital design, that you've made. It's not programming.

    If you want exercises, you should be able to think of digital circuits that can perform a certain fuction (perhaps something you've made before), and try to implement it on a FPGA.
  6. May 21, 2008 #5

    This is a great idea I do this every summer but just remember with programming reading the book alone is not going to help you have to do it so invest in a board and come up with a fun project that will help you learn and do it!
  7. May 23, 2008 #6
    As useful reading I'd like also to suggest this book:

    "VHDL", Third edition, Douglas Perry
    ISBN: 0-07-049436-3

    may be there is a new edition, I do't know, make a check for this.

  8. May 29, 2008 #7
    Last edited by a moderator: Apr 23, 2017
  9. May 30, 2008 #8
    Say your task is to read the raw bitmap data from a CCD and store a JPEG format image onto a memory card. One could accomplish this task by writing C code for a microprocessor. One could also accomplish this task by writing VHDL code for an FPGA or an ASIC.

    I'm curious why you say VHDL is not programming?
  10. Jun 2, 2008 #9
    I agree, it's difficult to find any help on this language online.

    I did, however, find a forum once. I'll link it.

    http://www.velocityreviews.com/forums/f18-complangvhdl.html" [Broken]
    Last edited by a moderator: May 3, 2017
  11. Jun 2, 2008 #10
    It is programming, just a different methodology, and it is very hardware oriented in design. When I use it, I am thinking in and out of low level hardware and higher level sequential instructions. You will use both synchronous/asynchronous and sequential/parallel processes in bigger VHDL projects, and this is usually the big difference from standard programming. You get to choose what processes are dependent of each other. They are even make tools that allow you to program C code, and they translate it into specialized VHDL that executes your C code more efficiently (basically creating customized instruction sets). You can insert soft-CPUs onto a FPGA as well.

    Best way to learn is to go over a lot of simple examples. You will see what stays the same for most of your files, and what you actually program to create what you want. You can also work around programming by using tools that let you place symbols instead of code. You can make large digital systems out of a lot of small schematic blocks or VHDL code files.

    One other thing to consider beyond VHDL is all of the options FPGAs give you, especially in architecture and hardware design. Many chips are very flexible with clock settings, and you can configure the chips for different logic levels on certain pins, so play around in your development environment besides just writing VHDL code because knowing how to use it will give you a lot more time to concentrate on the actual design and coding.

    If you want some examples or some practice projects, I could give you some I've saved from courses over msn or email. I also suggest the book Digital Design Essentials by Sandige, as it treats VHDL as an extension of your basic digital design, rather than a lot of syntax and theory.
  12. Jul 5, 2008 #11
    Please excuse me if this is a bit belated, but http://www.seas.upenn.edu/~ese201/vhdl/vhdl_primer.html" [Broken] is a site you might look at.

    Last edited by a moderator: May 3, 2017
  13. Jul 6, 2008 #12
    Dear all,
    I've also started in learing VHDL, at first I've do some simulation of vhdl code by using Modelsim, after that I've do the synthesis stage by means of synplify (with this tool you can also look at the RTL view to see the equivalent gate level transposition of your VHDL code), after that you can go straigth with the implementation by using mapping tool of the specific target device. Anyway Modelsim is a very good tool to start and to better understand the circuit behaviour trough code simulation (you can also put breakpoint and watch variable like traditional programming).
    At now I've also a very useful book:

    "RTL Hardware Design Using VHDL", Pong P.Chu

    I've found this very useful and well explained.

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook