[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

GPU on FPGA

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 26
Thread images: 2

File: altera-fpgas.jpg (24KB, 400x250px) Image search: [Google]
altera-fpgas.jpg
24KB, 400x250px
I want to implement a GPU with partial Vulkan support on a FPGA. I already know some Verilog.

Where do I begin?
>>
That sounds cool, do you already have access to one?
>>
>>59702883
I recommend installing this first

https://distrowatch.com/?newsid=09415
>>
Is it just me or do most people overestimate /g/ the majority is here just to call each other Pajeets or Jews
>>
>>59702883

This Computer Architecture book explains the Intel Core i7, ARM Cortex-A53 but also the NVIDIA Fermi GPU architecture:

https://www.amazon.com/Computer-Organization-Design-ARM-Architecture-ebook/dp/B01H1DCRRC/

Also learn how a graphics API can be implemented in software:

https://github.com/ssloy/tinyrenderer/wiki
>>
>>59702883

first design a cpu from scratch. Something simple like an 8 bit micro. Have it execute instructions from a little ROM you build.

bump up complexity to a 32 bit with more instructions.

talk to external ram.

make your cpu pipelined (~1 instruction per clock)

add instruction and data caches.

build some sort of multiplexed bus or xbar for multiple agents to talk to ram.

design your first shader core.

this will take you a few years.
>>
File: 1469390129486.jpg (118KB, 870x652px) Image search: [Google]
1469390129486.jpg
118KB, 870x652px
>>59703509
This,
I don't know if OP is baiting and everybody else who posted here is retarded or if this is just a delayed april autism day.

But as always /g/ is a meme board with barely any actual knowledgable people so...
>>
>>59702943
Wrong, many engineers and computer scientists like me here.
>>
implement a quantum computer on FPGA
>>
>>59702883

Don't try to do that. A GPU is already an ASIC that supports GPU APIs

If you want to use it with your computer then you have to interface it with PCI (debugging PCI requires actually probing it on the board with really expensive equipment), write drivers, implement Vulkan, get an FPGA board (if you want one that isn't completely obsolete it is really expensive)

And you better hope to god you don't run into an NDA spec or you are fucked.
>>
>>59703822

oh yeah and I didn't even mention RAM. Good luck figuring out a DRAM controller.
>>
>verilog

At least learn a non meme hdl language like VHDL
>>
>>59703509

gaah, I left out adding interrupts and exceptions to the early cpus.

do that after you go 32 bit, or after you go pipelined.
>>
>>59703845
>Good luck figuring out a DRAM controller.

A dram controller is not that hard, particularly if you start with SDRAM. DDR and DDR2 are not much harder than that.

I've not done a DDR3 or above design; I can't speak to that yet.
>>
I don't know anything about FPGAs, but talking about FPGA GPUs, is it possible to implement analog video output entirely on a FPGA or would you need external hardware for the DAC?
>>
>>59704035

you need external hardware, but that can just be a resistor network.

fun fact: the analog voltage inputs on at least some monitors appear to be AC coupled. Don't just apply some voltage and expect to get a color. when you are outside the drawn area of the screen, command 0V.
>>
>>59703854
Since you want it so badly.
(you)
>>
Don't forget you g /fags/ that GPUs themselves may be nearing obsolescence (though the next step in evolution is murky).

Shaders are tiny processors that exist to extremely efficiently exploit TLP. The GPU is a collection of thousands of these little guys tied together with support hardware.

If it is possible to dynamically synthesize the actual hardware that implements a shader program on the fly and dump it into a fpga on die within a cpu, that might be far more efficient than the best GPU shader because you are no longer dealing with instructions or caches, the hardware just does the calculations. It would be like the original fixed function display hardware, but generated on the fly per texture/polygon and dumped into the fpga fabric though partial reconfiguration.

Could you get better performance/watt this way? I dunno, but if so kiss the GPU goodbye.

Who the fuck knows what this would look like in the end, either from the programming or the hardware side.
>>
>>59704437
GPUs aren't going anywhere until we get 1thz graphene CPUs that can render games at 16k resolution in software without breaking a sweat.
>>
>>59703854
Nobody uses VHDL nowadays except maybe US DoD.
>>
>>59704682

You don't seem to understand the paradigm shift I'm talking about.

This is beyond the old CPU vs GPU debate. There is potentially a 3rd path. It's why Intel purchased Altera.
>>
>>59704766
It's not a paradigm shift. It's a delusion you pulled out of your ass based on a very shallow understanding of the field.
>>
>>59704761

The old divide was the east coast US and Europe used VHDL, the west coast of the US used verilog.

Verilog for ASICS and VHDL for FPGAs.

I personally prefer VHDL.

For OSS stuff Verilog got a boost because it was simpler and Icarus Verilog was around. With GHDL around and pretty good, who knows.

Verilog has seemingly been pulling a lot of VHDL ideas into it, and I've heard that some Verilog ideas have gone/are going the other direction.
>>
>>59704776

I hope you are not basing your 'career' choices around your present 'understanding' of the direction of computation.
>>
>>59702943
Posters here are rather diverse. There sure is a lot of garbage on this board but there are a few who know their stuff.
>>
>>59702883
>Where do I begin?
By bootstrapping off an existing project:
https://opencores.org/project,gpu
Thread posts: 26
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.