I want to learn VHDL, and I wonder if I can find any tool that allow me simulate a VHDL program without having an FPGA. I do some search in internet, and I found this list of HDL simulators, but I still don't know how to implement a VHDL program in a simulation.

share|improve this question
    
    
Modelsim student edition or starter edition? What have you actually tried to do and have trouble with? – pjc50 Feb 22 '16 at 14:31
    
I try to learn VHDL, i read some books and now i want to test some VHDL programs without having FPGA. – joe billy Feb 22 '16 at 14:35
1  
EDAPlayground.com is pretty cool, its online and you just need a google account. – d3l Feb 22 '16 at 18:41
up vote 3 down vote accepted

One of the more commonly used simulators (as far as I'm aware) is ModelSim, and therefore it's a good choice when you're starting out. If you install the free Web Edition of Quartus, ModelSim will be installed as well (and ModelSim also comes with ISE WebPack IIRC).

What you are wanting to do is known as a testbench and it consists of writing stimulus code that creates in the input signals for the design under test (DUT) and can also verify the outputs. So, you typically want at least two files: the design you are testing and the testbench for that design.

There are many online resources that will help you write a basic testbench. Here is a reasonable starting point, but you'll want to do a whole lot of searching online; there's a lot to learn.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.