Why learn FPGA? How to learn FPGA?

I know that I am fascinated by everything related to electronics, but no matter from which angle I look at it, today's field programmable gate arrays (FPGAs) look "outstanding" and are really great devices. If in this intelligent age, in this field, you who want to have a skill have not paid attention to FPGA, then the world will abandon you, and the times will abandon you.

Learning FPGA, summarized as follows:

Look at the logic and build a model.

Only by establishing logical models in my mind and understanding the basis of the realization of the internal logic structure of FPGA can we understand why the overall thinking of writing Verilog and writing C is different, and can understand the difference in the design methods of sequential execution languages ​​and parallel execution languages . When you see a piece of simple logic, you should think of what kind of functional circuit it is.

Use mathematical thinking to simplify the design logic.

Learning FPGA is not only important for logical thinking, but good mathematical thinking can also simplify your design. Therefore, students who have a headache when seeing high numbers need to pay attention to this course. For a simple example, for example, there are two 32-bit data X[31:0] multiplied by Y[31:0]. Of course, both Altera and Xilinx have ready-made multiplier IP cores that can be called. This is also the simplest method, but two 32-bit multipliers will consume a lot of resources. So is there a way to save resources, but not too complicated? We can make a slight modification:

Split X[31:0] into two parts X1[15:0] and X2[15:0], let X1[15:0]=X[31:16], X2[15:0]=X[15 :0], then X1 is shifted by 16 bits to the left and added with X2 to get X; also, Y[31:0] is divided into two parts Y1[15:0] and Y2[15:0], and Y1[15: 0]=Y[31:16], Y2[15:0]=Y[15:0], then Y1 is shifted to the left by 16 bits and added to Y2 to get Y; then the multiplication of X and Y can be converted to X1 And X2 are multiplied by Y1 and Y2 respectively, so that a 32bit*32bit multiplication operation is converted into four 16bit*16bit multiplication operations and three 32bit addition operations. After the conversion, the occupied resources will be reduced a lot. Interested readers may wish to take a comprehensive look and see how much difference between the two.

Compression Driver

Compression Driver,Tweeter Driver Unit,Compression Driver Speaker,High Frequency Compression Driver

Guangzhou Yuehang Audio Technology Co., Ltd , https://www.yhspeakers.com