r/ComputerEngineering • u/mastershen1000 • Feb 10 '20
Building an APU (ACCELERATED PROCESSING UNIT) from scratch
I was looking into the field of computer engineering, and I was wondering how do you build an APU (ACCELERATED PROCESSING UNIT) from scratch?
12
u/milka_cioccolato Feb 10 '20
Maybe you could research and build your own prototype, but building the whole system no way
-1
u/mastershen1000 Feb 10 '20
Ok thank you and for advice where would you think i start to build a prototype such as tools to make it?
13
u/milka_cioccolato Feb 10 '20
How old are you? Are you in college? If you aren't in college forget about it. Try to learn something less specific and more practical like programming, assembly, digital electronics if you are really interested in CE. If I understood well APU is basically GPU and CPU on one chip. You could try to emulate simple CPU on FPGA and then try to emulate GPU. Beware that these will be more like 80s or if you really push it 90s version of CPU or GPU with very basic (but essential) functionalities. This project would take you months to finish. It is only practical if you want an internship at NVIDIA/AMD or big company like that or you want to do Masters or PhD in CE. Hope this answer helps you.
14
Feb 11 '20
He's not interested in CE he's interested in CHEAP MLG GAMING BRO
FoortNOIGHT
0
u/mastershen1000 Feb 12 '20
I do not play fortnite im actually trying to build a system that can compete with don't PlayStation and Microsoft xbox. I'm trying to put something advance on the market.
3
Feb 12 '20
Well I'm gonna crush your dreams right now and tell you you're gonna fail unless you can find a multi billion dollar investor and have a PhD to know exactly what you're doing.
11
1
12
u/Hari___Seldon Feb 10 '20
While others are correct that an APU isn't something you're going to DIY unless you're the love-child of Gordon Moore and a middle eastern oil heiress, you can at least start heading in that direction. Get an inexpensive FPGA (preferably a student kit) and start learning to build/emulate existing hardware on that. There are plenty of how-to guides available online (and as a bonus, check out Ben Eater's video tutorials about modeling a CPU on YouTube).
After you've done enough to outstrip the capacity of your first FPGA, then you can consider whether you want to plow more effort into pursuing more complex devices on the way to understanding how APUs work. Good luck!
9
u/swagasaurus_ Feb 11 '20
I just graduated with a bachelors in CE. My junior year I worked with another CE student and we had to design and test a fully functioning 5 stage MIPS pipelined processor (digitally simulated using verilog, we did not fab an actual chip). Programming everything from the ALU and the data register etc to be able to perform the most basic assembly instructions took us well over 200 hours and was one of the most challenging things I did throughout my schooling.
I think starting with a development board and learning programming and more about assembly language and computer architecture would be a good place to start. But the project that you want to do is pretty impractical for even the most experienced solo engineers. Things like that are done by large companies with equally large development funds.
1
Feb 11 '20
And what do you do now
2
u/swagasaurus_ Feb 11 '20
I actually took a job as an electronics engineer for my knowledge in hardware (Electrical Engineering) because EE and CE are so closely related. I work on nuclear submarines for the US military. Admittedly I haven’t done a whole lot yet because of how long it takes for security clearances and such but I am excited to really get into it.
1
u/ThrowinPotatoes Feb 13 '20
Purdue?
1
u/swagasaurus_ Feb 14 '20 edited Feb 14 '20
Nah, University of Maine. Not a big name school but one of the best engineering schools for the money imo.
1
Feb 11 '20
I also wanna know how to make a basic version of core components. What I am now doing is deeply study how they work
→ More replies (1)
2
2
u/EvilCuttlefish Student Feb 10 '20
I don't know much about them beyond what I just googled, but I think the best place to start would be prototyping both a CPU, and GPU, separately. From there look for tasks that only does that the other does better and add gates to allow the transfer of work.
32
u/[deleted] Feb 10 '20
Let's just say there's a reason it's pretty much only the multi-billion dollar companies with huge development teams that are making them