How to create your first VHDL program: Hello World!

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 50

  • @musicpartscollection9796
    @musicpartscollection9796 Рік тому +12

    I love how this tutorial is super duper easy to follow. Although a little slow for some people, it's great for dummies like me who need absolute every step in order to learn things.

  • @shovnikpaul3297
    @shovnikpaul3297 2 роки тому +7

    Hi Jonas, I just wanted to say that this tutorial series has been incredibly helpful for me. I struggled a lot with VHDL initially despite having a lot of prior knowledge in programming and having taken 2 semesters of digital design. I love your style of presentation: very concise and systematic and helped me figure out what I was doing wrong in trying to learn the language. Thanks for all the effort!

    • @VHDLwhiz
      @VHDLwhiz  2 роки тому

      I'm glad I could help! Visit the VHDLwhiz.com website if you haven't already. 🙂

  • @maramam5024
    @maramam5024 2 роки тому +8

    I love your way of teaching, you show us errors and how to fix them

    • @VHDLwhiz
      @VHDLwhiz  2 роки тому

      Thanks! I'm glad you liked the video.

  • @antnew176
    @antnew176 Рік тому

    Just finished all 24 vids... this is a great little introductory course... I'm looking forward to the Fast-Track, should be fun.

    • @VHDLwhiz
      @VHDLwhiz  Рік тому +1

      Congratulations! Good work.

  • @DownTango
    @DownTango 7 років тому +7

    very nice introduction to VHDL using ModelSim - that is what I needed :)

  • @thedorantor
    @thedorantor 6 років тому +12

    Thank you so much! I have zero experience with any sort of programming but I have to do this for college so I was at a loss until I found this

  • @RAKESHYADAV076
    @RAKESHYADAV076 2 роки тому +1

    very use for me .... especially error : "empty source files " occur my program .after watching your video
    i solve the problem. thanks a lot , keep going on

    • @VHDLwhiz
      @VHDLwhiz  2 роки тому

      I'm glad I could help :)

  • @videosuperhighway7655
    @videosuperhighway7655 4 роки тому +17

    lol I thought you were gonna build a 8bit CPU, send it to FPGA and then write an OS then C compiler to print hello world :)

    • @VHDLwhiz
      @VHDLwhiz  4 роки тому +4

      That sounds like fun! But maybe not as somebody's first VHDL program. :)

    • @stevema2
      @stevema2 3 роки тому +2

      yeah that's too complicated! I am here to build Skynet....🤷‍♂️

  • @platinumpiglet5220
    @platinumpiglet5220 6 місяців тому

    great explanation! Thank you so much

  • @inigoelias5690
    @inigoelias5690 2 роки тому

    Thanks! Greetings from Mexico.

  • @omenechris4698
    @omenechris4698 3 роки тому

    Very clean introduction, thank you.

  • @PTNLemay
    @PTNLemay 5 років тому +1

    When I try to save the project, the options "Save" and "Save as" aways remain greyed out. Is there a way to save a project? Sometimes it will come back where I was if I close it and open it up again, but it gets really complicated if I'm running more than one project. Usually, because of this, I will have to create a new project whenever I open up ModelSim after having closed it.

    • @VHDLwhiz
      @VHDLwhiz  5 років тому +1

      The "Save" and "Save as" are related to the built-in file editor in ModelSim, not for saving the project. The ModelSim project is auto-saved to an .mpf file in the folder you created it in the first place, that's why it pops back up when you open ModelSim. Try to double click on a .vhd file within the project explorer in ModelSim, and you will se what I mean. Then, the "Save" option won't be greyed.
      To open another auto-saved project, go to file->open. Select File type->Project Files, otherwise you won't see the project file in the explorer. Finally, you can select the .mpf file to open the project. A bit cumbersome, but that's how ModelSim is.

    • @PTNLemay
      @PTNLemay 5 років тому

      @@VHDLwhiz
      Thank you. This will save me quite a bit of time over the long run.

  • @udakasarinda3873
    @udakasarinda3873 3 роки тому

    I am working in a project, in which I use FPGA for simulation acceleration. There I need some help with hdl coding for FPGA and Nios II processer

    • @deathmaster4035
      @deathmaster4035 2 роки тому

      What sort of acceleration are you planning to do with the FPGA?

  • @8kSarah
    @8kSarah 3 роки тому

    I should say that even if this is the first tutorial of vhdl, there is still a lot to explain before you get to tb and more. This is for someone who knows how the structure should look like and then it is time to practice!

    • @VHDLwhiz
      @VHDLwhiz  3 роки тому +4

      There are many different opinions about how you should teach VHDL to newbies, and they are all right from their standpoint. What I find is that almost all who start with FPGAs have prior programming experience. That's what I want to leverage by starting with Hello World! and only working in the simulator during the first lessons. And to do to that, we have to create a "testbench" even though we are not testing any module.

  • @Ali-bg2wt
    @Ali-bg2wt 2 роки тому

    can I use vivado LAb edition for learning vhdl

    • @VHDLwhiz
      @VHDLwhiz  2 роки тому +1

      I'm not entirely sure what Xilinx left out from the lab edition, but don't think it includes the VHDL simulator. That makes it useless for developing or learning VHDL. It's meant for debugging in the lab when you already have the code, I believe.
      Why not download the free Questa (ModelSim) simulator from Intel? Check out my blog post to see how: vhdlwhiz.com/free-vhdl-simulator-alternatives/

  • @HJahm
    @HJahm Місяць тому

    The Problem with me " Error loading design" what is wrong 😢

    • @VHDLwhiz
      @VHDLwhiz  Місяць тому

      Try to delete the compile library files with the command "vdel -lib work -all" and recompile.
      If that doesn't work, recreate the project. Possibly move the files to somewhere with a path containing no spaces or special characters. It's been a problem before but not with the latest versions of Questa.

  • @khaldimohammedelhadi6915
    @khaldimohammedelhadi6915 3 роки тому

    Hello,
    When I do simulate it seems , error loading design. What is the What is the solution, please

    • @VHDLwhiz
      @VHDLwhiz  3 роки тому

      It can be a number of things. Try to delete and recreate the 'work' library by entering these commands in the ModelSim console:
      vdel -all -lib work
      vlib work
      And recompile. Also, don't use spaces in your VHDL file.

  • @executorarktanis2323
    @executorarktanis2323 11 місяців тому

    Does it work with IEEE libraries?

    • @VHDLwhiz
      @VHDLwhiz  11 місяців тому

      I'm unsure what you mean, but I will try to answer. You can print the value of IEEE library types like this:
      ---
      signal my_sl : std_logic := '1';
      begin
      process
      begin
      report "my_sl = " & std_logic'image(my_sl);
      wait;
      end process;
      ---
      std_logic is an IEEE type, and the output will be:
      ** Note: my_sl = '1'

    • @executorarktanis2323
      @executorarktanis2323 11 місяців тому

      @@VHDLwhiz thanks this helped and I was referring to vivado where you have to declare libraries and different packages to work with here I didn't see any mention of the library that's why I asked since I seen you use it. Thanks for the answer and keep doing god's work 😊

    • @VHDLwhiz
      @VHDLwhiz  11 місяців тому +1

      @executorarktanis2323 Oh, I see. I didn't import any libraries in this example because we used no data types. VHDL only has a few built-in types like "bit" and "integer". Otherwise, you must import IEEE as you discovered.

  • @diwakarm251
    @diwakarm251 5 років тому

    I am working on Smart fusion A2F500Mg484 board and libero soc v11.9 software. I have some doubts, will you help me out for that?

    • @VHDLwhiz
      @VHDLwhiz  5 років тому

      You can try to ask in my Facebook group: facebook.com/groups/vhdlwhiz/

  • @fahdelalaoui3228
    @fahdelalaoui3228 3 роки тому

    so eye opening! great job

  • @hinaasif8488
    @hinaasif8488 4 роки тому +1

    please make VHDL
    verification videos

  • @bolatdinc3211
    @bolatdinc3211 5 років тому

    When I load this code into a real FPGA, How this FPGA sends "Hello World!" string to outside? I did not understand how this code work in real use case?

    • @VHDLwhiz
      @VHDLwhiz  5 років тому

      This code is only for simulation. The report statement only prints to the simulator console. Showing the message on a screen from an FPGA requires a lot of other infrastructure. Perhaps you would like to join my Facebook group where you can ask questions like these facebook.com/groups/vhdlwhiz/

  • @kindjupiter
    @kindjupiter 6 років тому +1

    Hello Sir, I did exactly the same steps as u explained but when I arrive to section start simulation, it comes the error message "cannot read stratup(-L):no such element in array" i couldn't fix it. If you know, would you please give a tip. Thank you

  • @annakoithodan4254
    @annakoithodan4254 6 років тому +2

    Exactly what i needed

  • @ernstuzhansky
    @ernstuzhansky 2 роки тому

    Nice. Thanks!

  • @ZenoDiac
    @ZenoDiac 2 роки тому

    Thanks Jonas

  • @telepata1
    @telepata1 4 роки тому +1

    excelent! thanks!

  • @przemekbundy
    @przemekbundy 4 роки тому

    mozna latac samochodem. kto komu zabroni. mozna tez w vhdl pisac hello. skoro ktos uwaza ze to ma sens. to ok.

  • @lukatadic4531
    @lukatadic4531 5 років тому

    neko sa fera