Bitcoin Forum
August 22, 2025, 12:06:12 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 44 45 46 47 48 49 »
  Print  
Author Topic: Official Open Source FPGA Bitcoin Miner (Last Update: April 14th, 2013)  (Read 432993 times)
kingcoin
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
May 22, 2013, 05:54:29 PM
 #821

I've been getting a lot of these errors lately:

Code:
[05/22/2013 04:08:33] ERROR: Unable to getwork. Reason: can't read "state(status)": no such variable

Is this a common/known problem?

The getwork is timing out (probably the pool server is not responding). It happened a lot with BtCGuild when it was under DDOS attack.  I changed to using a stratum proxy server which is much more stable. Just install the proxy from https://github.com/slush0/stratum-mining-proxy , configure it to point to your preferred pool and start it up. Then (assuming you're using the mine.tcl script) set the config.tcl to connect to localhost:8332 (leave the login details the same as the proxy just passes them through to the pool).

[EDIT] Oops. I just saw your other post at https://bitcointalk.org/index.php?topic=212246.0 so it looks like you're on to this already. Anyway slush's proxy is pretty easy to set up (I'm using it on raspberry-pi linux).
Mark

It's better now. Hopefully the proxy will improve the situation further. Thanks!
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 23, 2013, 12:44:11 AM
 #822

Hey I got the KC705 board  working at 600MH/s. Anybody interested in the 600MH/s bitstream? I can share it for download.

Revewing Bitcoin / Crypto mining Hardware.
asjfdlksfd
Full Member
***
Offline Offline

Activity: 129
Merit: 101


View Profile
May 23, 2013, 01:42:07 AM
 #823

Hey I got the KC705 board  working at 600MH/s. Anybody interested in the 600MH/s bitstream? I can share it for download.
It is possible to upload them to git?
What do you have changed? Is this still the DSP design or do you replaced some dsps by simple lut adders to become 2 parallel rings?

Cheers...
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 23, 2013, 01:58:22 AM
 #824

Just re-implemented the DSP design by fpgaminer for 600MHz operation. Nothing major. It needs -2 or -3 speed grade chips for that speed.

Revewing Bitcoin / Crypto mining Hardware.
asjfdlksfd
Full Member
***
Offline Offline

Activity: 129
Merit: 101


View Profile
May 23, 2013, 02:14:42 AM
 #825

Just re-implemented the DSP design by fpgaminer for 600MHz operation. Nothing major. It needs -2 or -3 speed grade chips for that speed.
Can you share the vivado files you've changed? Possible upload to https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/tree/master/projects? I'm interested in to check them on my KC705.
Whats power consumption?
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 23, 2013, 02:31:37 AM
 #826

Just re-implemented the DSP design by fpgaminer for 600MHz operation. Nothing major. It needs -2 or -3 speed grade chips for that speed.
Can you share the vivado files you've changed? Possible upload to https://github.com/progranism/Open-Source-FPGA-Bitcoin-Miner/tree/master/projects? I'm interested in to check them on my KC705.
Whats power consumption?

Link pmed.
I have requested a pull for the open-source fpga project on github. once approved i will upload the project there as well. Power on chip according to vivado is 12.5W.

Revewing Bitcoin / Crypto mining Hardware.
kingcoin
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
May 23, 2013, 08:52:46 AM
 #827

Just re-implemented the DSP design by fpgaminer for 600MHz operation. Nothing major. It needs -2 or -3 speed grade chips for that speed.

Is that a single hash core reporting 600MHz operation in the static timing analysis using a -2 speed device?

goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 23, 2013, 10:31:48 AM
 #828

Just re-implemented the DSP design by fpgaminer for 600MHz operation. Nothing major. It needs -2 or -3 speed grade chips for that speed.

Is that a single hash core reporting 600MHz operation in the static timing analysis using a -2 speed device?


It's the KC705 experimental design from github which used DSP48E blocks on the K7. The reported speed is actual hashing speed.

Revewing Bitcoin / Crypto mining Hardware.
kingcoin
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
May 23, 2013, 11:51:08 AM
 #829

Just re-implemented the DSP design by fpgaminer for 600MHz operation. Nothing major. It needs -2 or -3 speed grade chips for that speed.

Is that a single hash core reporting 600MHz operation in the static timing analysis using a -2 speed device?


It's the KC705 experimental design from github which used DSP48E blocks on the K7. The reported speed is actual hashing speed.

Does the static timing analysis show that all paths are below 1.6ns? Or did you just check that your particular device runs at 600MHz?
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 23, 2013, 12:24:46 PM
 #830

Just re-implemented the DSP design by fpgaminer for 600MHz operation. Nothing major. It needs -2 or -3 speed grade chips for that speed.

Is that a single hash core reporting 600MHz operation in the static timing analysis using a -2 speed device?


