Bitcoin Forum
May 14, 2024, 05:34:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: How to make an asic miner from scratch using 16nm Finfet chips from TSMC?  (Read 4529 times)
sidehack
Legendary
*
Offline Offline

Activity: 3318
Merit: 1849

Curmudgeonly hardware guy


View Profile
January 25, 2016, 10:53:00 PM
 #21

Not entirely the same, as BM1385 has 50-core versus BM1384's 55 cores. I'm not sure how operating frequency versus voltage changes at the same node size, but BM1385 runs about 600MHz at 670mV where BM1384 was comfortable at about 225MHz at that voltage. Course, some 28nm procesor designs have easily broken 1GHz. What would make that difference?

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
1715664879
Hero Member
*
Offline Offline

Posts: 1715664879

View Profile Personal Message (Offline)

Ignore
1715664879
Reply with quote  #2

1715664879
Report to moderator
1715664879
Hero Member
*
Offline Offline

Posts: 1715664879

View Profile Personal Message (Offline)

Ignore
1715664879
Reply with quote  #2

1715664879
Report to moderator
1715664879
Hero Member
*
Offline Offline

Posts: 1715664879

View Profile Personal Message (Offline)

Ignore
1715664879
Reply with quote  #2

1715664879
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715664879
Hero Member
*
Offline Offline

Posts: 1715664879

View Profile Personal Message (Offline)

Ignore
1715664879
Reply with quote  #2

1715664879
Report to moderator
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2544


Evil beware: We have waffles!


View Profile
January 25, 2016, 11:53:50 PM
Last edit: January 26, 2016, 12:59:04 AM by NotFuzzyWarm
 #22

thanks for the correction om chip #'s  was an off the top of me head dismembering of them Wink

As for the freq/core voltage, probably has to do with how well the data eye can be kept open over the chips internal signal paths between the different parts (coms, memory, cores). That bit is where custom routing helps immensely because you can layout the I/O of each block to provide the shortest paths to the other function blocks. Shorter path = lower capacitance to charge/discharge = faster speeds at same or hopefully also lower power consumption.

Dinna know that Bitmain gained enough to actually use fewer cores per chip and still get the results they got.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
2112
Legendary
*
Offline Offline

Activity: 2128
Merit: 1068



View Profile
January 25, 2016, 11:56:05 PM
 #23

Not entirely the same, as BM1385 has 50-core versus BM1384's 55 cores. I'm not sure how operating frequency versus voltage changes at the same node size, but BM1385 runs about 600MHz at 670mV where BM1384 was comfortable at about 225MHz at that voltage. Course, some 28nm procesor designs have easily broken 1GHz. What would make that difference?
Maybe somebody at Bitmaintech read the documentation to their synthesis tool all the way to the end (and with understanding  Wink ?)

