kevindai02

kevindai02

1-day streak
FINALLY CONQUERED WINDOWS. BEHOLD, CUSTOM SATA DRIVERS :tachi_smile:
https://cloud-2pu13ptnn-hack-club-bot.vercel.app/0capture.png
Finally completed my 13 pages of utter BS
https://cloud-pig41hhf2-hack-club-bot.vercel.app/0image.png
:intel: got it 2 months later :smiley-twemoji:
https://cloud-kyjhoofj7-hack-club-bot.vercel.app/0image_from_ios.jpg
and here I was hoping copilot can design a CPU… apparently not. guess I get to keep my job for now (cya later suckers)
https://cloud-g61owh4kn-hack-club-bot.vercel.app/0image.png
Tall buildings, it's the city!
https://cloud-jf3az1a8j-hack-club-bot.vercel.app/0image_from_ios.jpg
oh boy here goes nothing
https://cloud-dd1i3c6ji-hack-club-bot.vercel.app/0image.png
back to the drawing board :crydeath:
https://cloud-7poktp1so-hack-club-bot.vercel.app/0image.png
Pipeline stalls are now under control (I hope so)
https://cloud-q2x3ixnut-hack-club-bot.vercel.app/0image.png
Designing a custom CMOS IC. Hope to reach speeds of 110 MHz.
https://cloud-8xrdi7qrf-hack-club-bot.vercel.app/0stage3.def.png
Finally got LTSPICE to simulate! An inverter automatically extracted from sky130 std cells, [TT] corner
https://cloud-110y06a78-hack-club-bot.vercel.app/0image.png
I stole a cubicle for myself. It's mine now.
Upgraded my RAM to 16 gigs from 8 gigs! My old Kaby Lake :intel: is still chugging along
https://cloud-4hbuzua6m-hack-club-bot.vercel.app/0image.png https://cloud-4hbuzua6m-hack-club-bot.vercel.app/1image.png
I think this is mostly correct now
https://cloud-l8bjoq434-hack-club-bot.vercel.app/0rp2040_floorplan.jpg
I have to get up at 8:30 tomorrow and it's 2 am and I'm messing around with Falstad circuit simulator for fun :coolsad:
https://cloud-lzot1vjza-hack-club-bot.vercel.app/0image.png
exclusive access :smirk_russian:
https://cloud-gpp7smsdx-hack-club-bot.vercel.app/0image.png
I present... formally verified :roo-love: pipeline logic
https://cloud-iugx6j1ph-hack-club-bot.vercel.app/0image.png
some interesting benchmarks with "cached" vs "uncached" memory access on HS32. there is an actual visible difference which is cool but kind of bad :floshed:
ohmygodohmygodohmygod we got LLVM IR to compile properly!! HS32 now has a very very basic C-compiler :roo-yay:
https://cloud-mrrigw8qp-hack-club-bot.vercel.app/0image.png
llc built without errors finally. but will it accept LLVM IR? time to find out!
https://cloud-jz0zihno6-hack-club-bot.vercel.app/0image.png
went to the lab today, CRAZY I tell ya
https://cloud-lxvfykxsd-hack-club-bot.vercel.app/0image_from_ios.jpg
System decided to bios update in the middle of a meeting :kirby-angy: :screaming-morty:
https://cloud-7o3ywepub-hack-club-bot.vercel.app/0image_from_ios.jpg
What an interesting day. Missed the initial optional onboarding though. :roo-oh-no: I live in the middle of nowhere and the package didn't arrive until like 3 pm. Crazy day tomorrow :smiley-twemoji:
https://cloud-o1r5sj1pa-hack-club-bot.vercel.app/0image_from_ios.jpg
Oh no I don't having anything great to post today. Enjoy this super level of gayness I aspire one day to be:
https://cloud-kusb45q9s-hack-club-bot.vercel.app/0image_from_ios.jpg
okay second post but I'm absolutely IN LOVE with this desktop background + windows acrylic (don't mind mr. openhardwaremonitor in the corner)
https://cloud-k3wmmirqz-hack-club-bot.vercel.app/0image.png
Went outside for 3 hours, nearly biked off a cliff and it started raining. What an adventure.
https://cloud-dbg3bo816-hack-club-bot.vercel.app/0image_from_ios.jpg https://cloud-dbg3bo816-hack-club-bot.vercel.app/1image_from_ios.jpg https://cloud-dbg3bo816-hack-club-bot.vercel.app/2image_from_ios.jpg
The new JetBrains splash screens are really quite something (awful) so I redesigned it for myself so I won't go blind. The relevant issue this has caused is really quite funny: youtrack.jetbrains.com/issue/IDEA-266149
https://cloud-286vffexo-hack-club-bot.vercel.app/0clion_splash_2021.1.png
Put lo-fi in the background and life is great. Nothing new today: testing and stabilizing the assembly backend for my custom LLVM port. This is my 4th "porting LLVM" scrapbook post. I'm so creative. Actually since LLVM is now a part of my life, I've added emoting icons for it: :llvm: and :llvm-alt:
https://cloud-n3reppown-hack-club-bot.vercel.app/0image.png
Porting LLVM in a week (jk). Today: Finally bringing the MC layer to a close with relocations and fixups!
https://cloud-nemvxv2gy-hack-club-bot.vercel.app/0image.png
My 17$ decommissioned FPGA miner arrived today!! After some cleaning and solder work, it came alive and booted into Linux :ultrafastparrot:
https://cloud-f56uh6v4f-hack-club-bot.vercel.app/0image_from_ios.jpg https://cloud-f56uh6v4f-hack-club-bot.vercel.app/1image_from_ios.jpg
Big field
https://cloud-8sjm8sqw5-hack-club-bot.vercel.app/0image_from_ios.jpg
The thing I ordered arrived
https://cloud-pin60tmaa-hack-club-bot.vercel.app/0image_from_ios.jpg
aaaaaand it's back to porting LLVM for me
https://cloud-cvzsw5dq2-hack-club-bot.vercel.app/0image.png
I finally fixed my homebrew CPU's memory access "bug." It wasn't a bug at all. Here's a short demo of 4 programs running on it via the UART bootloader! Also, I wanted to experiment with showing both the hardware and software at the same time (decided to use Zoom for that).
porting LLVM to my custom CPU!!!! got proper assembly generation!!!!
https://cloud-ei9xrx2z4-hack-club-bot.vercel.app/0image.png
another sneaky peaky, this time integrated into the project wrapper
https://cloud-5p8un687c.vercel.app/0image.png
Sneaky peaky number 2. Nice and even core utilization (area) and you can see the power grid too! :uwu_face:
https://cloud-fo5rwcn9o.vercel.app/0image.png
Got it to work with the example project 👀 A sneak peek of what's to come
https://cloud-mxv1zj8o2.vercel.app/0cool.png
https://cloud-mvb9tdp9y.vercel.app/0image.png
at some point, your eyes just start to lose focus and everything looks the same
https://cloud-it9xqq0q7.vercel.app/0image.png
some more shots of it because what the hell why not (time for testing, after midterms are over ;-;)
https://cloud-guwgwo351.vercel.app/0image_from_ios.jpg https://cloud-guwgwo351.vercel.app/1image_from_ios.jpg https://cloud-guwgwo351.vercel.app/2image_from_ios.jpg
omg so much sexier with populated holes
https://cloud-4zxlh99rl.vercel.app/0image_from_ios.jpg https://cloud-4zxlh99rl.vercel.app/1image_from_ios.jpg
So sexy 🤤
https://cloud-kilr0te96.vercel.app/0image_from_ios.jpg https://cloud-kilr0te96.vercel.app/1image_from_ios.jpg https://cloud-kilr0te96.vercel.app/2image_from_ios.jpg
Oh yeah! It's shippppeddddd :3
https://cloud-b1m6is2m7.vercel.app/0image.png
Guess what arrived today ^~^ (secret contents)
https://cloud-5s9nf0myo.vercel.app/0image_from_ios.jpg
I finally placed the PCB order ^~^ :summer-of-making: -> :aom: -> Eternity of Making? :sam-1: Also, Digikey 1 day shipping in Canada for only $8?! What is this madness!
https://cloud-48tnvxac8.vercel.app/0image.png
I thought I'd show off for the first time how my homebrew CPU is developed and how amazing "FPGA hell" is (also, I don't have a scope, donations are welcome 🤣)
First day of school! Found our university-provided Linux shell (apparently they've got a windows one too, but it's offline :sad_pepe: ). Not a VM but a huge ass 256-processor cluster with no sudo (can't complain I guess). Also, they apparently have a GPU compute cluster somewhere too 👀 Asynchronous online learning be like :shiba-sad:
https://cloud-16lc2vu8k.vercel.app/0image.png
The class schedule is still nonexistent, didn't make it into advanced maths because I'm dumb, had some friends over and a wonderful time (still kinda sober yay), and implemented microcode syntax highlighting. Things could be better but things could be worse I suppose :shiba-stare:
https://cloud-clq9ibd76.vercel.app/0image.png https://cloud-clq9ibd76.vercel.app/1image.png https://cloud-clq9ibd76.vercel.app/2image.png
Time to FLEX my new microcode assembler written in 2 days using BISON and FLEX (haha pun totally intended)! Programming in C has never brought me more joy in life, maybe my vibes will finally return someday and I will stop crying. Verified the microcode isn't some random trash by assembling it manually, then running it through the logic simulator. With all the designing of the instruction set done, it is time to implement pine16's instruction set architecture. For the record, the microcode looks like:
mov_r@[0000..0000][1000..1000]
mov_r:
    RAW rs, op, rd > END

alu_r@[0001..1010][1000..1000]
alu_r:
    RAW rd, latch,
    RAW rs, op, rd !> END
This is exciting. But now, time to party my ass off before school starts.
https://cloud-hiiueofmp.vercel.app/0ucode.png
No one said making a CPU would be this hard. It's a giant symphony from hell, with no end in sight; debugging hundreds of signals like this at once is an absolute nightmare (they don't even fit on my screen) - so much so to the point that I'm testing more than developing. Please send help, I don't know how much longer I will stay sane for. Comparing this to the first post though, I have come a quite long way which is nice.
https://cloud-7661osft9.vercel.app/0image.png
Big sad not cured but I finished this. It's pretty cute.
https://cloud-7elq8ia5n.vercel.app/0image_from_ios.jpg
Time to (not) let ✨anxiety✨ ruin someone else's exam.
https://cloud-akkm87tpm.vercel.app/0image_from_ios.jpg
Time to cure the big sad.
https://cloud-lb4fgl043.vercel.app/0image_from_ios.jpg https://cloud-lb4fgl043.vercel.app/1image_from_ios.jpg
Today, decided to compile an old English social issues project (almost 2 years ago now) into a music score video. The topic was a heavy one (mental health issues in lgbtq+ minorities) and the music was quite terrible but reading all the quotes again was quite interesting.
https://cloud-1ugbrtybc.vercel.app/01.png
Some more shitposting. Go away. --- Phrygian Gates - John Adams (1978) Keeping myself busy from myself, here's some modern (minimalism) music; it's almost a soundscape. I die at the end.
I hate life 💀
https://cloud-fx3i94pk7.vercel.app/0image_from_ios.jpg
Lol after making friends with some hack clubbers, my github feed has now been contaminated by the unholy sea JS. There's only 1 last good sign of civilization (even though I hate the qloader project itself).
https://cloud-4znqitvij.vercel.app/0image.png
So much code yet none of it works (C,e,N) (2058930342979427413254926386263838738879293279451544250614213887182354263636649474892006540782778693, 1976681317924305710587460200285568244095031203169200640258932362305967453879566209551921211163554315, 3711112890917953920313349275463478686525635505349467618802841304007022981993526553825288355294414951)
https://cloud-d3n590g5g.vercel.app/0image.png
An hour of my life learning this and recording it, totally worth it :meow-party:. The rhythm's kinda off but hey, whatever :bro:
Shitpost shitpost don't mind the heavy breathing :blobfearsweat:
Haha sounds like ✨ internalized homophobia ✨
https://cloud-mwe5jruh4.vercel.app/0image.png
Some optimizing the sh!t out of the memory controller (now it's roughly 100 logic cells). Smaller the better! Homebrew CPU Floorplan: Orange/Red = VCC, GND and pins; Blue = Memory controller/Green; Yellow = Debug control logic (small for now); Magenta = UART rx/tx modules (clustered around pin 25/26).
https://cloud-qzm2gkznz.vercel.app/0pin.png
More shitposting for streaks :> but I did learn something new today: 1111 should be "oneteen onety one"
https://cloud-lfs89vq8w.vercel.app/0image_from_ios.jpg
Tragically underrated.
https://cloud-2ghcnkwk1.vercel.app/0image.png
Anthony lied to me :anthony1:
https://cloud-ayxcvtyb4.vercel.app/0image_from_ios.jpg
Fucking music analysis blog post part 2/5 is finally done and published after 3 days... 👀
https://cloud-hzga7eqc6.vercel.app/0image.png
Yes
https://cloud-hc0jubpvv.vercel.app/0image_from_ios.jpg
Started this blog post project thing writing about my favourite pieces of music. Why did I choose a 40-minute, thematically rich work to start? Also, imposter syndrome be like hahaha I'm not even qualified to write things like this :blobfearsweat:. Oh well.
https://cloud-pdtfj89ho.vercel.app/0image.png
Uhh... so here's some attempted improv in lydian... This is just for scrapbook ignore or you'll go deaf :blobnomcookie:
Updated my website/blog. I kinda like the idea of posting cute small proofs there :3
https://cloud-bnxtfla6o.vercel.app/0image.png
For streaks. Here, you can see how the physical logic blocks are laid out and connected on my CPU. On the bottom left is the UART logic and around the perimeter (upper left) are the memory decoding/interface logic.
https://cloud-glkrgf15p.vercel.app/0test.png
Oh and this photo here
https://cloud-k2j3pcjja.vercel.app/0image_from_ios.jpg
Added a UART controller to my CPU. It can now talk through an Arduino to my PC :D
https://cloud-7sbx1iv7e.vercel.app/0image_from_ios.jpg
Testbench in Verilog for Pine16 so I can finally safely test new designs (also I don't have a scope, so this is the next best thing).
https://cloud-qzef67wsi.vercel.app/0screenshot_from_2020-07-20_18-30-40.png
Homebrew CPU is well on its way. Next steps: uop assembler, machine code assembler, c compiler & linker, BIOS and firmware and finally a homebrew kernel and OS (probably port my existing OS or something)
https://cloud-i0zd38y1b.vercel.app/0image_from_ios.jpg
Me: Noo you can't number your address bus 15 14 12 7 6 5 4 3 2 1 0 16 13 8 9 11 10. Alliance Memory: Haha numbers go brrrr. Why did I think this was a good idea :deepfriedlaughing:
https://cloud-do0vtzhvd.vercel.app/0image_from_ios.jpg
uhh yeah digikey sent the wrong chip haha :flushed_russian:
Finally! Should I do a live unboxing?
https://cloud-8qhnafvhd.vercel.app/0image_from_ios.jpg
We have breadboards, an lcd and a TinyFPGA BX, they weren't kidding about TINY. It's so smol! Ironically, I'm still waiting for the headers to arrive xD
https://cloud-lgmdjcm94.vercel.app/0image_from_ios.jpg
Woot woot! Guess what came in the mail today (part 1/2)? Yeah!!! Let's get this party rollingggggg!
https://cloud-dp0m5i3lt.vercel.app/0image_from_ios.jpg
Floaty floaty :D remember to pull your signals! also can't wait for the solid core wires to arrive
Aaaahh can't get better than this :)
https://cloud-co56xe172.vercel.app/0image_from_ios.jpg
Today is a very exciting day. I was reunited with my beloved arduino and my crazy spontaneous idea of shoving wires into vga ports actually works!! You know what this means? My homebrew cpu might be able to output to VGA!! Waow!!
https://cloud-egvl0qg8w.vercel.app/0image_from_ios.jpg https://cloud-egvl0qg8w.vercel.app/1image_from_ios.jpg
https://cloud-mtf8fcrfm.vercel.app/0image.png
I had a blast today, took a break from doing nothing to have fun with friends. Also did some timing verification by hand (I still need to learn how to use TimingAnalyzer fluently) to make sure everything is in spec. Finally caved in and added extra protection circuitry; a buffer at the end of the input bus (ditched fancy level shifter circuits as it also doubles as a 5v to 3.3v shifter too!). List should be finalized tomorrow :D
https://cloud-8hx9fcvd5.vercel.app/0image_from_ios.jpg https://cloud-8hx9fcvd5.vercel.app/1image_from_ios.jpg
Update: I forgot to post this noon so I probably missed the streak. Upon checking my schematics, I realized that, to my horror, my Arduino Uno doesn't have enough pins to program the SST39SF010A parallel flash memory. HOWEVER, I remembered that my CPU design also doesn't have enough pins to support reading from flash either! But by using a time-multiplexed address + data bus along with my northbridge, I can easily program the flash IC! So, I yoinked the northbridge and hooked the Arduino to it. Yeah!!! We're back in business babbyyy!
https://cloud-h1lm6kpx3.vercel.app/0image.png
Whoa, exciting!!! :partyparrot:
https://cloud-ex65tw4pb.vercel.app/0image.png
Ah yes, the Pinecone Processing Unit :blobevil:
https://cloud-gr4qbw7u2.vercel.app/0logo_text.png
Sch- sch- sch- sch- sch.... SCHEMATICS! Rough sketch of what I want. Unrevised. Will probably blow up.
https://cloud-oza7hupqw.vercel.app/0schematic_pinecone_2020-06-29_21-08-40.png
Homebrew CPU: what did I do to deserve this? agh, wiring the multiplexed 20-bit address + 16-bit data busses ;-; send help pls
https://cloud-6dfpdr7y2.vercel.app/0capture1.png
After several continuous nights of work, we now have a microcoded execution unit for the custom CPU.
https://cloud-68x74jgry.vercel.app/0capture1.png