Bitcoin Forum
November 12, 2024, 03:49:17 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Poll
Question: Wich FPGA shall be used on our prototype ?
Xilinx Spartan 6 LX 150 - 17 (70.8%)
Altera Cyclone IV 75k - 7 (29.2%)
Total Voters: 24

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 »
  Print  
Author Topic: Modular FPGA Miner Hardware Design Development  (Read 119298 times)
fizzisist
Hero Member
*****
Offline Offline

Activity: 720
Merit: 525



View Profile WWW
August 19, 2011, 03:16:26 PM
 #601

fpgaminer, you're right, we are set up to use the Slave Serial Mode as on page 26. I believe Olaf.Mandel did this work, but he seems to MIA lately.

The thing about the F55xx series, is that they have hardware serial interfaces. You can bit-bang the outputs of the Launchpad, but that might be more work than it's really worth... Since we don't have a F55xx board, we're kinda out of luck until we get this real board made. Also, not having access to the pins you need on your dev board, it gets even worse.

In that respect, I think switching to a JTAG interface is a great idea. Why not? Hopefully Olaf will come back and answer some of these questions better than me before you get too far on the wrong track (in case I'm missing some reason not to do it this way).

Another option is to add a flash IC to the board, and use the MCU to reprogram that when necessary. Would this be easier/better? As ngzhang has pointed out, these chips are cheap.

inh
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
August 20, 2011, 03:46:26 AM
 #602

Regarding heat dissipation, I was going to recommend these until I realized they are still quite a bit smaller than the FPGA itself. Still, newegg has some others that might work well...



http://www.newegg.com/Product/Product.aspx?Item=N82E16835108071
fpgaminer
Hero Member
*****
Offline Offline

Activity: 560
Merit: 517



View Profile WWW
August 21, 2011, 08:51:03 AM
 #603

fizzisist: Yeah, I doubt anything I write now will ultimately be used as-is, but it will likely make good ground-work, and heck it shouldn't take me that long. The Python side of things will probably be the most useful Tongue

If the code doesn't end up getting used, add it to my pile of incomplete hobby projects Tongue

pusle
Member
**
Offline Offline

Activity: 89
Merit: 10


View Profile
August 23, 2011, 06:13:48 PM
 #604



WoW boards!   Cheesy


http://www.bitcoinminer.com/post/9268040136

http://fillwithcoolblogname.blogspot.com/2011/08/heres-where-its-at-now.html
rph
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
August 31, 2011, 09:07:14 AM
 #605

Hope this is still alive. It got very quiet in here. Undecided

Ultra-Low-Cost DIY FPGA Miner: https://bitcointalk.org/index.php?topic=44891
twinpeaks
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
August 31, 2011, 10:35:53 AM
 #606

Hi,
Just wanted to let you know that http://tideals.com/ offers today the MSP-EXP430F5529 USB Experimenter’s Board for half the price with free international shipping while supplies last. Could maybe be useful.

twinpeaks
inh
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
August 31, 2011, 01:09:14 PM
 #607

Hi,
Just wanted to let you know that http://tideals.com/ offers today the MSP-EXP430F5529 USB Experimenter’s Board for half the price with free international shipping while supplies last. Could maybe be useful.

twinpeaks

Thanks! Snatched one up Smiley
njloof
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
August 31, 2011, 02:25:28 PM
 #608

Hope this is still alive. It got very quiet in here. Undecided

This thread maybe took some of the air out of the room:
https://bitcointalk.org/index.php?topic=40047.0
O_Shovah (OP)
Sr. Member
****
Offline Offline

Activity: 410
Merit: 252


Watercooling the world of mining


View Profile
August 31, 2011, 07:22:41 PM
 #609

Hello everybody.

So just to give word. this thread isn't obsolete afther all. But we are desperatly seeking  software and hardware developers willing to contribute again.

The main goal before getting to a prototype stage is to posses a code for the MSP 430 chip in order to access our fpga's.

So anybody interested and still supporting us  please post so or give me a pm.

regards

Jens 

phillipsjk
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Let the chips fall where they may.


View Profile WWW
September 01, 2011, 04:45:14 PM
 #610

My situation has not changed since my PM. What timeline were you thinking of?

Back in June I decided I was not interested in buying mining hardware this year: getting a stable Internet connection with IPv6 support is more important for me. I don't have any bitcoins to my name, and am not mining, so the current low prices are not really bothering me. However, I want this project to succeed, and I know enough to to know you can't ship the prototypes without the software for the microcontroller.

I also know the software will take time to write. It is tedious and safety-critical: just the type of programming I feel I need to learn how to do (Insert rant about inherently insecure computers here). The code is safety critical, because even if it does not burn your house down when a temperature sensor fails, apparently flashing the wrong image can damage the expensive FPGA.

TL;DR: I think I can commit about 3 hours a week almost immediately. I suppose a good first step would be to manually review all of the pin-outs on the proposed PCB.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
rph
Full Member
***
Offline Offline

Activity: 176
Merit: 100


View Profile
September 02, 2011, 04:43:57 AM
Last edit: September 02, 2011, 05:39:11 AM by rph
 #611

http://inisyn.org/src/xup/ might be useful as a SW reference, if you haven't seen it yet:

-rph

Ultra-Low-Cost DIY FPGA Miner: https://bitcointalk.org/index.php?topic=44891
inh
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
September 02, 2011, 02:24:24 PM
 #612

I got my MSP430F5529 dev board in yesterday and am getting setup to start cutting code for it. My goal is to get SPI for the FPGAs and a serial connection over USB working. I'm busy with school and work like everyone else but I can spend a few hours on weeknights and weekends working on this. I've done microcontroller programming and SPI interfaces before, so this shouldn't be too hard Smiley
phillipsjk
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Let the chips fall where they may.


View Profile WWW
September 03, 2011, 08:00:13 PM
 #613

http://inisyn.org/src/xup/ might be useful as a SW reference, if you haven't seen it yet:

-rph


No I hadn't seen that. It looks like it is not directly applicable because it assumes a programming cable using a different MCU.

I spent my first 3 hour block of time taking notes on the current state of the project.

The project appears to be using the Xilinx Spartan 6 XC6SLX150-3FGG484C Source, and the Texas Instruments MSP430F5529 , QFP80 package Source. I have not dug out all of the relevant documentation yet, but when I do, I will post a list.

Does the new part resolve questions  Olaf.Mandel raised about the need to multiplex SPI?

ngzhang's post about bitstream sizes concerns me as well. The chosen part has a bitstream weighing in at just over 4MiB. Where do we want to store it? I think the feeling is "on the host". However, this is supposed to be a modular miner with possibly different modules loaded on the same board. I feel we need to do one of:
  • Store the bitstream(s) on a flash chip as ngzhang suggested; bitstream updates would be written to the fash by the MCU.
  • Work out some way to uniquely indentify each module (model/revison), such that the host knows which image to load. Edit: I suppose the USB ID could be used for that.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
inh
Full Member
***
Offline Offline

Activity: 155
Merit: 100


View Profile
September 03, 2011, 09:38:44 PM
 #614

http://inisyn.org/src/xup/ might be useful as a SW reference, if you haven't seen it yet:

-rph


No I hadn't seen that. It looks like it is not directly applicable because it assumes a programming cable using a different MCU.

I spent my first 3 hour block of time taking notes on the current state of the project.

The project appears to be using the Xilinx Spartan 6 XC6SLX150-3FGG484C Source, and the Texas Instruments MSP430F5529 , QFP80 package Source. I have not dug out all of the relevant documentation yet, but when I do, I will post a list.

Does the new part resolve questions  Olaf.Mandel raised about the need to multiplex SPI?

ngzhang's post about bitstream sizes concerns me as well. The chosen part has a bitstream weighing in at just over 4MiB. Where do we want to store it? I think the feeling is "on the host". However, this is supposed to be a modular miner with possibly different modules loaded on the same board. I feel we need to do one of:
  • Store the bitstream(s) on a flash chip as ngzhang suggested; bitstream updates would be written to the fash by the MCU.
  • Work out some way to uniquely indentify each module (model/revison), such that the host knows which image to load. Edit: I suppose the USB ID could be used for that.

My vote is to use an onboard SPI serial flash (~$4 USD) which can configure all FPGAs on the DIMM card simultaneously. See this appnote: http://www.xilinx.com/support/documentation/application_notes/xapp951.pdf

The μC can configure the flash via it's USB connection, and it probably wont be too hard to have the μC configure the FPGAs directly in lieu of a flash memory IC.

I think as long as we focus on keeping the DIMM interface the same, any combination of FPGAs makes and models can be setup to work together. Perhaps on the main backplane bus (SPI/USB/whatever) (my vote is SPI) we can have a standard protocol and one feature of this can be a getInfo request where each DIMM module spits out number and types of FPGAs, etc etc..

I'm setup to compile code for the MSP430 now, working on uploading and debugging at the moment. Considering buying a ztex FPGA module to do MSP <-> Spartan6 communication tests. Is anyone aware of an XC6SLX150-3 dev board that comes out to less than $600 after shipping to the US besides the ztex?
O_Shovah (OP)
Sr. Member
****
Offline Offline

Activity: 410
Merit: 252


Watercooling the world of mining


View Profile
September 03, 2011, 11:40:17 PM
 #615

http://inisyn.org/src/xup/ might be useful as a SW reference, if you haven't seen it yet:

-rph


No I hadn't seen that. It looks like it is not directly applicable because it assumes a programming cable using a different MCU.

I spent my first 3 hour block of time taking notes on the current state of the project.

The project appears to be using the Xilinx Spartan 6 XC6SLX150-3FGG484C Source, and the Texas Instruments MSP430F5529 , QFP80 package Source. I have not dug out all of the relevant documentation yet, but when I do, I will post a list.

Does the new part resolve questions  Olaf.Mandel raised about the need to multiplex SPI?

ngzhang's post about bitstream sizes concerns me as well. The chosen part has a bitstream weighing in at just over 4MiB. Where do we want to store it? I think the feeling is "on the host". However, this is supposed to be a modular miner with possibly different modules loaded on the same board. I feel we need to do one of:
  • Store the bitstream(s) on a flash chip as ngzhang suggested; bitstream updates would be written to the fash by the MCU.
  • Work out some way to uniquely indentify each module (model/revison), such that the host knows which image to load. Edit: I suppose the USB ID could be used for that.

My vote is to use an onboard SPI serial flash (~$4 USD) which can configure all FPGAs on the DIMM card simultaneously. See this appnote: http://www.xilinx.com/support/documentation/application_notes/xapp951.pdf
I fully second that aproach. Has been already disscussed but seems to have been forgotten.
The μC can configure the flash via it's USB connection, and it probably wont be too hard to have the μC configure the FPGAs directly in lieu of a flash memory IC.

I think as long as we focus on keeping the DIMM interface the same, any combination of FPGAs makes and models can be setup to work together. Perhaps on the main backplane bus (SPI/USB/whatever) (my vote is SPI) we can have a standard protocol and one feature of this can be a getInfo request where each DIMM module spits out number and types of FPGAs, etc etc..
Yes SPI is the intended interface for the backplane communication. So with the flash located on each DIMM and a standartised protocol we should be abled to create a backplane wich is independent of the types of DIMM's located on it.
I'm setup to compile code for the MSP430 now, working on uploading and debugging at the moment. Considering buying a ztex FPGA module to do MSP <-> Spartan6 communication tests. Is anyone aware of an XC6SLX150-3 dev board that comes out to less than $600 after shipping to the US besides the ztex?

Hey  makes me glad something  is happening again.
I will order one of these MSP 430 boards too. But due to my student budget i will not invest in an FPGS eval board in addition ( i like to spare some money for the real prototype).

But also we should produce one working DIMM before getting to the motherboard or we might end up splitting our efforts to widely at one time.

@ both of you :  How about your electronic hardware knowledge ?
I could need some additional eyes reviewing our current layout and routing in eagle.
@phillipsjk  Maybe you could give me your email adress so i may add you to the dropboxfolder

phillipsjk
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Let the chips fall where they may.


View Profile WWW
September 04, 2011, 05:49:01 AM
 #616

Thinking about it, I think we can get away without the flash: It would make it slightly easier to use the DIMM for things other than bitcoin. On the other hand, waking up from sleep/suspend/off mode would be a lot simpler if things got loaded from flash automatically.

In either case, you need the boards to be able to identify their make/model for bitstream updates.

You can email me at: bitcoin@example.com, where example.com is the domain of my personal website. My OpenPGP fingerprint is CBDE CFB6 BB6A 2BB5 FDE1 01C5 3CF6 0C5E 1CFD A27B (SHA-1, June 28 2012 expiry). My public key is also on my website; I posted the fingerprint here in case my ISP, webhost or your ISP tries to pull a fast one (You access this site using HTTPS, right?).

I took a two year electronics course, which included a final project using the Motorolla (now Freescale) MC68HC11E1 Microprocessor. I ended up going through my code line-by-line to check for software errors: I had hardware errors as well Tongue. I don't really have any specific electronic work experience though. I have been trying to keep up my soldering skills though.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
O_Shovah (OP)
Sr. Member
****
Offline Offline

Activity: 410
Merit: 252


Watercooling the world of mining


View Profile
September 05, 2011, 06:48:26 PM
 #617

My MSP430 dev board is ordered.

Im currently reviewing the piouts and layouts in the eagle files to get me back into the hardware matter.
Has anybody noticed any faults or irregularyties by now ?

daphreak
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
September 07, 2011, 01:00:12 PM
 #618

Hi All,

I'm interested in helping out with hardware or software dev wherever there is need. I'm a EE so I have some experience with designing/manufacturing pcb's and have worked with FPGA's and various uC's.

It seems there is a lot of work going towards the master hardware and I would like to help out. Is there an interest in having the master be a stand-alone ethernet connected device? It seems like this could add a lot of flexibility to ones mining setup.

I have a lpcxpresso board (lpc1769) here and a spartan3 dev kit that I could easily begin prototyping an ethernet master on and practice talking to the SPI interface on the fpga. However in this thread there is some momentum in the msp430 direction and I dont want to branch the effort. I may just try to get some JSON action running on the uIP stack and that should be somewhat portable to other parts.

Some comments on the latest stuff in the thread:

Has the global JTAG chain been abandoned? If not you can use the JTAG ID's to decide which bitstream to load for each device. Your master will need some bulk storage for all the bitstreams but it will be cheaper than each FPGA having its own config memory. May be a little slow without a small cpld/fpga to accelerate things but if you are only rebooting every once in a while it wouldn't matter.

Anyway, let me know if/where I can help.
makomk
Hero Member
*****
Offline Offline

Activity: 686
Merit: 564


View Profile
September 07, 2011, 01:05:12 PM
 #619

I have a lpcxpresso board (lpc1769) here and a spartan3 dev kit that I could easily begin prototyping an ethernet master on and practice talking to the SPI interface on the fpga. However in this thread there is some momentum in the msp430 direction and I dont want to branch the effort. I may just try to get some JSON action running on the uIP stack and that should be somewhat portable to other parts.
Heh, I was vaguely contemplating trying this too. Don't think there is an SPI-enabled FPGA design yet that I know of though...

Quad XC6SLX150 Board: 860 MHash/s or so.
SIGS ABOUT BUTTERFLY LABS ARE PAID ADS
daphreak
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
September 07, 2011, 01:46:04 PM
 #620

uC's have UART's as well so I could use the serial interface as a holdover.
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 »
  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!