The problem with SHA-256 is that it causes very slow convergence in the automatic synthesis tools. Because there are no external timing constraints (see https://en.wikipedia.org/wiki/Timing_closure ) the optimization algorithm has no real direction to seek and starts very slowly searching the humongous design space of filling out the chip with hashing engines. Adding some artificial constraints greatly improves the speed of convergence by avoiding unnecessarily spending time on obviously unproductive (to a human) design variants.

For example see my avatar: it is a floorplan of completely unrestrained implementation of a single fully unrolled SHA256D pipeline. The synthesis algorithm self-placed both input and output pins to the I/O bank at the center of the chip and then routed around that bank. Yellow is the first SHA-256, green is the second SHA-256.

Compare it with a hand-restrained design by eldentyrell where he intelligently squeezed 1.5 times more hashing into a smaller chip: https://bitcointalk.org/index.php?topic=49971.0


Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2544


Evil beware: We have waffles!


View Profile
January 25, 2016, 11:59:38 PM
 #24

^^ +1 !
Throw in the fact that design rules for 16/14nm nodes is still a Work-in-Progress because the mfg processes are as well and you see why after years of promises those nodes are just now becoming available to companies other than IBM, Intel, AMD, and Samsung et al.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2544


Evil beware: We have waffles!


View Profile
January 26, 2016, 12:08:48 AM
Last edit: January 26, 2016, 12:19:28 AM by NotFuzzyWarm
 #25

Query: are Bitmains chips uni-planar or a 3d stack like the A1's were? In an ultimate case of using pre-packaged IP InnoSilicon as I recall had the cores, then a memory layer topped by an SPI coms layer. Each separate silicon tied together with ISV's and wire bonds.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 3318
Merit: 1849

Curmudgeonly hardware guy


View Profile
January 26, 2016, 12:19:16 AM
 #26

If I'm thinking right, the BM1380 had 8 cores, BM1382 had 63, BM1384 at 55 and BM1385 at 50. At least that's how the frequency-hashrate scaling worked out. So they've actually been shrinking for the last two generations.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2544


Evil beware: We have waffles!


View Profile
January 26, 2016, 12:25:33 AM
 #27

I guess practice makes perfect Cheesy

Any correlation to them changing to using string topology vs multiple buck regulators with chips fed from a common power plane (in banks)? I sorta wonder how much interaction with the buck switching freq vs core freq they were seeing...

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Mr. Kashif (OP)
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
January 26, 2016, 07:58:35 AM
 #28

Okay! so, does anyone here has a design layout? and is anyone interested to work on it with me?


P.s. - Anyone and everyone are welcome
brontosaurus
Sr. Member
****
Offline Offline

Activity: 441
Merit: 250



View Profile
January 26, 2016, 02:26:56 PM
 #29

Okay! so, does anyone here has a design layout? and is anyone interested to work on it with me?


P.s. - Anyone and everyone are welcome

Firstly, let me say that I very much admire your goal of wanting to make a new chip, I sincerely hope you are successful.

The main obstacle to you succeeding is finance - to build a 16nm chip will mean an NRE of around $5 - 7 Million dollars, depending on which route you choose, and that's a huge amount of money to get hold of. Having said that, a complete bunch of chancers called KNC raised a lot more than that for their first offering, so you never know. You've also got the cost of renting design tools and all the expenses that go with running a company. You might be able to get a slot on a 16nm MPW run, but you'll still be looking at over $1m if you want to have any chance of getting a prototype.

The best advice I can give you is to ignore most of what you read on this forum, it's full of 'experts' (who are anything but) who are only interested in given their opinion on all things silicon design wise. Needless to say, virtually none of them have actually designed  anything electronic of any complexity let alone a chip, so be careful what advice you take. The real experts, and there are a handful, will give you useful and practical advice rather then repeat what they've read on Wikipedia.

If your design guy is any good he will quickly figure out how simple SHA256 is, it's really just full adders and flip flops with some very simple logic thrown in and if he looks to academic articles he'll get a lot more ideas than he'll ever find on this forum.

Good luck!
sidehack
Legendary
*
Offline Offline

Activity: 3318
Merit: 1849

Curmudgeonly hardware guy


View Profile
January 26, 2016, 03:06:16 PM
 #30

I fully admit to having zero silicon-level design experience, just a bit of miner design using someone else's chips. No advice on chip design here, except maybe opinions on packaging and features that could make the board-level and controls stuff easier.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
Mr. Kashif (OP)
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
January 26, 2016, 07:10:00 PM
 #31

Okay! so, does anyone here has a design layout? and is anyone interested to work on it with me?


P.s. - Anyone and everyone are welcome

Firstly, let me say that I very much admire your goal of wanting to make a new chip, I sincerely hope you are successful.

The main obstacle to you succeeding is finance - to build a 16nm chip will mean an NRE of around $5 - 7 Million dollars, depending on which route you choose, and that's a huge amount of money to get hold of. Having said that, a complete bunch of chancers called KNC raised a lot more than that for their first offering, so you never know. You've also got the cost of renting design tools and all the expenses that go with running a company. You might be able to get a slot on a 16nm MPW run, but you'll still be looking at over $1m if you want to have any chance of getting a prototype.

The best advice I can give you is to ignore most of what you read on this forum, it's full of 'experts' (who are anything but) who are only interested in given their opinion on all things silicon design wise. Needless to say, virtually none of them have actually designed  anything electronic of any complexity let alone a chip, so be careful what advice you take. The real experts, and there are a handful, will give you useful and practical advice rather then repeat what they've read on Wikipedia.

If your design guy is any good he will quickly figure out how simple SHA256 is, it's really just full adders and flip flops with some very simple logic thrown in and if he looks to academic articles he'll get a lot more ideas than he'll ever find on this forum.

Good luck!

Thank you for your opinion sir, I really admire what you've said. On th other hand thank you again for boosting my confidence level to do so.
brontosaurus
Sr. Member
****
Offline Offline

Activity: 441
Merit: 250



View Profile
January 26, 2016, 07:12:45 PM
 #32

I fully admit to having zero silicon-level design experience, just a bit of miner design using someone else's chips. No advice on chip design here, except maybe opinions on packaging and features that could make the board-level and controls stuff easier.

And you should listen to this guy, he has actually product-engineered a system using a proprietary chip. Despite his modesty that's just as hard a task as designing the silicon!
Mr. Kashif (OP)
Member
**
Offline Offline

Activity: 99
Merit: 10


View Profile
January 26, 2016, 07:22:06 PM
 #33

I fully admit to having zero silicon-level design experience, just a bit of miner design using someone else's chips. No advice on chip design here, except maybe opinions on packaging and features that could make the board-level and controls stuff easier.

And you should listen to this guy, he has actually product-engineered a system using a proprietary chip. Despite his modesty that's just as hard a task as designing the silicon!

Can you post a couple of his designs here?

P.s. - I wanna go with emersion cooling. So, if anyone has a good layout for it, it'd be great.
sidehack
Legendary
*
Offline Offline

Activity: 3318
Merit: 1849

Curmudgeonly hardware guy


View Profile
January 26, 2016, 08:37:18 PM
 #34

Well, I'd fall back to 2112 and the rest for any kind of chip-level stuff. I haven't worked with logic in a while, and really never with even FPGA innards design. There's probably a lot of folks around who are better board engineers too, like NotFuzzyWarm and some others.

Novak and I are working toward an immersion cooled board, but that's kind of a contract job. We don't particularly like high density or exotic cooling requirements.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2544


Evil beware: We have waffles!


View Profile
January 27, 2016, 12:34:19 AM
Last edit: January 27, 2016, 02:06:36 AM by NotFuzzyWarm
 #35

 Grin Why thank ye for the plug . Coming from you I take that as rather high praise Grin
Since we are in disclaimer mode here: I too have never laid out silicon. I do not know or care to know the actual hardwired logic pathways in mining ASIC's. I do know more than a thing or 2 about high speed circuitry and the care/feeding thereof... My first experience with high-speed circuit layout originally comes from working with/building microwave coms gear in the early 1970's. Thing is, with the logic switching speeds ASIC's use all the same rules apply regarding local power decoupling and signal integrity vs the path routing. It is not only clock speed that gets you. More problematic is the rise/fall times of the signals inducing high levels of very localized odd-harmonics into the power plane and data signals.

Anywho, for the past 39 years my biz has been designing/building from framework to the control boards equipment used in some rather critical steps in chip fab processes. We build bleeding edge tech that makes making bleeding edge chips possible. That in turn is where my contacts with the semiconductor bix comes from. Natural curiosity and the need to know about all steps and I mean all involved is what keeps me current on what node-sizes the various major foundries can produce;) As for my blasting pre-packaged IP blocks a foundry or chip design house can provide, it is a common sense  item any decent chip designer should follow if the goal is Best-in-Class. Far more risky yes because simulate all you want, until it is physically produced there is no third-party assurance (someone else to blame) that each function block actually does what it should.

