Bitcoin Forum
November 11, 2024, 11:46:57 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about FPGA.  (Read 1034 times)
Cidsor (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
July 20, 2011, 06:30:31 AM
 #1

I am very little familiar with FPGA's, but I've read some articles on what they are and so on. If I understand it right, any GPU should be able to run as FPGA?

Now I know you can run 8 GPU's in a normal OS (with the exception of the few "quickfix" linux distro's), but could you potentially run e.g. 4x5970 on 4x PCI-ex x16 slots and 1x5850 as an FPGA on a x1 slot (or on any other slot for that matter)? And if it is possible, would the FPGA vs GPU mean a loss of computing power when mining or gaming?



 
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
July 20, 2011, 06:37:21 AM
 #2

If I understand it right, any GPU should be able to run as FPGA?
It's possible you mean something by this that makes sense, but I can't figure out what it is. An FPGA is a physical device that is no very much like a GPU at all. In principle, a GPU can act like an FPGA just as a CPU can act like a GPU, but it won't be very efficient. If you want to mine on a GPU, we already know how to do that without any "pretend to be something else" inefficiency.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
Cidsor (OP)
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
July 20, 2011, 07:13:22 AM
 #3

If I understand it right, any GPU should be able to run as FPGA?
It's possible you mean something by this that makes sense, but I can't figure out what it is. An FPGA is a physical device that is no very much like a GPU at all. In principle, a GPU can act like an FPGA just as a CPU can act like a GPU, but it won't be very efficient. If you want to mine on a GPU, we already know how to do that without any "pretend to be something else" inefficiency.

Was exactly what I was wondering about, thanks for the answer Smiley
Minor
Member
**
Offline Offline

Activity: 85
Merit: 10



View Profile
December 06, 2011, 07:37:17 AM
 #4

The funny thing is that the truth is exactly the reverse: an FPGA can actually be made to act as a GPU (or any other digital electronic circuit for that matter - aren't FPGAs the coolest thing?).
monological
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 07, 2011, 10:02:40 AM
 #5

FPGAs are programmed with synthesized hdl code that actually represents the logic that eventually gets turned into ASICs like the GPUs in all these graphic cards. Smiley
monological
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 07, 2011, 10:07:31 AM
 #6

In other words, imagine you wanted to test out an AND gate. You can program an fpga on the fly to represent an AND gate. An ASIC is fabricated and can only do what it was designed to do. So in this simple example, it could only ever act as an AND gate, because the logic ant be changed. This is a very simplistic answer. Hope it doesnt confuse more than it helps.
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
December 07, 2011, 02:14:40 PM
 #7

Of course an ASIC is much faster than a FPGA, but to produce them you need to invest some millions of $$ for masks/whatelse (after the investment their price is low of course)

jackmaninov
Full Member
***
Offline Offline

Activity: 139
Merit: 100


View Profile
December 07, 2011, 03:45:05 PM
 #8

Maybe it would cost millions to develop an ASIC using the latest process technology, but it should be significantly cheaper to build a large, multi-core, low clock-speed ASIC for hashing. It's not like you're trying to put these things in laptops (though low power usage will be better in the long run for miners).
Gabi
Legendary
*
Offline Offline

Activity: 1148
Merit: 1008


If you want to walk on water, get out of the boat


View Profile
December 07, 2011, 04:28:40 PM
 #9

The expense is for the masks used to make the chips. They cost millions and if you want to make a ASIC you need them

monological
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 07, 2011, 08:01:07 PM
 #10

Even for micrometer process nodes, it's still in the hundreds of thousands of dollars, and it'll take forever to recover that amount and it's super high risk.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1036



View Profile WWW
December 08, 2011, 12:59:14 PM
Last edit: December 08, 2011, 01:17:26 PM by deepceleron
 #11

An FPGA is a Field-Programmable Gate Array.

FPGA : logic :: EPROM : memory.
FPGA : IC :: DVD-RW : DVD

It is, at it's core, a mesh of single transistor equivalents that can be "burned" into logic gate truth tables and circuits to represent any arbitrary digital logic device, including a microprocessor. Without the FPGA, we would have to make such devices out of discrete logic components, or produce a complete masked integrated circuit design, only practical for large production runs. The actual burning of thousands of gates is largely simplified by modern design software which includes prebuilt logic cores.

A CPU is a microprocessor, which is designed to execute a large variety of instructions, a "jack-of-all-trades". GPUs, however, are designed to be very good at rendering graphics, which means they excel in certain types of parallel processed mathematics that are used in graphics rendering. Neither were designed with SHA256 hashing in mind, which is what mining needs, so a chip specifically designed to do only this can be even better. Designing and manufacturing a complete chip from scratch costs hundreds of thousands of dollars from application-specific integrated circuit fabs, so the FPGA is a compromise, in that it can be made into a specialized circuit optimized for one purpose in low production numbers, but the underlying device is not optimal for high speed efficient processing.
Pages: [1]
  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!