Friday, September 14, 2012

Hardware Description Languages (HDL)

There is one main difference between hardware description languages and typical programming languages such as C, Java or others. In typical programming languages, all processes are modeled in sequential order. The order of instructions (processes) matters. Such sequential order algorithms are easy understandable, because they can be expressed as simple step-by-step process. HDL languages are created to work directly with hardware. They are able to describe connections between different hardware components, concurrent operations, propagation delay and timing. These features cannot be described by traditional programming languages.

HDL has several roles in the design process. It works as formal documentation tool, input to a simulator and input to a synthesizer. There are few fundamental characteristics of a digital circuits that are used in HDLs. Typical HDL is possible to model a real behavior of a real circuit. Four basic concepts can be modeled using HDL. Entity is a basic building block of a real circuit. The concept of connectivity models the connections among the circuit components. These connections are connection wires. Concurrency is responsible for modeling parallel operations. Parallel operations are carried out by interconnected components. The concept of timing process models the starting and ending of each operation. Also, the order of operations can be described.

There are 3 basic HDL languages: VHDL, Verilog and SystemC. The most popular are VHDL and Verilog. These two languages are both industry standards. They have completely different syntax, but their capabilities are the same. In many cases, I will speak about VHDL, because I am learning this language at the moment.

Tuesday, September 11, 2012

Xilinx vs. Altera: which one is better?

This question, in my personal opinion, cannot be answered objectively. Those, who are beginner, cannot answer this question because of lack of experience. Personally, I chose Xilinx FPGAs and Digilent development boards. My motivation was quite rational. In university, I study in, they have several development board by Digilent, and some tutors have experience while working on them. So I bought myself Nexys3 development board. I suppose, it is not so important, which platform to choose for beginners. After some time, more experienced beginner will be able to find advantages and disadvantages of both platforms. And what concerns professional users, I believe, that for experts those advantages and disadvantages are not so important. They should know all platforms.

You know, similar discussions are always popular among the programmers or engineers. There always were such discussions as AMD vs. Intel, PIC vs. Atmel, Delphi vs. C++, IE vs. Firefox and others. Remember, when was the last time, that you argued somebody about the similar topic. Similar discussions I hear quite often. But at the moment, I am not ready, to discuss those differences between Xilinx and Altera. I am not enough experienced to do so. Shortly saying, this decision depend on you.