Bitcoin Forum

Other => Beginners & Help => Topic started by: chaoztc on May 20, 2013, 11:36:49 PM



Title: avalon asic - communications protocol - diy designs
Post by: chaoztc on May 20, 2013, 11:36:49 PM
sorry for posting here - but as a newbie I can only post here.

the avalon-ref implementation could be found on github.
there's also a spec of the asic itself.

but in the spec the bit-sizes of each value from the communications protocol is missing
and the pseudo-code snippet does not explain how the array w is precalculated.

some ideas how to get a working precalc-code could be found in following github projects:
Open-Source-FPGA-Bitcoin-Miner https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/blob/master/projects/VHDL_StratixIV_OrphanedGland/sha256/rtl/sha256_pc.vhd (https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/blob/master/projects/VHDL_StratixIV_OrphanedGland/sha256/rtl/sha256_pc.vhd)
and https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/blob/master/projects/DE2_115_makomk_serial/sha256_transform.v (https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/blob/master/projects/DE2_115_makomk_serial/sha256_transform.v)