It's the KC705 experimental design from github which used DSP48E blocks on the K7. The reported speed is actual hashing speed.

Does the static timing analysis show that all paths are below 1.6ns? Or did you just check that your particular device runs at 600MHz?

Nope the FIFO / BRAM doesn't meet timing specs. The Fmax for K7 speed grade -2 FIFO is 543.77MHz. But my FPGA still runs fine at 600MHz.
I guess it's stretching the limits. Also it could vary chip to chip, since -3 speed grade has a Fmax of 601.32MHz.
  

http://www.xilinx.com/support/documentation/data_sheets/ds182_Kintex_7_Data_Sheet.pdf, Pg 32, Table 31

Revewing Bitcoin / Crypto mining Hardware.
kingcoin
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250


View Profile
May 23, 2013, 12:50:26 PM
 #831

Nope the FIFO / BRAM doesn't meet timing specs. The Fmax for K7 speed grade -2 FIFO is 543.77MHz. But my FPGA still runs fine at 600MHz.
I guess it's stretching the limits. Also it could vary chip to chip, since -3 speed grade has a Fmax of 601.32MHz.

Thanks. I was wondering if the full fabric was running at 600MHz. BTW, was this using Vivado for synthesis?
asjfdlksfd
Full Member
***
Offline Offline

Activity: 129
Merit: 101


View Profile
May 23, 2013, 02:24:10 PM
 #832

Nope the FIFO / BRAM doesn't meet timing specs. The Fmax for K7 speed grade -2 FIFO is 543.77MHz. But my FPGA still runs fine at 600MHz.
Whats your target temperature ? I've load now the bitstream from your project and the temp is grown to >76 °C which is to near to 80° C(?) limit of the commercial chips which are used I mean on KC705.
I've put an old cpu 8cm fan so little air flow is from the pdc side to the kintex.

Better I will clock to 550 MHz so temp of pdcs and kintex will not override.

Cheers...
kidgorgeous
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
May 23, 2013, 02:37:57 PM
 #833

Quote
But my FPGA still runs fine at 600MHz.
I guess it's stretching the limits. Also it could vary chip to chip, since -3 speed grade has a Fmax of 601.32MHz

Did you just modify the clock on fpgaminers code? I upped the clock to 450mhz and it was running stable at 70C. The chip is rated to 85C, what temperature were you at at 600mhz

1KHxCRniFNmS7ChiPqaewmokuCABk2PRQn
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 23, 2013, 08:28:52 PM
 #834

Nope the FIFO / BRAM doesn't meet timing specs. The Fmax for K7 speed grade -2 FIFO is 543.77MHz. But my FPGA still runs fine at 600MHz.
Whats your target temperature ? I've load now the bitstream from your project and the temp is grown to >76 °C which is to near to 80° C(?) limit of the commercial chips which are used I mean on KC705.
I've put an old cpu 8cm fan so little air flow is from the pdc side to the kintex.

Better I will clock to 550 MHz so temp of pdcs and kintex will not override.

Cheers...


Does your k7 have a heatsink + fan? Something like this. http://sls.smugmug.com/Professional/Platform-Blue/5440422_d6JQGF/1530805068_bv3hrdM#!i=1530805068&k=bv3hrdM

Revewing Bitcoin / Crypto mining Hardware.
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 23, 2013, 08:31:15 PM
 #835

Quote
But my FPGA still runs fine at 600MHz.
I guess it's stretching the limits. Also it could vary chip to chip, since -3 speed grade has a Fmax of 601.32MHz

Did you just modify the clock on fpgaminers code? I upped the clock to 450mhz and it was running stable at 70C. The chip is rated to 85C, what temperature were you at at 600mhz

Very minor mods.
I modified settings of the FIFO, and the Clock multiplier. I can PM you my vivado project. Moreover I implemented various implementation  strategies to cherry pick get a good bitstream running stable at 550MHz+.
The temperature is between 30 to 45 C depending on the time of day. My KC705 came with a heatsink + fan though.

Revewing Bitcoin / Crypto mining Hardware.
asjfdlksfd
Full Member
***
Offline Offline

Activity: 129
Merit: 101


View Profile
May 23, 2013, 11:21:51 PM
 #836

70C. The chip is rated to 85C, what temperature were you at at 600mhz

implemented various implementation  strategies to cherry pick get a good bitstream running stable at 550MHz+.
The temperature is between 30 to 45 C depending on the time of day. My KC705 came with a heatsink + fan though.
Hmm, I used exactly you vivado project to create an bitstream. But the temparature is near by 76-78 °C realted to my room temperature (24 °C at the moment):
2013-05-24 01:20:10.619202 [500] stdout: ('Temperature: ', 76.9086849212647)

