Verilog HDL - Installing and Testing Icarus Verilog + GTKWave

  Рет қаралды 149,235

Derek Johnston

Derek Johnston

Күн бұрын

Пікірлер: 107
@vevasam
@vevasam 2 жыл бұрын
This is just beautiful. Simulation is synthesizing a test bench. Thank you.
@jeremyvidaurri
@jeremyvidaurri 4 жыл бұрын
Just a heads up, he is using the grave accent ` when he says apostrophe.
@yubdr
@yubdr Жыл бұрын
Very simple explanation with a good example. Thanks!!
@abdulpangandaman
@abdulpangandaman 4 жыл бұрын
How come you only have a very few subscriber. You are underrated man! I wish you'll keep going. Btw, thank you, just done watching the first episode. I'm a computer engineer and I sense that it is a worth watching series. :)
@DarkLightning96
@DarkLightning96 4 жыл бұрын
Next time you make a video like this, add the links to the description, it would help. Thanks! :)
@ihanick
@ihanick 4 жыл бұрын
Hi Derek, Thank you for the clean and easy tutorial on Icarus Verilog! Are you going to cover coding style (like "Verilog Coding Standard"), Verilog-2001 features, fusesoc (libraries management, build tool), Verilator? It's really hard to find explanation how to use something more complex than MUX or 7-segment indicators.
@palzangnorgaygansarpa7367
@palzangnorgaygansarpa7367 3 жыл бұрын
how do we fix "no top level modules and no -s option error" shown in terminal?
@prateeksrivastava1269
@prateeksrivastava1269 3 жыл бұрын
hey , did u resolve ?
@supersultan7374
@supersultan7374 3 жыл бұрын
@@prateeksrivastava1269 I had this problem too, it turns out I just forgot the "-o" in the command
@ashmt1084
@ashmt1084 2 жыл бұрын
@@supersultan7374 just save the code
@ghiathbarry8976
@ghiathbarry8976 3 ай бұрын
@@ashmt1084bro I spent 2 hours on this error. And the only thing I had to do is saving the file!!!! Anyway thank you
@ryoma8402
@ryoma8402 4 жыл бұрын
Guys the vcd file is not created after running the vvp command. Any help?
@josephhyatt
@josephhyatt 4 жыл бұрын
Did you ever figure this out? I'm having the same problem..
@ryoma8402
@ryoma8402 4 жыл бұрын
@@josephhyatt No, I didn't. I ended up switching to ModelSim Student Edition. I got a licence key with a fake name and a disposable mobile phone and I managed to set it up. Good luck with ModelSim's hideous GUI btw. It's gonna take a lot of getting used to.
@ArpitDhamija
@ArpitDhamija 4 жыл бұрын
Getting this error, how to fix it , pls tell iverilog : The term 'iverilog' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + iverilog -o hello_tb.vvp hello.v hello_tb.v + ~~~~~~~~ + CategoryInfo : ObjectNotFound: (iverilog:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@yelhaus
@yelhaus 4 жыл бұрын
Hey Arpit! It looks like you may have made an error when you installed iverilog. This error is caused when the operating system doesn't have the 'iverilog' command in it's PATH variable.
@M4comp
@M4comp 3 жыл бұрын
@@yelhaus I'm having this same issue. Someone help please.
@prateeksrivastava1269
@prateeksrivastava1269 3 жыл бұрын
@@M4comp reinstall and while reinstalling, check mark both the download gtk and ADD PATH
@dmo4657
@dmo4657 3 жыл бұрын
@@yelhaus How to fix this ? please help
@Aang_111
@Aang_111 3 жыл бұрын
ADD VERILOG BIN PATH TO ENVIRONMENT VARIABLES SECTION .
@yipengtang957
@yipengtang957 4 жыл бұрын
I installed iverilog and gtkWave on my Linux Mint. But it does not include VVP simulator. how everyone run simulation on the LInux?
@abhiraj2005
@abhiraj2005 5 ай бұрын
Thank you derek bhai love you.
@bhonduakalmand9604
@bhonduakalmand9604 Жыл бұрын
Thanks for such a clear explanation
@anurag_6363
@anurag_6363 4 жыл бұрын
it's showing the error in terminal "No top level modules, and no -s option."
@UddhavSurve
@UddhavSurve 3 жыл бұрын
check the folder in which you stored programs and then check whether its the same path shown in terminal
@LordBeerus14
@LordBeerus14 3 жыл бұрын
Same Error
@LordBeerus14
@LordBeerus14 3 жыл бұрын
@@UddhavSurve and yes, terminal is showing the folder where the programs are stored
@ravneet6648
@ravneet6648 4 жыл бұрын
can we use it for .sv files?
@3rd2nd_Year
@3rd2nd_Year Жыл бұрын
half_adder.vvp: Unable to open input file. getting this error please help
@devojyotichaki
@devojyotichaki 7 ай бұрын
iverilog : The term 'iverilog' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. I'm having this problem , can you please help me with me it?
@bjrnbrodtkorb9288
@bjrnbrodtkorb9288 2 жыл бұрын
Thank you so much for explaining this!
@eldararush
@eldararush 3 жыл бұрын
how to run the terminal command you wrote automatically when I run the code via vscode?
@alivealpha_code8217
@alivealpha_code8217 28 күн бұрын
the vcd file is not being created
@EternalNoobCoder
@EternalNoobCoder 2 жыл бұрын
Excellent tutorial. Thank You ❤️
@subhraneelmukhopadhyay309
@subhraneelmukhopadhyay309 2 жыл бұрын
what do I do when I get this "'iverilog' is not recognized as an internal or external command, operable program or batch file."
@subhraneelmukhopadhyay309
@subhraneelmukhopadhyay309 2 жыл бұрын
I did all the steps till 1:08
@Spy7b
@Spy7b Жыл бұрын
Same error for me too
@luizastorga8066
@luizastorga8066 3 жыл бұрын
i was also getting the 'No top level modules, and no -s option." and i just forgot to save before compiling/running
@kushgandhi503
@kushgandhi503 2 жыл бұрын
Same problem
@shandeeparya1618
@shandeeparya1618 4 жыл бұрын
Can we able to work on Verilog pli in Icarus ?
@z.o.e3023
@z.o.e3023 2 жыл бұрын
It isnt creating the vcd file after the 'vvp hello_tb.vvp' step. Message not displayed either. Can you kindly help here?
@z.o.e3023
@z.o.e3023 2 жыл бұрын
In this line in the code hello uut(A,B); hello and uut arent blue like yours
@benedicti309
@benedicti309 6 ай бұрын
Someone help, I've got a problem. The vvp file isn't getting created. And it gives me the error "Unable to open input file". What do I do?!
@aryamansharma200
@aryamansharma200 4 ай бұрын
did u find any solution
@dentakuweb
@dentakuweb 4 жыл бұрын
How did you get the colour highlighting in your Powershell window? I see you get iverilog in yellow and -o in grey for example.
@kartikeyak3425
@kartikeyak3425 3 жыл бұрын
did you add verilog to path?
@alkac6654
@alkac6654 4 жыл бұрын
After instalation, when I enter in terminal "iverilog" I obtain: 'iverilog' is not recognized as an internal or external command, operable program or batch file. OS is Windows 10. I tried different versions of the program. Did you met the same problem? Thanks for the answer.
@costanzapizzo9454
@costanzapizzo9454 4 жыл бұрын
I was about to ask him the same question, have u found a solution?
@alkac6654
@alkac6654 4 жыл бұрын
@@costanzapizzo9454 yes, in "environment variables" you need to add in path also path with \iverilog\bin . Drop me a massage on skype "zxz12m" for example if you need more help.
@costanzapizzo9454
@costanzapizzo9454 4 жыл бұрын
@@alkac6654 oh okay thank you
@basilpmathew9639
@basilpmathew9639 4 жыл бұрын
It helped me a lot, Thank You
@abdulkhaleqsabeeh2128
@abdulkhaleqsabeeh2128 Жыл бұрын
i cant find verilog in the explorer
@khangnp7850
@khangnp7850 3 жыл бұрын
great video!
@heyitsmea8883
@heyitsmea8883 2 жыл бұрын
Iam getting error and Thouse vvp file is not created in verilog folder please anybody help me with this..
@ashan8k
@ashan8k 4 жыл бұрын
one good suggestion: Don't record the full screen. It's too small to see on KZbin. Or please increase the font size. Thanks for this video :)
@Bhuvan_cv
@Bhuvan_cv Жыл бұрын
My vcd file is not opening please help
@pranathikottakapu4813
@pranathikottakapu4813 4 жыл бұрын
I'm getting an error saying "unknown module type" and error during elaboration during compilation time.
@monishmeher3901
@monishmeher3901 4 жыл бұрын
yeah I had the same problem, feel you bud
@ArpitDhamija
@ArpitDhamija 4 жыл бұрын
mine is not compiling
@prateekchauhan8531
@prateekchauhan8531 3 жыл бұрын
No such file or directory No top level modules, and no -s option. this problem is coming up can anyone solve this
@crazyTG_
@crazyTG_ 11 ай бұрын
I am also getting the same problem, do you know how to resolve it. Help much appreciated
@shadon_official2510
@shadon_official2510 3 жыл бұрын
amazing video
@eliasreyes4913
@eliasreyes4913 4 жыл бұрын
nice video, helped my a lot
@nefertiti1456
@nefertiti1456 4 жыл бұрын
hello I've got an error saying "hello_tb.vvp: Unable to open input file." How can I solve it? Please help :(
@smartoikra4315
@smartoikra4315 4 жыл бұрын
probably the file wasn't present in bin folder
@rsubrahmanyam555
@rsubrahmanyam555 4 жыл бұрын
I had given command iverilog -o hello_tb.vpp hello_tb.v Instead of iverilog -o hello_tb.vvp hello_tb.v After giving correct command the issue is resolved. Hope this might help you
@Weasyi
@Weasyi 4 жыл бұрын
Big help, thank you!
@monishmeher3901
@monishmeher3901 4 жыл бұрын
yeah true he's a god
@pratiklomte
@pratiklomte 4 жыл бұрын
@@monishmeher3901 its you Monish the real one?! I am a big fan of your vidoes!! Nice to meet you
@ahmedhassanibrahimhassan5039
@ahmedhassanibrahimhassan5039 2 жыл бұрын
thank you very much❤❤❤
@joshuaduplaa9033
@joshuaduplaa9033 2 жыл бұрын
Thank you master.
@Ochin2011
@Ochin2011 4 жыл бұрын
Hi Derek, when I use the command "iverilog -o hello_tb.vvp hello_tb.v" im getting an error "No such file or directory. No top level modules, and no -s option"
@ihanick
@ihanick 4 жыл бұрын
Hi Ochin, The command you have used expects to find hello_tb.v and hello.v files to be in current directory. Use Set-Location -Path "put path to directory with .v files here" in PowerShell or cd "put path to directory with .v files here" in CMD.exe or OS X/Linux/BSD shells. VSCode opens workspace directory by default. In order to open a correct directory make a right-click on filename under "OPEN EDITORS" at left and select "Open in Terminal"
@Ochin2011
@Ochin2011 4 жыл бұрын
@@ihanick thank you for your response. I am on Windows and I did use CMD.exe to put my path directory (cd ilverilog\bin\). I started off with even a simpler tutorial provided here www.referencedesigner.com/tutorials/verilog/verilog_02.php where we just have to compile "iverilog hello.v" (i have tried with and without -o). what I have noticed is that when I use "iverilog hello.v.txt" then only the "a.out" file is generated and I can then output ""Learning Verilog is easy with referencedesigner.com tutorial"". I'm very confused on how to fix this as I'm a newbie. I really appreciate your help
@ihanick
@ihanick 4 жыл бұрын
@@Ochin2011 In order to use "iverilog" command you should put X:\Full Path\iverilog\bin\ to your %PATH%. -o filename instructs icarus to save vvp script to "filename". E.g. if you have installed icarus to C:\iverilog, add C:\iverilog\bin to path. alternatively you can run set PATH="%PATH%;C:\iverilog\bin\" after each cmd.exe restart and cd c:\hdl\lesson01 (assuming that you have hello.v and hello_tb.v in c:\hdl\lesson01 ). With windows 10 windows subsystem for linux you can also forget about all this program installation hell and install icarus with sudo apt install iverilog. and of course switch to right directory with your hello_tb.v with cd.
@sanikachepe8489
@sanikachepe8489 3 жыл бұрын
Hi, make sure you wrote the program correctly.. I had written input instead of output for B, in the hello.v file which was causing this error for me. Hope this helps :)
@amirhossein_1235
@amirhossein_1235 7 ай бұрын
great , thanks!
@francis.joseph
@francis.joseph 4 жыл бұрын
what is the use of this of we have modesim
@yelhaus
@yelhaus 4 жыл бұрын
Modelsim is proprietary whereas Icarus Verilog + GTKWave is Open Source.
@aeroldmarougalela1605
@aeroldmarougalela1605 3 жыл бұрын
it didn't work on my laptop.
@jasperjohnjaso2720
@jasperjohnjaso2720 4 жыл бұрын
hello_tb.v:1: syntax error I give up I end up with this
@yelhaus
@yelhaus 4 жыл бұрын
in your testbench, be sure to use apostrophe (`) not single quote (') for the timescale and include statements. This gets a lot of people the first time.
@dailydose2019
@dailydose2019 3 жыл бұрын
@@yelhaus still getting same error :/
@mushyomens6885
@mushyomens6885 2 жыл бұрын
same error
@GenkiKuri
@GenkiKuri 10 ай бұрын
Thank you!
@remzialtparmak9070
@remzialtparmak9070 Жыл бұрын
Allah razı olsun abi
@Karga4430
@Karga4430 4 жыл бұрын
this command: iverilog -o hello_tb.vvp hello_tb.v gives this in the next line: No top level modules, and no -s option. HELP
@emilyzhang3589
@emilyzhang3589 4 жыл бұрын
maybe try to declare your hello_tb.v path in the command
@aviroxi
@aviroxi 4 жыл бұрын
thank you so much
@invincible6230
@invincible6230 2 ай бұрын
THANKS
@revvisionvlogs
@revvisionvlogs 4 жыл бұрын
Thanks!
@chris_yt4115
@chris_yt4115 4 жыл бұрын
I get this error even tho I installed Verilog correctly following each step in the video iverolog : The term 'iverolog' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + iverolog -o + ~~~~~~~~ + CategoryInfo : ObjectNotFound: (iverolog:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@tarunjangir8460
@tarunjangir8460 3 жыл бұрын
I am facing the same issue. Did you get any solution? PS, i tried editing environment variables
@zhengliew169
@zhengliew169 2 жыл бұрын
@@tarunjangir8460 bro how to edit environment variables?
@neeleshranjan7827
@neeleshranjan7827 2 жыл бұрын
thank you
@devegna_kanzariya
@devegna_kanzariya 5 ай бұрын
Time 11:11
@Spy7b
@Spy7b Жыл бұрын
man u left one basic thing to explain that is how setup a verilog extension
@someone-gl7oy
@someone-gl7oy 2 жыл бұрын
Marshall from How I Met Your Mother
@lauram.6285
@lauram.6285 3 жыл бұрын
Thank you very much!
@iman_hosseinzadeh
@iman_hosseinzadeh 4 ай бұрын
Gret
@stubborn176
@stubborn176 8 ай бұрын
"WORKING" tutorial.
@hyblidblackbox8847
@hyblidblackbox8847 4 ай бұрын
둘이 헤어졌다잖아... 이런 된장..
@abdulpangandaman
@abdulpangandaman 4 жыл бұрын
How come you only have a very few subscriber. You are underrated man! I wish you'll keep going. Btw, thank you, just done watching the first episode. I'm a computer engineer and I sense that it is a worth watching series. :)
@biswaditya938
@biswaditya938 Ай бұрын
thank you
Simple Combinational Logic Design in Verilog
17:00
Derek Johnston
Рет қаралды 20 М.
Just enough assembly to blow your mind
29:31
Kay Lack
Рет қаралды 161 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Verilog - Язык Проектирования Схем §0
37:24
ПЛИСоводство
Рет қаралды 35 М.
An Introduction to Verilog
4:40
CompArchIllinois
Рет қаралды 162 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,7 МЛН
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 106 М.
Installing Icarus Verilog + GTKWave on MacOS
7:47
Derek Johnston
Рет қаралды 33 М.
Introduction to Verilog HDL using Free Software Icarus, GTKWave, and VS Code
42:03
Introduction to Verilog Part 1
24:11
Peter Mathys
Рет қаралды 151 М.
How to simulate verilog files using iverilog and GTKWave
7:31
godofthunder1729
Рет қаралды 26 М.
The best way to start learning Verilog
14:50
Visual Electric
Рет қаралды 156 М.
Самые простые строительные леса
0:54
Канал ИДЕЙ
Рет қаралды 1 МЛН
ТЕЛЕФОН МЕНЯЕТ ЦВЕТ😅 #upx
0:34
RanF
Рет қаралды 639 М.
три кошака и ростелеком
0:26
Мистер Денала
Рет қаралды 2,4 МЛН
This thing is CRAZY 🤯 #shorts
0:20
House of Highlights
Рет қаралды 48 МЛН