Summary of the differences and advantages and disadvantages of PIC and FPGA

I know that I am fascinated by everything related to electronics, but no matter from what angle, today's field programmable gate arrays (FPGAs) seem to stand out from the crowd. They are really great devices. If in this intelligent age, in this field, you want to have a skill, you have not paid attention to FPGA, then the world will abandon you, the era will abandon you. The author of this public account, ALIFPGA, has many years of experience in FPGA development. All articles are a summary of years of study and work experience.

PIC: Peripheral Interface Controller.

FPGA: Field Programmable Gate Array.

About both:

the difference:

FPGA is a logic gate device that can be configured as a parallel logic module. The biggest advantage of FPGA is parallel processing. For example, building a hundred NAND gates, FPGA can complete the signal output at the same time in one cycle. PIC is a controller type, which executes processes, such as C language programs. The reason why it is called process is because this program is executed one by one and cannot be executed at the same time. So even if you can give 100 signals NAND, their outputs are also output one by one, and will not be output at the same time as fpga.

Advantages and disadvantages:

The advantage of fpga is that the parallel structure handles small logic very quickly, and it can build a lot of parallel modules. I have done a project that requires 20 parallel SPI communication interfaces, only fpga. Because pic series generally only has 2-3 SPI modules.

In addition, the pin of fpga is very flexible, and it does not need to consider wiring when designing the circuit. Because fpga pin function can be programmed to complete. Although pic also provides various IO port allocation methods, it is not completely arbitrary, and there are still some restrictions.

The disadvantage of fpga is that the price is higher, and the ability to process is not as strong as pic. In addition, pic's peripherals are very rich, which is also the lack of fpga. General single-chip microcomputers have adc (even dac), internal flash, super timer, pwm generator, comparator and so on. It can be said that just buy a pic, these peripherals are available. However, fpga has few peripherals (you can also buy one with peripherals, but it is expensive). Generally, flash and adc must be configured by users to buy chips.

Portability:

The pic program can basically be done completely with fpga. But pics that fpga can do may not be able to do. fpga currently has a soft core that can be used, making C programming possible. The soft core is to use the HDL language to build a controller with the logic circuit inside FPGA to implement the process. And the IO port of this controller can be defined according to the user. However, the soft core also has disadvantages, that is, the speed is not fast enough, and the optimization is not as good as pic. And the use price of fpga soft core is also very high.

personal experience:

The function of the pic series as a control system is completely sufficient. In general, fpga is not needed. When there are many signals and very complex, fpga + controller is generally adopted. fpga is used as a state machine, chip select, and peripheral interface, and the controller executes the program.

When the efficiency of process execution does not need to be too high, there are many parallel interfaces, or the circuit needs to be very flexible, it is good to choose FPGA as the development. Only considering the price of soft core, generally can only be developed.

CAT8 Keystone Jack

we take great pride in our quality control procedures and our commitment to quality our CAT8 Shielded HD Component Rated Keystone Jack line is subject to EIA/TIA standards and FLUKE compliant. Our CAT8 Shielded HD Component Rated Jacks meet all requirements for ANSI/EIA/TIA 568 C.2-1 Compliance and are inspected and tested to comply with stringent industry transmissions and safety standards.

CAT8 Keystone jack, Shielded Keystone jack, RJ45 CAT8 modular jack

NINGBO UONICORE ELECTRONICS CO., LTD , https://www.uonicore.com