I'm still on 600 MHz at the moment because it looks like stable.
In my opinion we should switch the clock frequency dynamicable to an less value if the temp will increase over an limit, e.g. 80 °C. What do you think? It should not be so hard to do that.

My heatsink + fan looks like the same as on your pictures.
goxed
Legendary
*
Offline Offline

Activity: 1946
Merit: 1006


Bitcoin / Crypto mining Hardware.


View Profile
May 24, 2013, 01:09:18 AM
 #837

70C. The chip is rated to 85C, what temperature were you at at 600mhz

implemented various implementation  strategies to cherry pick get a good bitstream running stable at 550MHz+.
The temperature is between 30 to 45 C depending on the time of day. My KC705 came with a heatsink + fan though.
Hmm, I used exactly you vivado project to create an bitstream. But the temparature is near by 76-78 °C realted to my room temperature (24 °C at the moment):
2013-05-24 01:20:10.619202 [500] stdout: ('Temperature: ', 76.9086849212647)

I'm still on 600 MHz at the moment because it looks like stable.
In my opinion we should switch the clock frequency dynamicable to an less value if the temp will increase over an limit, e.g. 80 °C. What do you think? It should not be so hard to do that.

My heatsink + fan looks like the same as on your pictures.


Hmm this is interesting. My room temp is 26C, and the FPGA never reported more than 45C on the 600MHz bitstream.

Revewing Bitcoin / Crypto mining Hardware.
kidgorgeous
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
May 24, 2013, 01:58:27 AM
 #838

I would love to know what differences you made in implementation to get down to 45C for 600mhz. That seems like a really drastic improvement.

1KHxCRniFNmS7ChiPqaewmokuCABk2PRQn
asjfdlksfd
Full Member
***
Offline Offline

Activity: 129
Merit: 101


View Profile
May 24, 2013, 02:22:33 AM
 #839

Hmm this is interesting. My room temp is 26C, and the FPGA never reported more than 45C on the 600MHz bitstream.
Are you sure the values are calculated correctly? Whats the temperature without calculating hashes? It should been round about 30-35 °C.
Which temp values do you get from serial port with minicom if no mining is working?
I've modified a little bit the kc705uartworker.py for checking:

Code:
            print("Temperature: ", "0x" + response, temperature)

Here the results from the console at the beginning of mining. Be aware, the lower values comes from the AVNet MMP
Code:
2013-05-24 04:12:54.601721 [500] stdout: ('Temperature: ', '0xA116', 43.97220840454105)
2013-05-24 04:12:55.744079 [500] stdout: ('Temperature: ', '0x9E8C', 38.973677062988315)
2013-05-24 04:12:59.743875 [500] stdout: ('Temperature: ', '0x9FDF', 41.58060340881349)
2013-05-24 04:13:02.601813 [500] stdout: ('Temperature: ', '0xA119', 43.99527854919438)
2013-05-24 04:13:03.744184 [500] stdout: ('Temperature: ', '0xA055', 42.488029098510765)
2013-05-24 04:13:06.601711 [500] stdout: ('Temperature: ', '0xA00A', 41.91127548217776)
2013-05-24 04:13:07.744082 [500] stdout: ('Temperature: ', '0x9F0F', 39.98107337951666)
2013-05-24 04:13:10.601820 [500] stdout: ('Temperature: ', '0x9F85', 40.88849906921388)
2013-05-24 04:13:11.744180 [500] stdout: ('Temperature: ', '0x9E44', 38.41999359130864)
...
2013-05-24 04:22:23.744699 [500] stdout: ('Temperature: ', '0xA77F', 56.59157752990728)
2013-05-24 04:22:27.744679 [500] stdout: ('Temperature: ', '0xA772', 56.49160690307622)
2013-05-24 04:22:30.601187 [500] stdout: ('Temperature: ', '0xB20A', 77.34701766967777)
2013-05-24 04:22:31.744582 [500] stdout: ('Temperature: ', '0xA777', 56.530057144165085)
2013-05-24 04:22:34.601285 [500] stdout: ('Temperature: ', '0xB1F6', 77.1932167053223)
2013-05-24 04:22:35.744667 [500] stdout: ('Temperature: ', '0xA78D', 56.69923820495609)
...
asjfdlksfd
Full Member
***
Offline Offline

Activity: 129
Merit: 101


View Profile
May 24, 2013, 02:28:15 AM
 #840

I would love to know what differences you made in implementation to get down to 45C for 600mhz. That seems like a really drastic improvement.
I'm unsure that he mades so much improvement.
As I understood vivado reports on his design >12W which must be dissipationed against 400 MHz github design which reports <9 W and gives temps near by 60 °C.

But there chip to cooler heat conduction is possible better.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 [42] 43 44 45 46 47 48 49 »
  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!