Do you want to do it for fun and experimental purposes, or for profit, ie, make a real-profitable miner which you could actually use to yield profit? if it's the former, the above source is a great start, if it's the latter, you need to keep in mind that intel failed in making such a miner, so chances are slim to nothing.
Intel uses BGA-packaged asic chips for BTC mining. In Shenzhen, China, some factories have already produced finished products, but intel finally abandoned the asic chip project. Compared with bitmain’s QFN package, intel’s flip-chip BGA may It does not have the advantages of scale and cost. In TSMC, the 14nm process chip needs about 3 million US dollars for one tape-out, the 7nm process chip needs 30 million US dollars for one tape-out, and the 5nm process chip costs 47.25 million US dollars for one tape-out. Not any private person can do this. It is most likely to design a DIY finished product. FPGA can be used to realize basic mining, but the computing power is not enough. It must be as strong as ASIC