Bitcoin Forum
November 10, 2024, 08:21:45 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: [In Dev] 28nm mining FPGA (Amateur)  (Read 8003 times)
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 15, 2013, 06:54:54 AM
Last edit: October 07, 2013, 05:26:40 AM by Epicblood
 #1

Hey all, this is just to let you know that me and a friend are working on making an FPGA miner using 2 Artix-7s. These are 50-65% more power efficient than the Spartan-6s, and faster as well. I'll do my best to keep this thread updated on where we are in the process. We will be using the open source FPGA miner (verilog port). Will try to optimize performance for the two chips
 
Neither of us have much experience with this, so it is kind of a learn as we go type of thing.
Have no fear, before releasing anything I am having professionals from Xilinx look at both hardware and software to make sure it is optimized.

Special thanks to iidx for helping out with the verilog.

April 14
I have the Xilinx software dev kit and an ML605, not much modification should be required for the Atrix-7 (there were no spare AC701s laying around so I can't be sure)
April 15
- Compiling the open source fpga miner is giving me some sort of translate error (it was made for spartan-6), Working on sorting that out.
- Thanks to fpgaminer I can safely estimate that this should put out about 1GH/s, probably a bit more.
- I (with help from iidx) have successfully compiled on the ML605, didn't have time to check out the actual hash it gets, but you have a good estimate now of what this FPGA will be able to get.
April 17
-Got a few of the hardware specs down
-Estimate a 5v supply will be used (still working on the power estimate)
-Estimated price is currently at ~250-300 USD per unit
October 6
-Project on hold
-So far mining software/hardware works (sort of)
-No idea when I will start this up again (school/work etc in the way)

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 15, 2013, 06:56:28 PM
 #2

Reserved

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
alexuk
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
April 15, 2013, 10:30:47 PM
 #3

interested!

please post pics + docs when you can!
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 15, 2013, 10:40:21 PM
 #4

Will do Smiley
I can't really provide much info yet as I haven't got the actual PCB layout yet, but I will run a miner on the AC701 (Artix-7 Eval kit) and report back how many MH/s it gets (Should be about 300-400 per chip)

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
ionux
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile WWW
April 15, 2013, 11:33:32 PM
 #5

Hey man, very interested in this!  Post more info when you have it!  I hope you guys can make them very price-competitive.  Grin

CoinPrice.US - Current market prices in a clean, ad-free interface.  API available for adding Bitcoin prices to your site!  |  Escrow service: https://bitcointalk.org/index.php?topic=502569.0  |  Reputation thread: https://bitcointalk.org/index.php?topic=494163  |  Public key: http://coinprice.us/public_key.txt  |  URL shortener project: http://10b.us  Cheesy
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 15, 2013, 11:36:28 PM
 #6

Hey man, very interested in this!  Post more info when you have it!  I hope you guys can make them very price-competitive.  Grin
That's what I'm going for. Smiley
thanks for the interest

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 16, 2013, 12:22:14 AM
 #7

Seems there are no spare Atrix-7 boards laying around anymore, so I will have to wait until I can get one. This should not cause much of a delay at all as I can still work on the hardware part of it. I should have a working PCB design/layout by next week sometime. I do have a full license for Xilinx Software, so I can still make power estimates and things like that. I also have an ML605 and whatever runs on that SHOULD work on the Atrix-7 with a bit of modification.

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 16, 2013, 03:39:32 AM
 #8

Working on compiling source now.
Will update with Virtex-6 Hash rate (this will be about 30%-40% higher than artix-7 hash rate) so you will have some sort of estimate on how fast it will be.

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
fpgaminer
Hero Member
*****
Offline Offline

Activity: 560
Merit: 517



View Profile WWW
April 16, 2013, 06:10:45 AM
 #9

I just did a scan over the 7 series datasheets to see their relative performance.  Here is a summary of the important figures; I figure they might be helpful for this and any other 7-series based projects:

Everything is for the -2 speed grade
Code:
                   Artix 7  |  Kintex 7 |  Virtex 7
FIFO Fmax      |   460.83   |  543.77   |  543.77
DSP48E1 Fmax   |   550.66   |  650.20   |  650.20

The FIFO Fmax (block ram) has been a fairly good measure of the absolute maximum frequency we can expect to see out of hashing cores.  My rough estimates show that Artix 7 is likely to have a better MH/s/$ based on these figures alone, and single unit prices.  However, it is difficult to tell for sure, because I suspect that the Artix is crippled in some other way.  I have not check each chip's routing and CLB configurations.

Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 16, 2013, 06:19:18 AM
 #10

I just did a scan over the 7 series datasheets to see their relative performance.  Here is a summary of the important figures; I figure they might be helpful for this and any other 7-series based projects:

Everything is for the -2 speed grade
Code:
                   Artix 7  |  Kintex 7 |  Virtex 7
FIFO Fmax      |   460.83   |  543.77   |  543.77
DSP48E1 Fmax   |   550.66   |  650.20   |  650.20

The FIFO Fmax (block ram) has been a fairly good measure of the absolute maximum frequency we can expect to see out of hashing cores.  My rough estimates show that Artix 7 is likely to have a better MH/s/$ based on these figures alone, and single unit prices.  However, it is difficult to tell for sure, because I suspect that the Artix is crippled in some other way.  I have not check each chip's routing and CLB configurations.
I'm suprised that the kintex and vortex are equal, I would expect the virtex to be quiet a bit faster xD
but thanks, for this, this means the FPGA should put out about 1GH/s

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
iidx
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
April 16, 2013, 06:45:39 PM
 #11

The Kintex and Virtex FPGAs are basically the same.  The Virtex just comes in bigger sizes and allows for higher speed serial transceivers (up to 28 Gb/s).

As a reference, I've been using ML605s at 375 MH/s since 2011.  That's just using 3 copies of the verilog port, with some of the adders replaced by DSPs (Not pipelined).  It's also using some space because I use PCIe for the connectivity to the PC.  So, you could use 375 MH/s as the benchmark for your ML605.

It's possible that there is more speed in there using more pipeline stages, but the size of the device limits what can be done.  I haven't tried to get more out of it so far. 

I've been trying to get 300+ MH/s out of V6LX130Ts, but only have it running at 200 Mhz right now (using PCIe as the connectivity method again).  I've been trying to fully pipeline the DSPs (as FPGAminer has done with the KC707), but the problem is there aren't enough registers/dmem to delay the rest of the pipeline in that device (plus it does not have enough DSP48s to replace all the adders).

I just did a scan over the 7 series datasheets to see their relative performance.  Here is a summary of the important figures; I figure they might be helpful for this and any other 7-series based projects:

Everything is for the -2 speed grade
Code:
                   Artix 7  |  Kintex 7 |  Virtex 7
FIFO Fmax      |   460.83   |  543.77   |  543.77
DSP48E1 Fmax   |   550.66   |  650.20   |  650.20

The FIFO Fmax (block ram) has been a fairly good measure of the absolute maximum frequency we can expect to see out of hashing cores.  My rough estimates show that Artix 7 is likely to have a better MH/s/$ based on these figures alone, and single unit prices.  However, it is difficult to tell for sure, because I suspect that the Artix is crippled in some other way.  I have not check each chip's routing and CLB configurations.
I'm suprised that the kintex and vortex are equal, I would expect the virtex to be quiet a bit faster xD
but thanks, for this, this means the FPGA should put out about 1GH/s
iidx
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
April 16, 2013, 07:00:40 PM
 #12

Forgot to mention that the ML605s and the boards with the LX130s are both speed grade -1 (DSP48 max frequency 450MHz).

I do have access to boards with K7325T and K7480Ts, but neither has PCIe (they aren't xilinx dev boards) access to a normal PC so I never bothered trying on those boards.
aTg
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000



View Profile
April 16, 2013, 07:14:51 PM
 #13

Good luck with the project, it was time for someone to put to work in this theme, you know you can do once you have a good performance in a Virtex7 for example? Use it as a prototype for manufacturing an ASIC with your bitstream and you will have a new generation of ASICs.
But it's still a bit early for that, I do no want to make you feel pressured.
muirmc
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 16, 2013, 07:28:08 PM
 #14

Pretty cool -- I'd love to see a walkthrough/narrative of what you've done (that is to say, once you've arrived where you want to) to get fpgaminer up and running on the ML605.

I'd be keen on picking up one of those boards to muck around with, but would be a little more confident with a primer.
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 16, 2013, 07:36:47 PM
 #15

Pretty cool -- I'd love to see a walkthrough/narrative of what you've done (that is to say, once you've arrived where you want to) to get fpgaminer up and running on the ML605.

I'd be keen on picking up one of those boards to muck around with, but would be a little more confident with a primer.

I had iidx explain to me what was required, but I've been doing some reading and as soon as I get it to mine properly I'll post exactly how Smiley

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
||bit
Hero Member
*****
Offline Offline

Activity: 924
Merit: 506


View Profile
April 16, 2013, 11:15:41 PM
 #16

Hey man, very interested in this!  Post more info when you have it!  I hope you guys can make them very price-competitive.  Grin
That's what I'm going for. Smiley
thanks for the interest
I'll disregard power efficiency, since that may not matter to some.  However, aren't these models of FPGA's just too expensive to compete with ASIC chips?

The Spartan's typically used were $150 each. Even if bought for $100, that's only maybe ~270MH/$100. I'm not knowledgeable on all the pricing (bulk or otherwise), but wouldn't an Artix be proportionately as costly - if not more?

If I'm not mistaken, an Avalon is about ~280MH/BTC.08 (today's rate that equates to ~280MH/$5.50). So, unless you can purchase an FPGA with a performance/cost that beats that, then I don't know how this can work. Perhaps, this is just an academic pursuit for you.
gmaxwell
Moderator
Legendary
*
Offline Offline

Activity: 4270
Merit: 8805



View Profile WWW
April 16, 2013, 11:34:18 PM
 #17

The Spartan's typically used were $150 each. Even if bought for $100, that's only maybe ~270MH/$100. I'm not knowledgeable on all the pricing (bulk or otherwise), but wouldn't an Artix be proportionately as costly - if not more?
I would expect them to be substantially _less_ costly per MH.  E.g. fitting potentially 400-900MH/s in an $100 part. Beyond the basic process improvements the Artix/Kintex parts have a substantially improved architecture.  Of course, the S6LX150 designs have had a lot of effort applied to optimizing them.

Quote
If I'm not mistaken, an Avalon is about ~280MH/BTC.08 (today's rate that equates to ~280MH/$5.50). So, unless you can purchase an FPGA with a performance/cost that beats that, then I don't know how this can work. Perhaps, this is just an academic pursuit for you.
A batch 3 Avalon cost 75 BTC and delivers 68GH/s. At the current market price that is  $75/GHs.   So maybe a 28nm FPGA ends up being twice the price per MH initially.   But: It would have a smaller basic unit size (probably a 2 or 4 chip board) which would create a larger customer base and it could potentially have better supply.  What does it matter that _in theory_ an Avalon is $75/GHs now when you can't actually buy one??

Plus, once there is a ASIC miner on a better process in widespread use the avalons will either need to head to the landfill— or at least Alaska for use as heating units, while a 28nm FPGA may have better reusablity.

I imagine that if someone had a board like the x6500 based on artix _right now_ they would be selling out. In a month? who knows.

So I don't think this is interesting just as a novelty project... though if it's just an "okay idea that won't make much money" vs an amazing one depends a lot on how the asic miner supply plays out, how the bitcoin market price plays out, etc.
Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 16, 2013, 11:37:54 PM
 #18

The Spartan's typically used were $150 each. Even if bought for $100, that's only maybe ~270MH/$100. I'm not knowledgeable on all the pricing (bulk or otherwise), but wouldn't an Artix be proportionately as costly - if not more?
I would expect them to be substantially _less_ costly per MH.  E.g. fitting potentially 400-900MH/s in an $100 part. Beyond the basic process improvements the Artix/Kintex parts have a substantially improved architecture.  Of course, the S6LX150 designs have had a lot of effort applied to optimizing them.

Quote
If I'm not mistaken, an Avalon is about ~280MH/BTC.08 (today's rate that equates to ~280MH/$5.50). So, unless you can purchase an FPGA with a performance/cost that beats that, then I don't know how this can work. Perhaps, this is just an academic pursuit for you.
A batch 3 Avalon cost 75 BTC and delivers 68GH/s. At the current market price that is  $75/GHs.   So maybe a 28nm FPGA ends up being twice the price per MH initially.   But: It would have a smaller basic unit size (probably a 2 or 4 chip board) which would create a larger customer base and it could potentially have better supply.  What does it matter that _in theory_ an Avalon is $75/GHs now when you can't actually buy one??

Plus, once there is a ASIC miner on a better process in widespread use the avalons will either need to head to the landfill— or at least Alaska for use as heating units, while a 28nm FPGA may have better reusablity.

I imagine that if someone had a board like the x6500 based on artix _right now_ they would be selling out. In a month? who knows.

So I don't think this is interesting just as a novelty project... though if it's just an "okay idea that won't make much money" vs an amazing one depends a lot on how the asic miner supply plays out, how the bitcoin market price plays out, etc.

Also, FPGAs have the ability to be re-purposed and resold for a different task, ASICs however, do not have that.
However ||bit is correct, this is mainly an academic pursuit for me, if people end up wanting to buy it great, if not, that's fine aswell and I'll just make and keep some for myself xD

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
||bit
Hero Member
*****
Offline Offline

Activity: 924
Merit: 506


View Profile
April 16, 2013, 11:56:36 PM
 #19

The Spartan's typically used were $150 each. Even if bought for $100, that's only maybe ~270MH/$100. I'm not knowledgeable on all the pricing (bulk or otherwise), but wouldn't an Artix be proportionately as costly - if not more?
I would expect them to be substantially _less_ costly per MH.  E.g. fitting potentially 400-900MH/s in an $100 part. Beyond the basic process improvements the Artix/Kintex parts have a substantially improved architecture.  Of course, the S6LX150 designs have had a lot of effort applied to optimizing them.
That would be a five times improvement. Sounds much better so far. To be on par with the Avalon, it's going to need another four times improvement.

Quote
If I'm not mistaken, an Avalon is about ~280MH/BTC.08 (today's rate that equates to ~280MH/$5.50). So, unless you can purchase an FPGA with a performance/cost that beats that, then I don't know how this can work. Perhaps, this is just an academic pursuit for you.
A batch 3 Avalon cost 75 BTC and delivers 68GH/s. At the current market price that is  $75/GHs.   So maybe a 28nm FPGA ends up being twice the price per MH initially.   But: It would have a smaller basic unit size (probably a 2 or 4 chip board) which would create a larger customer base and it could potentially have better supply.  What does it matter that _in theory_ an Avalon is $75/GHs now when you can't actually buy one??

