Author

Topic: I would like to make my own FPGA based miner for fun and learning (Read 115 times)

newbie
Activity: 8
Merit: 0
Perhaps this should be moved to the technical  discussion since this section seem to discuss support of existing miners and not how to make your own.
newbie
Activity: 8
Merit: 0
Cgminer will also run FPGA's if the FPGA switch is enabled. Never done it myself but the README does cover it. Link to Kano's repo for the latest version is in my sig.

My protocol and payload is different from the older FPGA implementations like Icarus. I'm expecting to make a driver for my implementation. I can pass the blocktemplate and other data using various interfaces like UART, SPI, PCIe or even AXI.
newbie
Activity: 8
Merit: 0
I think FPGA miner for sha256 algo for Bitcoin is already long dead.

This is not for profit. It's to learn the protocols and verify my implementation.
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
Cgminer will also run FPGA's if the FPGA switch is enabled. Never done it myself but the README does cover it. Link to Kano's repo for the latest version is in my sig.
legendary
Activity: 3500
Merit: 3249
Happy New year 🤗
I think FPGA miner for sha256 algo for Bitcoin is already long dead.
If I were you better ask this on altcoin seaction because most of the FPGA miners mine only altcoins.

Or try to ask in the BFGminer thread because that is software that supports FPGA SHA256d but not for Bitcoin: https://bitcointalksearch.org/topic/bfgminer-550-cpugpufpgaasic-mining-software-gbtstratum-rpc-linuxwin64-877081

Other source: DIY FPGA Mining rig for any algorithm with fast ROI
It's a long dead, so I suggest create your own thread under altcoin mining section.
newbie
Activity: 8
Merit: 0

I would like to make my own FPGA based miner for fun and learning, not for profit.

I've done the RTL for the SHA256 part and the nonce iteration logic.

I can also get a blocktemplate into a buffer (640-bits) within the FPGA over a serial interface.

The parts I don't know how to do is:

How to extract data from the blocktemplate data structure and feed it to the double sha256.

How to format and submit the nonce back to the miner software.

How to test this miner using solo mining on the test network. I'm running a full node and can start it up in test mode.

Any references on how to learn and implement the above or any other missing parts are welcome.
Jump to: