Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

New Verilog/Quartus user

Hi everyone, I'm new to verilog/FPGA boards. I took a course last semester on them and found them pretty interesting. I didn't learn quite as much so I'm looking for two things.

First of all, where can I learn Verilog? All I know is how to declare input and output regs and wires and use if/else statements. Are there any good books or sites I can look at?

Secondly, I won't be able to use actual FPGA boards for some time. During classes we used Altera DE2 boards with Quartus II Subscription Edition. I have Quartus Web Edition on my own computer. Is there a way to simulate my Verilog with this edition? I looked online and found some stuff about waveforms, but I can't find that option when I try to create a new file.

Thanks!

(And if this isn't in the right section, please move it. I thought it was too basic for the other sections and I saw some beginner posts in here so I went for it.)

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks, I'll try to get my hands on a copy of that book.

    I downloaded the simulator and set in Quartus to run it after compilation. I'm not really sure how to use it though, I've only done things on DE2 boards... What am I supposed to see, and are there any guides to using the simulator?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Once you get through that book I also recommend reading this:

    http://www.altera.com/literature/hb/qts/qts_qii51007.pdf

    This will give you an idea of how to structure your HDL to best map into an FPGA.

    Another thing I recommend you pay special attention to are the differences between synthesizable and simulation code. What you write in say a simulation testbench may not necessary work in real hardware. So if you learn the difference early on you won't get into the pitfalls that others seem to find themselves in.

    Quartus also has a templates menu option under the 'edit' menu that you can take a look at too for small examples of things like coding RAMs/ROMs, flip flops, math operators, statemachines, etc...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You may also want to purchase an inexpensive FPGA dev kit.

    I think the Terasic DE0-Nano Development Board looks like a good kit for the price. If you have more to invest then go for Terasic DE2-115 Development Board and you'll get valuable transceiver experience that a lot of employers are looking for. Try to see if you can get the academic pricing.

    Best of luck!