Plus, once there is a ASIC miner on a better process in widespread use the avalons will either need to head to the landfill— or at least Alaska for use as heating units, while a 28nm FPGA may have better reusablity.

I imagine that if someone had a board like the x6500 based on artix _right now_ they would be selling out. In a month? who knows.

So I don't think this is interesting just as a novelty project... though if it's just an "okay idea that won't make much money" vs an amazing one depends a lot on how the asic miner supply plays out, how the bitcoin market price plays out, etc.
One of my assumptions is that the supporting PCB & electronics components will be roughly similar. So, the comparison I'm doing is the cost for the chips alone. Avalon is selling chips in bulk at much cheaper prices.

It seems the only benefit of FPGA, for now, is that it can be re-used for other applications, and thus have resale value (whereas ASIC's will be trash if faced with some kind of catastrophic failure of bitcoin). Also, FPGA's delivery time might be better - shouldn't be too difficult to beat any of the ASIC developers at this time.


Epicblood (OP)
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
April 17, 2013, 12:01:04 AM
 #20

The Spartan's typically used were $150 each. Even if bought for $100, that's only maybe ~270MH/$100. I'm not knowledgeable on all the pricing (bulk or otherwise), but wouldn't an Artix be proportionately as costly - if not more?
I would expect them to be substantially _less_ costly per MH.  E.g. fitting potentially 400-900MH/s in an $100 part. Beyond the basic process improvements the Artix/Kintex parts have a substantially improved architecture.  Of course, the S6LX150 designs have had a lot of effort applied to optimizing them.
That would be a five times improvement. Sounds much better so far. To be on par with the Avalon, it's going to need another four times improvement.

Quote
If I'm not mistaken, an Avalon is about ~280MH/BTC.08 (today's rate that equates to ~280MH/$5.50). So, unless you can purchase an FPGA with a performance/cost that beats that, then I don't know how this can work. Perhaps, this is just an academic pursuit for you.
A batch 3 Avalon cost 75 BTC and delivers 68GH/s. At the current market price that is  $75/GHs.   So maybe a 28nm FPGA ends up being twice the price per MH initially.   But: It would have a smaller basic unit size (probably a 2 or 4 chip board) which would create a larger customer base and it could potentially have better supply.  What does it matter that _in theory_ an Avalon is $75/GHs now when you can't actually buy one??

