Monday, February 10, 2014
Verilog Tutorial
If Verilog is a new language for you we recommend getting a copy of "Verilog HDL" by Samir Plantikar. It is a well organized Verilog textbook that is filled with lots of examples.
1.0 Why Use Verilog?
Most Verilog and VHDL books begin with several chapters describing the languages history and advantages. But the arguments boil down to these:
- HDL simulators are better then gate level simulators for 2 reasons: portable model development, and the ability to design complicated test benches that react to outputs from the model under test. Finding a model for a unique component for your particular gate level simulator can be a frustrating task, with an HDL language you can always write your own model. Also most gate level simulators are limited to simple waveform based test benches which complicates the testing of bus and microprocessor interface circuits.
- Verilog is a great low level language. Structural models are easy to design and Behavioral RTL code is pretty good. The syntax is regular and easy to remember. It is the fastest HDL language to learn and use. However *Verilog lacks user defined data types and lacks the interface-object separation of the VHDLs entity-architecture model.
- VHDL is good for designing behavioral models and incorporates some of the modern object oriented techniques. Its syntax is strange and irregular, and the language is difficult to use. Structural models require a lot of code that interferes with the readability of the model.
- C++as an hardware modeling language is excellent choice for high-level behavioral analysis of a system (like evaluating different data flow architectures in a microprocessor). However C++ lacks the basic hardware concepts like knowledge of strengths, connections, and concurrent execution which complicates model generation for lower level simulations.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.