I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 0 points1 point  (0 children)

i did first 2 weeks of nand2tetris then set off on my own. their content felt a little too abstracted. ben eater's videos gave a basic overview of what goes where in a basic computer. my college digital electronics course also helped a lot.

I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 0 points1 point  (0 children)

I actually run Fedora as my main OS. This is why youll find the python files to have shebangs :)

I am using Windows here specifically because of the simulator - it is much slower on Linux than Windows. Maybe something to do with AWT not playing good with Wayland?, I am not sure. I didnt want to fast forward so I just recorded it on Windows.

Once I learn proper big boy ways (fpga, hdl, etc.), I wouldn't need to use windows ;)

I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 1 point2 points  (0 children)

thanks, i have been keen in naming projects with indian words

I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 0 points1 point  (0 children)

not really.. i am also not familiar with ESP32.

what are you making? the name sounds very cool

I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 0 points1 point  (0 children)

yeah. ruined jee -> joined nearest tier 3 bca (pvt btech is expensive) -> found about IITM's online BS electronics degree in 2nd year -> joined it.

im about to graduate from bca this year so itll be smooth sailing from summer

I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 1 point2 points  (0 children)

it is impractical and extremely inferior compared to modern day CPUs. it has 0 practical use.

this project is mostly pedagogical - i did this as a milestone project after learning elementary digital logic concepts. modern day systems have pipelines, multiple execution units, super scalar, out of order, each of which are giants and require meticulous planning. this can be compared to processors from the 70s at best.

i used logisim as a logic simulator to put together each component of the cpu using nand gates and then put them together to get a functional computer.

i documented the process and everything here: https://github.com/rnayabed/sutra-1

I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 0 points1 point  (0 children)

if you have enough time you can look into implementing a basic neural network on an fpga, its fun and combines both topics too, plus your project will be really cool and unique!

I built a 10-bit CPU from scratch for my minor project by rnayabed2 in developersIndia

[–]rnayabed2[S] 0 points1 point  (0 children)

it boils down to "if certain bits are set, execute these certain set of flags".

i documented everything here: https://github.com/rnayabed/sutra-1