Plus, once there is a ASIC miner on a better process in widespread use the avalons will either need to head to the landfill— or at least Alaska for use as heating units, while a 28nm FPGA may have better reusablity.

I imagine that if someone had a board like the x6500 based on artix _right now_ they would be selling out. In a month? who knows.

So I don't think this is interesting just as a novelty project... though if it's just an "okay idea that won't make much money" vs an amazing one depends a lot on how the asic miner supply plays out, how the bitcoin market price plays out, etc.
One of my assumptions is that the supporting PCB & electronics components will be roughly similar. So, the comparison I'm doing is the cost for the chips alone. Avalon is selling chips in bulk at much cheaper prices.

It seems the only benefit of FPGA, for now, is that it can be re-used for other applications, and thus have resale value (whereas ASIC's will be trash if faced with some kind of catastrophic failure of bitcoin). Also, FPGA's delivery time might be better - shouldn't be too difficult to beat any of the ASIC developers at this time.

Well I don't have any sort of specialized production equipment, so IF I end up selling anything, depending on volume shipping might take awhile anyway :p

1AbYgR1FspHBB5EqyaxX6MrT6jmc7eMVEQ
Looking for Scrypt miner for ML605
Revolutionary MoneyMaking! Build your own cloud miner!
Pages: [1] 2 3 4 »  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!