If you want a 'safe' moderate performance  first run chip as proof of concept, then use pre-packaged IP function blocks. They are proven to work and just need to be placed best as possible in the die and linked together anyway ya can. *That* is along the line of what that chip design site mentioned earlier on sounds like they do. At the more mature 22nm and higher nodes foundries can often provide short-runs by using 'spare' space on wafers to make more money per-wafer on what is often razor-thin margins from generic chips made on the same wafers. I rather doubt that 'low cost' option is yet available at 16/14nm. Scrap rate is still too high

As for hashing ASIC's themselves I highly recommend reading through the A1 chip dev thread starting here. https://bitcointalk.org/index.php?topic=294235.360. I dived in there due to my ordering on of the ill-fated AMT/Bitmine.ch A1 based miners in Feb. 2014. It is a good read on the trial and tribulations of giving birth to a new miner design. Also points to, hell, screams where Bitmine.ch went so very wrong with their boards...

Enough of the mutual admiration club and back to the Topic. To the OP I say, if you think you have a core team that can do it then go for it. The mining community needs hardware choices. Just fully research what is going to be involved and round up (fully informed of the risks) investors. Again, I highly recommend that A1 dev thread for insite on what to expect.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
sidehack
Legendary
*
Offline Offline

Activity: 3318
Merit: 1849

