The document discusses the design of a PSO-based optimal/tunable PID fuzzy logic controller using an FPGA. It aims to reduce the complexity and improve the processing speed of PID fuzzy logic controllers. The proposed controller design includes a tuning gains block that allows for PSO optimization of scaling gains. Two versions are designed - an 8-bit and 6-bit PIDFC. The PSO algorithm is used to tune controller parameters to minimize error and find optimal gains. Block and structure diagrams of the PIDFC integrated into a feedback control system are presented.