Pineapple: 32-bit RISC-V CPU that you can make at home

  Рет қаралды 60,363

Filip Szkandera

Filip Szkandera

Күн бұрын

Pineapple is a homemade 32-bit RISC-V CPU, that I was working on for the past 2 years. It runs at 500 kHz, has 512 kB RAM & program memory. VGA output is black and white picture with the resolution of 200x150 px. I would love to turn it into an open source DIY kit, what do you think? Join our Discord server and share your thoughts!
IEEE Spectrum article:
spectrum.ieee.org/geek-life/h...
For more info:
pineapple-one.github.io
Join our Discord:
/ discord
Follow me on Twitter:
/ ten_filip
My Hackaday article:
hackaday.io/project/178826-pi...
GitHub repository:
github.com/pineapple-one
Robert Baruch's channel:
/ robertbaruch
(This video is not sponsored by JLCPCB. I paid for everything and had a great customer service, so I have no problem sharing my experience)

Пікірлер: 264
@evgenyaleksandrov1206
@evgenyaleksandrov1206 2 жыл бұрын
Wow! Creating your own pc, using popular architecture and even setting up VGA output - you rock!!
@slu467
@slu467 3 жыл бұрын
Hi Filip, this looks so awesome. Congrats on your fantastic build. I know from experience that it must have been quite a rabbit hole... gonna look into RISC-V now ;-)
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
Thank you! It really was, but I think It was totally worth it!
@ithaca2076
@ithaca2076 2 жыл бұрын
cool to see you here slu4, i love your serial 8b cpu project a lot, the software you made for it is also really really good! especially the os
@slu467
@slu467 2 жыл бұрын
@@ithaca2076 Thanks :-)
@MMD_16-95
@MMD_16-95 Жыл бұрын
@@filipszkandera8267 You make my day my friend 👍🏻 So this os is made from zero ❤
@darkerm76
@darkerm76 2 жыл бұрын
I don't understand most of it but I am loving this DIY build. This is what I want in the future to build what we want, how we want
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thank you!
@hoxorious
@hoxorious 2 жыл бұрын
Man this is one the most fascinating projects I’ve ever seen! 😍😍
@rosiaevans6747
@rosiaevans6747 10 ай бұрын
wow this is amazing! Im beyond blown away!
@peterjamieson263
@peterjamieson263 2 жыл бұрын
Inspirational! I read your IEEE article and your first paragraph hits the mark for me.
@tropcm
@tropcm 3 жыл бұрын
I don’t know how this video showed up at my feed but i loved it. Even though CPUs are not my main interest I realy enjoyed watching it.
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
I'm glad you enjoyed it! :-)
@apruszko
@apruszko Жыл бұрын
It is nice to see system like your. Many years ago I made many PCB but always I was used typical CPU or MCU but I was never try to build CPU from scratch - your system show me that Someone can do it without huge amount of many. Congratulations
@DevynCairns
@DevynCairns 2 жыл бұрын
This is very cool. I've been getting interested in the idea of modern retro computing - taking a step back to simpler hardware to explore new ideas but with all of the learnings of modern technology. This totally fits that niche. I think it would be awesome to write an interpreter for something simple like FORTH or Lisp or BASIC and also get some sort of storage working - maybe as simple as a floppy or audio I/O (tape style), or you could try to get USB Mass Storage going
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thank you, it sure will be! We will see what the next version will be capable of
@delicious_seabass
@delicious_seabass 2 жыл бұрын
I'm blown away by this. So cool. Well done, sir!
@4.0.4
@4.0.4 2 жыл бұрын
This is fantastic! I hope you continue, you have amazing potential.
@naveenchavali8488
@naveenchavali8488 3 жыл бұрын
Hey fillip this was amazing, really looking forward to any follow-up videos :)
2 жыл бұрын
Hi Filip, excellent work and dedication. I like the practical choices you've made with the stack design and rj45 ports. Codasip will snap you up if they have any decent talent acquisition.
@reubenbridges
@reubenbridges 3 жыл бұрын
Excellent job and excellent video. This would an excellent series for everyone who wants to build one.
@kg5key
@kg5key 2 жыл бұрын
Very cool Filip! Your project demonstrates the advantages of RISC-V very nicely. Time to get a C compiler working!
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thank you! C compiler is already working for the most part and we've made a crude c++ emulator for the upcoming upgraded version!
@telesniper2
@telesniper2 5 ай бұрын
Very nicely done! People often proffer FPGAs a wonder solution, but they have tons of problems of their own. So it's always nice to see micros, bit slice MSI, and yes discrete logic family projects like this.
@joveaaron-real
@joveaaron-real Жыл бұрын
Congrats on almost 1K! I am amazed at what you accomplished! I am a beginner in electronics and will definitely try to make my own small-scale DIY CPU!
@filipszkandera8267
@filipszkandera8267 Жыл бұрын
Thank you very much! I hope I'll see a video of yours CPU someday ;)
@superolo
@superolo Жыл бұрын
Great work Filip!!!
@quangthango0o
@quangthango0o Жыл бұрын
Amazing work! Hope to see more video of you in the future.
@lorenzo42p
@lorenzo42p 2 жыл бұрын
only one video on your channel? yes I want to see more!
@jacoblin0820
@jacoblin0820 2 жыл бұрын
Wow! What a awesome project! I'm currently studying basic computer organization now in college and hope i can have the capability to do these kind of project.
@pipony8939
@pipony8939 Жыл бұрын
Did you do this?
@tejonBiker
@tejonBiker 2 жыл бұрын
Great job here, lot of work that runs very fine, awesome.
@wallyhulea219
@wallyhulea219 3 жыл бұрын
Good job getting all the blocks to stack like that!
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
Thanks! I spent hours brainstorming and trying to find the most optimal layout, changing the order several times. I had to insure that I would have enough space to route it all and arrange all the BUS lanes in the mot optimal way possible.
@sirrosh69
@sirrosh69 Жыл бұрын
It was nice to meet you at the Maker Faire in Ostrava!!!
@jlc3dpcathy
@jlc3dpcathy 3 жыл бұрын
Well done! It is quite amazing!
@aherontas1943
@aherontas1943 10 ай бұрын
Congrats for your job!!! Keep it up!
@carneeki
@carneeki 2 жыл бұрын
Nice build, great work!
@trendyEdge
@trendyEdge Жыл бұрын
You are a genius sir. Congratulation on your success
@Scrlk95
@Scrlk95 2 жыл бұрын
That is very impressive, great job!!!
@user-ds4db2oc9x
@user-ds4db2oc9x 9 ай бұрын
I'm not being at all patronising when I say well done! That is an achievement to be proud of.
@fzort
@fzort 2 жыл бұрын
Wow, really impressive project!
@manueljonathancaceres1265
@manueljonathancaceres1265 Жыл бұрын
Wow! Pretty impressive Pal!! I was planning to do something like that but with punched cards and magnets!
@mystamo
@mystamo 2 жыл бұрын
Damnnn Filip!.. I lurk around all the best science and engineering channels. I've been blessed by this video pooping up on my feed.. Turns out after reading your IEEE document. I'm more into CPU's then I thought I was. I was always more fascinated by the fabrication of the chip and transistors, but, as you mentioned. Like most, I didn't have a clue what was happened between the transistors and software. You may have just cost me some money and time to explore this area. I'm joining your discord. See you there.
@ErtugrulOzdemir-mf1gl
@ErtugrulOzdemir-mf1gl Жыл бұрын
This is really impressive!!
@TrueMachine2
@TrueMachine2 3 жыл бұрын
Great job... I wrote my own CNC Software, that took me 9 months! I understand what you just did, and am very excited for your work. A cost analysis for the project would be good info. Thanks!!
@abstrucked2807
@abstrucked2807 Жыл бұрын
really cool project...well done. way to goooo!!!
@philipchief4406
@philipchief4406 8 ай бұрын
amazing work!
@l3p3
@l3p3 Жыл бұрын
Great work, great video. I love logisim, did my fist cpu designs in that, too.
@PterippiGaming
@PterippiGaming Жыл бұрын
It's great someone have completed Robert's idea into full functioning device. :) Good job!
@Dhalucario
@Dhalucario 2 жыл бұрын
Good job dude, this is very cool.
@francoisdastardly4405
@francoisdastardly4405 Жыл бұрын
Awesome project !! Very nice
@alexandrsoldiernetizen162
@alexandrsoldiernetizen162 2 жыл бұрын
Well, the Honeywell 1648 I started on in 1977 had 32k of ferrite core and clocked at around 1MhZ with an 8 bit IO bus and ran dozens of simultaneous users in time sharing mode.
@LuisRomero-ll4jd
@LuisRomero-ll4jd 2 жыл бұрын
Very impressive work!!
@glusiator
@glusiator 3 жыл бұрын
Impressive work.
@luizdanielsantos
@luizdanielsantos 2 жыл бұрын
Awesome build! Nice job!
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thanks!
@jcj83429
@jcj83429 2 жыл бұрын
This is the most impressive discrete CPU i've seen.
@MiguelRodriguez5
@MiguelRodriguez5 2 жыл бұрын
Awesome work!
@midclock
@midclock 11 ай бұрын
Great job!
@vasya_cat
@vasya_cat Жыл бұрын
The case reminds me of the 2013 mac pro. Awesome project
@filipszkandera8267
@filipszkandera8267 Жыл бұрын
Yeeaaaah it was totally not inspired by it 😅
@mheermance
@mheermance 2 жыл бұрын
That's an impressive build.
@tanchienhao
@tanchienhao Жыл бұрын
Awesome project!
@ogfetias
@ogfetias 2 жыл бұрын
Commenting for the algorithm. Awesome work!
@vojtechkalab8077
@vojtechkalab8077 3 жыл бұрын
great work!
@ice_man1117
@ice_man1117 Жыл бұрын
Dude that’s amazing
@AlguienMas555
@AlguienMas555 Жыл бұрын
Awesome. Keep going
@rohandvivedi
@rohandvivedi 5 ай бұрын
You have earned my subscribe.
@clemenslangenberger4791
@clemenslangenberger4791 2 жыл бұрын
Wow! That’s impressive!
@oldskool9783
@oldskool9783 2 жыл бұрын
Id buy the kit. Pretty cool
@xakh
@xakh 3 жыл бұрын
Please make this a kit! I'd love to make one of these, possibly expand it some too. Maybe it could even run Doom with some more work ;D
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
New and improved version is in the works right now ^^ It will be much more powerful, so who knows, maybe it will ;)
@xakh
@xakh 3 жыл бұрын
@@filipszkandera8267 can't wait!
@der.Schtefan
@der.Schtefan 2 жыл бұрын
So many people attempted this publicly on KZbin and failed. Bravo.
@simonsouthwell
@simonsouthwell 2 жыл бұрын
Hey Filip, this is an incredible piece of work. Would love to see more videos on the different modules and their design. Puts my own risc-v iss and fpga softcore projects to shame.
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thank you very much, there sure will be more videos coming!
@StefanNoack
@StefanNoack Жыл бұрын
fantastic!
@soi5730
@soi5730 2 жыл бұрын
Truly amazing
@jameshou1174
@jameshou1174 Жыл бұрын
HUGE, AMAZING JOB! This is EXACTLY what i was looking for to study more about the Risc-V architecture. Do you've made videos about how you build it? The ALU, CU, counters, registers... I would be very excited to study about how you made it happen. By the way, which is the program you are using to design and simulate the circuit? Best regards!
@blablamannetje
@blablamannetje Жыл бұрын
Amazing!
@AMFLearning
@AMFLearning 2 жыл бұрын
niceeee, amflearning by doing, youuuu are awesome....
@firesoul453
@firesoul453 2 жыл бұрын
Really cool
@openroomxyz
@openroomxyz 2 жыл бұрын
That's cute and awesome together.
@masoudataei
@masoudataei 2 жыл бұрын
That's great. You should create a series of videos that how you made the cpu. Someone like me really interested to follow your steps.
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Can do!
@lymmentrixprofessional
@lymmentrixprofessional Жыл бұрын
Please I can't wait
@suryaprakashgautam3933
@suryaprakashgautam3933 Жыл бұрын
This is very amazing👍 video
@MeanGeneHacks
@MeanGeneHacks 3 жыл бұрын
Very impressive. Could you go into detail as to the function of each module.
@LuizCarlos-py7zl
@LuizCarlos-py7zl 2 жыл бұрын
Thats a great ided for the next video!
@MuhammadHanif-bx4pb
@MuhammadHanif-bx4pb 2 жыл бұрын
ooh my that's astonishing! Can you do following video by explaining the workflow, hurdle, and tricks of building that thing? it would be amazing! Perhaps a colab with ben eater too!
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thanks! I sure can, but I need to find a way how to make an interesting video about it ;)
@ananthanarayanann9194
@ananthanarayanann9194 2 жыл бұрын
Man this is so impressive, Congratulations. Maybe with further developments and community contribution, I would like to see Linux running on it one day.
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thank you! I really hope so, next version will hopefully be a big step forward in performance, about ~2 to 16 times (depending on instruction, but on average I would say about maybe 3x) faster then this one on the same frequency (which will hopefully too go higher).
@ananthanarayanann9194
@ananthanarayanann9194 2 жыл бұрын
@@filipszkandera8267 That's awesome, I'm looking forward to it. Wishing you and the project the very best.
@SusanAmberBruce
@SusanAmberBruce 2 жыл бұрын
Very cool
@The_Penguin_City
@The_Penguin_City 2 жыл бұрын
This are the dreams that become big companies.
@EpikIzCool
@EpikIzCool 2 жыл бұрын
I would love to build one for the learning experience. I would love to thoroughly understand how computers work. My goal in life is just to know how to create a computer out of anything.
@crunchyeater
@crunchyeater 2 жыл бұрын
Very cool.
@arunavadebnath
@arunavadebnath Жыл бұрын
Lovely ❤️❤️❤️🙏
@hydejel3647
@hydejel3647 2 жыл бұрын
greak work!
@brailorjs1192
@brailorjs1192 2 жыл бұрын
awesome
@andrewknowles55
@andrewknowles55 3 жыл бұрын
This is phenomenal, I'm a cloud native engineer - so way on the other end of the spectrum tech wise, but I've always had a keen interest in hardware. Do you have any recommended reading materials for a beginner? Would love to build a homebrew CPU one day :)
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
Thank you! I've learned most of the RISC-V stuff from a book called "computer organization and design, RISC-V edition" and I think there is explained every detail very well. I hope that the next version, that I would love to turn into a kit will fulfill your desire ;))
@andrewknowles55
@andrewknowles55 3 жыл бұрын
Thanks so much! I'll add it to the reading list. A kit would be super cool, I wish you the best of luck, and I'd be one of the first customers!
@jefffrasca4054
@jefffrasca4054 3 жыл бұрын
Honestly, the official RISC-V spec are highly readable and a good thing to get into. They're in the technical section of riscv.org: riscv.org/technical/specifications/ The unprivileged spec is for basic assembly language, and what you use to write programs. The privileged spec is for operating system developers, and is primarily interesting if you want to do memory protection (which probably isn't part of this CPU). Don't worry about the debug and trace specs when you are just getting into it. I expect these are as good as they are because they were written by academics building a teaching tool.
@KasaiLifeTV
@KasaiLifeTV 3 жыл бұрын
@@filipszkandera8267 please make a kit
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
​@@KasaiLifeTV I'm actively working on it! For more details about the current state check out our discord ;)
@snakemystic
@snakemystic 2 жыл бұрын
cool stuff
@Yas-gs8cm
@Yas-gs8cm Жыл бұрын
You look like Sauron from the new TLoR series. Both in looks and skills.
@venkatbabu1722
@venkatbabu1722 2 жыл бұрын
They are the best for small robots control where heat is bottle neck.
@TerrisLeonis
@TerrisLeonis 2 жыл бұрын
I'm not surprised about the cost of those IDT chips. I have a pair of IDT7007S55J chips and they were very hard to come by and rather expensive.
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Yep, that is exactly why I'm getting rid of them in the next version!
@hadadrefael
@hadadrefael 8 ай бұрын
wow! would like to know how to do it myself (:
@MrDsa04
@MrDsa04 2 жыл бұрын
Just WoW
@thewiirocks
@thewiirocks 2 жыл бұрын
Goodness! That is seriously old school! That’s probably the first time since the 1970s that a discreet component CPU has been constructed. I’m quite impressed! The fact that it runs a modern 32-bit ISA? I’m flabbergasted!
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Thank you very much! And stay tuned, because there is another one coming ;)
@thewiirocks
@thewiirocks 2 жыл бұрын
@@filipszkandera8267 Sounds exciting! And slightly masochistic to be honest? Even though I love taking an HL like VHDL or Verilog down to the gate level to understand things, I don’t think anyone creates designs anymore that aren’t snapping together larger chunks of logic. I think it would be incredibly interesting if you talked about your design methods. I assume you have some sort of high level description written down that you use to guide the construction of the parts? (Or maybe you don’t. 😅) Either way, viewers would likely be fascinated by how you got from nothing to RISC-V computer.
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
@@thewiirocks Hmm, maybe I will, thank you for the idea :)
@hatsunemiku7309
@hatsunemiku7309 2 жыл бұрын
nice
@WolFik789
@WolFik789 Жыл бұрын
Yeah If you don't implement HW decoder of a standard instruction set, you have to mess with compilers. But If you want standard compiler for your custom architecture, just write LLVM backend and you can compile pretty much anything.
@Qyxen
@Qyxen Жыл бұрын
I really love that so much!!! Any updates ?
@carolinamound7092
@carolinamound7092 2 жыл бұрын
😍
@pawlack
@pawlack 3 жыл бұрын
Jawdropping! What is the difference between your Shell program for this CPU and actual simple Operating System?
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
Thank you very much! My shell program is more of a program - it executes some predefined commands if some criterias are met. You can compare it to some very early computers that only had command line interface for example. I'm not an expert in operating systems, but there will be some kernel and other stuff running, and your program will run way above this in another ring. I really want to expand the idea of my shell program (or maybe a veeeeery simple os?) in my next CPU revision, that would be hopefully more powerful to handle it.
@PankajDoharey
@PankajDoharey 2 жыл бұрын
Verynice i Likes.
@detlevmustinger6328
@detlevmustinger6328 Жыл бұрын
Hi Filip, what a great project!! are you still working on it, i would like to build your CPU?
@AhmedEssam_eramax
@AhmedEssam_eramax Жыл бұрын
Wow
@JetFission
@JetFission 2 жыл бұрын
Filip, if I can tell right, you are using Logisim Evolution? If so, how did you get those RAM modules, are they custom? I gave up trying to model a processor in Logisim after seeing that that the memory units are not byte-addressible but it looks like they are in your version of Logisim.
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
Hi, not really sure to what exactly are you referring to, but they are not custom. I used the Logisim Evolution HC edition, which is linked in the video description so that may help.
@KasaiLifeTV
@KasaiLifeTV 3 жыл бұрын
Post more please
@filipszkandera8267
@filipszkandera8267 3 жыл бұрын
I'll sure do. I was thinking about mostly documenting my progress on the next generation, but if you have some ideas, maybe even with this version, please let me know
@kayakMike1000
@kayakMike1000 2 жыл бұрын
Wow, you have a Patreon? I would love to support your work!
@filipszkandera8267
@filipszkandera8267 2 жыл бұрын
I do not and I'm not sure how I would feel about that 😅 But thanks for your support!
@suryaprakashgautam3933
@suryaprakashgautam3933 Жыл бұрын
make more videos like this
I designed my own 8-bit computer just to play PONG
17:19
Explaining RISC-V: An x86 & ARM Alternative
14:24
ExplainingComputers
Рет қаралды 439 М.
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 22 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 24 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 64 МЛН
Testing out the Milk-V Duo - The new $9 RISC-V eSBC that runs Linux!
23:19
Cheap Risc-V Supercluster for $2 (DIY, CH32V003)
9:02
bitluni
Рет қаралды 247 М.
Build an 8-bit retro computer powered by a Z80 ! [Zeal 8-bit]
13:47
Zeal 8-bit Computer
Рет қаралды 92 М.
Design Your Own CPU!!!
12:53
Linus Tech Tips
Рет қаралды 1,2 МЛН
Arm vs RISC-V? Which One Is The Most Efficient?
17:12
Gary Explains
Рет қаралды 125 М.
Writing a Really Tiny RISC-V Emulator
19:59
CNLohr
Рет қаралды 59 М.
$8 MilkV Duo: Arduino on one core and Linux on the other
13:49
Andreas Spiess
Рет қаралды 78 М.
I Made a 32-bit Computer Inside Terraria
15:26
From Scratch
Рет қаралды 3,6 МЛН
This RISC-V cyberdeck is not for you
9:15
Jeff Geerling
Рет қаралды 252 М.
DIY 256-Core RISC-V super computer
10:29
bitluni
Рет қаралды 249 М.
8 Товаров с Алиэкспресс, о которых ты мог и не знать!
49:47
РасПаковка ДваПаковка
Рет қаралды 173 М.
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 13 МЛН
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 3,5 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН