Author

Topic: Where to get started with writing ASIC Code (Read 409 times)

legendary
Activity: 3612
Merit: 2506
Evil beware: We have waffles!
November 11, 2017, 04:55:18 PM
#6
Actually that Newcastle link is a very good one and spot-on as an introduction to why ASIC solutions are so bloody much faster vs using normal CPU's and math co-porcessors (aka GPU's).
member
Activity: 99
Merit: 11
November 11, 2017, 01:11:50 PM
#5
Does anyone have any knowledge, Or knows where to start with writing the machine language for ASIC's to be able mine. Essentially what i am looking to do is a DIY mini ant miner.

Any links, Or how-to's are appreciated.

At a high level, ASIC would be a hardware implementation of SHA-256 hashing algo. Someone please correct me if I am wrong.

Something like this? https://github.com/secworks/sha256 or this? http://async.org.uk/tech-reports/NCL-EECE-MSD-TR-2011-170.pdf

I just googled for it. I have no idea about the suitability of the links I just gave.

I have used this to try to understand the hashing algo.
https://www.movable-type.co.uk/scripts/sha256.html

member
Activity: 83
Merit: 10
November 09, 2017, 10:34:31 PM
#4
So essentially, The engineers behind the ant miners designed all of the XOR logic behind the asics?

 I have looked for said material and have returned nothing.. Maybe i am just not looking in the right areas.

And yes, I Have a little bit of a background in computer science. Just trying to learn as much about this stuff as possible.
legendary
Activity: 3612
Merit: 2506
Evil beware: We have waffles!
November 09, 2017, 04:57:04 PM
#3
There is no 'writing machine language for ASICs'. The logic structures are 'hard wired' so to speak into the layout of the dies. There is no programming possible. Only a FPGA (Field Programmable Gate Array) is able to be programmed with a fixed logic structure that simulates the hard coding an ASIC uses. Even then they are still far slower than an ASIC.

Got a strong Computer Science background? You will need one for digging in this deep...

If you mean writing micro controller code to talk to the ASICs - follow vrobb's suggestion.
hero member
Activity: 1610
Merit: 538
I'm in BTC XTC
November 09, 2017, 04:56:16 PM
#2
All the software for miners and pools is open source.  Download it and study.
member
Activity: 83
Merit: 10
November 09, 2017, 04:38:45 PM
#1
Does anyone have any knowledge, Or knows where to start with writing the machine language for ASIC's to be able mine. Essentially what i am looking to do is a DIY mini ant miner.

Any links, Or how-to's are appreciated.
Jump to: