ok, i’m lost. where is the programming language defined? I see all of the initial examples, but need more to write my own. book and or online reference; either/both would be great. thanks.
Hi @proj964, here are a couple of references to get you started!
- Our blog: https://blog.webfpga.io
- ZipCPU: https://zipcpu.com/tutorial/
- AsicWorld: http://www.asic-world.com/verilog/veritut.html
We plan on producing a longer-form series geared specifically towards the WebFPGA ecosystem. So stay tuned for that!
thanks, I’ll take a look.
There’s an awesome tutorial at https://hdlbits.01xz.net/wiki/Main_Page where you solve a series of problems (many with solutions provided). It’s a really nice way to learn the language.
One more useful tool if you’re used to writing unit tests for software: System Verilog Unit Test (SVUT) is a library for unit testing Verilog.
It requires you have a copy of Icarus Verilog (free, open-source) and use a few special macros in your test bench. I found it useful for learning the language and validating designs.
(Disclaimer: I’ve submitted a substantial number of patches.)
Thank you for the tutorial references. As a complete beginner I have already found the zipcpu site very useful just for simple definitions: literals and operators
+1 for hdlbits (which I found from the above comment) - I come from an OO and FP programming background and couldn’t get through other Verilog tutorials, but the exercises, hints and notes in HDLBITS was a different approach that worked really well for me as a learning path - i.e. i read the questions, did some research on the Verilog constructs in the question, and then attempted an answer.