Curmudgeonly hardware guy


View Profile
January 27, 2016, 12:45:45 AM
 #36

Dude, you've been an engineer longer than I've been alive.

I don't know how useful my BM1384 dev thread would be, but there was some good discussion in there somewhere when PlanetCrypto was talking about running out his own chip.

Cool, quiet and up to 1TH pod miner, on sale now!
Currently in development - 200+GH USB stick; 6TH volt-adjustable S1/3/5 upgrade kit
Server PSU interface boards and cables. USB and small-scale miners. Hardware hosting, advice and odd-jobs. Supporting the home miner community since 2013 - http://www.gekkoscience.com
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2544


Evil beware: We have waffles!


View Profile
January 27, 2016, 01:02:21 AM
Last edit: January 28, 2016, 06:13:55 PM by NotFuzzyWarm
 #37

Dude, you've been an engineer longer than I've been alive.

I don't know how useful my BM1384 dev thread would be, but there was some good discussion in there somewhere when PlanetCrypto was talking about running out his own chip.
heh heh. Long enough to see that yes, everything old is New again. First vacuum tubes - high impedance & voltage controlled, then transistors using low impedance/voltage/higher current and now with all the various members of the FET family back to voltage vs current, Analog > digital and now > mixed level digital (more functional states per-gate but with higher power needs as well) which to me is headed back to quasi analog computers....

I'll check out the thread.

I'll also add that ja the ASIC's are key to what can be processed but as the poster child of failed board design and manufacturing shows (Bitmine.ch), all the support circuitry and attention to board layout/physical construction is just as critical to pay attention to

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
kilo17
Legendary
*
Offline Offline

Activity: 980
Merit: 1001

aka "whocares"


View Profile
January 27, 2016, 02:44:03 AM
 #38

I fully admit to having zero silicon-level design experience, just a bit of miner design using someone else's chips. No advice on chip design here, except maybe opinions on packaging and features that could make the board-level and controls stuff easier.

And you should listen to this guy, he has actually product-engineered a system using a proprietary chip. Despite his modesty that's just as hard a task as designing the silicon!

Can you post a couple of his designs here?

P.s. - I wanna go with emersion cooling. So, if anyone has a good layout for it, it'd be great.

Do not complicate an already complicated task.  Any board and ASIC can be used in immersion cooling.  Obviously there are "better" ways of having the board for fitment issues and if you want the best cooling then a larger surface area on the ASIC would help but those things are nominal.

I would say you have your hands full with just the ASIC design and fab, not to mention that the board design and manufacturing is equally complex.  The best way to get into immersion cooling is to design the cooler around the board design which would obviously come after the ASIC.

Bitcoin Will Only Succeed If The Community That Supports It Gets Support - Support Home Miners & Mining
Dalkore
Legendary
*
Offline Offline

Activity: 1330
Merit: 1026


Mining since 2010 & Hosting since 2012


View Profile WWW
January 27, 2016, 06:19:47 PM
 #39

Step one - Write a check for $2-5 million for development.    If you are not prepared for this step, then the rest will not matter.  It is a very expensive endeavour. 

Hosting: Low as $60.00 per KW - Link
Transaction List: jayson3 +5 - ColdHardMetal +3 - Nolo +2 - CoinHoarder +1 - Elxiliath +1 - tymm0 +1 - Johnniewalker +1 - Oscer +1 - Davidj411 +1 - BitCoiner2012 +1 - dstruct2k +1 - Philj +1 - camolist +1 - exahash +1 - Littleshop +1 - Severian +1 - DebitMe +1 - lepenguin +1 - StringTheory +1 - amagimetals +1 - jcoin200 +1 - serp +1 - klintay +1 - -droid- +1 - FlutterPie +1
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!