[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
hey /g/, i want to build a 16bit CPU (5000 ~ 8000 transistors)
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 60
Thread images: 13
File: 8bit_add_sub.jpg (137 KB, 995x548) Image search: [Google]
8bit_add_sub.jpg
137 KB, 995x548
hey /g/, i want to build a 16bit CPU (5000 ~ 8000 transistors) for long term hobby
does anyone know where i can find a diagram for it and other resources and infos about it.

thank you.
>>
>>54502613
>5000 ~ 8000 transistors

Why do you want to torture yourself, anon? I could think of a million hobbies that would be more fulfilling and less tedious.
>>
>>54502693
Obv he wouldn't hand solder it
>>
>>54502693
Autism.
>>
>>54502704
the idea of hand soldering 8000 transistors sounds oddly calming to me
>>
>>54502704
Still, it would be a massive undertaking. Literally two seconds of googling turned up this guy's project page:

http://megaprocessor.com/progress.html

He's spent two years building a 16-bit computer out of discrete transistors. The thing takes up a large room. Sounds like building Tokyo out of toothpicks to me. Just. . . why?
>>
File: view_from_above.jpg (145 KB, 1000x572) Image search: [Google]
view_from_above.jpg
145 KB, 1000x572
>>54502755
Forgot pic. Look at the size of the "memory" panel. Imagine how long it took to manually assemble and solder that thing. There's a reason we switched over to integrated circuits.
>>
>>54502613
sorry, i mean 8 bit, not 16.
>>54502693
its a hobbie, dude
>>54502723
exactly.


i want to build an intel i8080 or a zilog Z80 clone.

but its hard to find any documentation
>>
File: 1396532049148.jpg (33 KB, 400x400) Image search: [Google]
1396532049148.jpg
33 KB, 400x400
>>54502755
>http://megaprocessor.com/progress.html
oh man, i think i just came
>>
>>54502819
Ok, well 8-bit sounds more manageable than 16-bit. I still think it will be tedious and frustrating as hell, but if you insist. This website contains a transistor-level simulation (and schematics) of the 6502 microprocessor:

http://visual6502.org/

I hope that site can give you some useful information. There is also an accomanying wiki.
>>
File: 4004-lajos-schematics.gif (362 KB, 4020x3250) Image search: [Google]
4004-lajos-schematics.gif
362 KB, 4020x3250
>>54502915

So I browsed the 6502 website. I can't seem to find actual circuit schematics (just lithography bitmaps of the different silicon layers). But they link to a previous project, the 4004 project found here:

http://www.4004.com/

This site has what appears to be a full transistor-level schematic of the 4004 processor.
>>
>>54502779
wew
nice arcade stick
>>
>>54502613

Here is one made with wire-wrap construction which might be more amenable to a DIY project than soldering, etc

http://www.bigmessowires.com/bmow1/

If you are building directly with this number of discretes I recommend either wire-wrap or breadboard
>>
File: bmowguts.jpg (111 KB, 676x507) Image search: [Google]
bmowguts.jpg
111 KB, 676x507
>>54503043
fuck me, forgot pic

more pics including the boot screen on that page
http://www.bigmessowires.com/bmow1/
>>
>>54503017
>>54502915
thank you, this should be helpful
>>
>>54503017
the 4004 is a 4bit CPU if i'm not mistaken.
>>
>>54503084
Yeah, I know. I thought it might be a good starting point though.
>>
>>54502755
this is fucking retarded
>>
>>54503339
jerking off to anim is more your thing i guess
>>
File: ahmed.jpg (154 KB, 1024x576) Image search: [Google]
ahmed.jpg
154 KB, 1024x576
>>54503056
Holy shit. I followed the webring and found Ahmed.
>>
>>54503487

kek.
The homebrew CPU webring is GOAT.
>>
Step 1: design your CPU with verilog
Step 2: upload verilog code to an FPGA

That's it really.

>>54503017
You don't need a full transistor level schematic. It's all digital logic. Once you have the block diagram you are golden. From the block diagram it is a simple matter to look up the appropriate blocks and find circuits for them.
>>
>>54503339
Literally, because it's 60-70 years late.
>>
>>54502613
Minecraft
>>
>>54503017
http://visual6502.org/ does in fact have the full gate-level schematics. You need to click more than just the top link.
>>
>>54504279
Actually a legit answer
>>
>>54503339
You're a pleb. There's nothing wrong with putting effort into something you like.

Why does /g/ have to be filled with these worthless fags? It seems like /g/ used to be better than this somehow.
>>
>>54504349
this.
>>
File: pdp8[1].jpg (84 KB, 572x668) Image search: [Google]
pdp8[1].jpg
84 KB, 572x668
>>54502755
>The thing takes up a large room.
Well, if you notice, it IS that way on purpose, you can build compact but powerful systems from discrete transistors and TTL logic.
>>
File: 1410749021438.png (114 KB, 331x323) Image search: [Google]
1410749021438.png
114 KB, 331x323
>>54503339
>>54504240
>learning something or building something for fun because you love technology and the accomplishment it represents is stupid, technology should only make my video games and youtube videos go fast
>>
>>54502755
>here are the registers my CPU uses
>it takes up a fucking wall
It's glorious
>>
>>54506206
>I don't know the alternative meaning of "retarded"
>>
File: AC93-0146-2_a[1].jpg (40 KB, 768x512) Image search: [Google]
AC93-0146-2_a[1].jpg
40 KB, 768x512
>>54503084
>>54503203
Nothing wrong with that, after all, 1-bit systems dominated the early TOP500.

You're not really going to be building something on the level of a modern 32 or 64-bit chip with a couple thousand discrete transistors, even a 16-bit design is pushing into TTL territory.
>>
>>54504200
you're missing the point, the whole point is to make it out of transistors.
>>
>>54506253
The really beautiful thing is that he put LEDs on each of the parts so you can watch the computer think.

memory:
http://megaprocessor.com/Images/memory_test.mp4

cpu:
http://megaprocessor.com/Images/flashing_lights.mp4
>>
>>54509301

>cpu
oh looks like it's only the decoder
>>
>>54504348
I made a full adder in Minecraft once. It could add two numbers in until their sum was less than 63

Also made a GPU for a 4x4 red stone touch screen
>>
>>54502755
/g/ would jizz their pants if they visited that room and proceed to post anime pictures and rare Stallmans on the walls.
>>
File: 1386371578901.jpg (227 KB, 1600x1120) Image search: [Google]
1386371578901.jpg
227 KB, 1600x1120
>>54502613
Make yourself useful and learn a valuable skill in the process

Get an FPGA
Learn Verilog
Prototype your "CPU" on that

git gud
>>
>>54502613
Intel 8008 schematics are public, look at those
>>
>>54504349
Nah, g was always shit where informative threads Got shutdown by autists.

Remember old cyberpunk generals? It was full of information - IT books, privacy, security, occasional art/literature discussion... Till the autists rained down upon it, namefaggotry/avatar faging started. Shitposting and pointless arguments.

G was, is and will be utter shit.


Op - go for it. Do something awesome, don't let people turn you away from it by telling you that there is no reason - you'll learn something awesome in process.
In worst case you can add it to your cv. Imagine faces of recruiters when they read 'oh and I've built fully working 8bit CPU out of transistors'
>>
>>54502613
Are you even able to do this with discrete transistors? I can imagine the propagation delays rendering the thing downright unusable.
>>
>>54502613
Holy shit you nerds need to get a life
>>
File: 1458961084981.png (27 KB, 181x220) Image search: [Google]
1458961084981.png
27 KB, 181x220
>>54510111
you came to 4chan expecting people with lives?
you came to /g/ expecting non-nerds?
pray tell, what DID you expect?
>>
how about a smaller cpu using 7400 series components?
>>
>>54510129
I came here to discuss my new iPhone, GTX1080, video games and Chinese goods
>>
>>54510080
its not unstable if it runs at sub Mhz speed.
>>
>>54510140
the whole point is to make it with basic components (transistors, resistors, capacitors).
>>
>>54510141
nice bait you fat cocksucking shitstain
>>
2 years ago i decided to build a 8 bit cpu out of basic logic gates, then i got bored and stopped. 2 months ago I decided to pick it up again. I already had the ALU pretty much ready and wanted to test it. It didn't work.
The resistors i used were to small, so most of the current never passed through the logic gates. Now i want to buy better suited resistors which would only cost like € 5, but i don't want to pay delivery cost and there isn't anything else that i need right now so the project is once again on hold.

What i'm trying to say here is that you should make a proper plan including calculations before buying stuff.
>>
>>54502819
I've written Z80 and MOS6502 emulators, there were a lot of tedious details that had to be accounted for and it was impossible to test with real code until mostly completely finished, can't imagine how insane it would be to hand-craft those kind of beasts.
>>
File: 1447799677395.jpg (53 KB, 440x570) Image search: [Google]
1447799677395.jpg
53 KB, 440x570
>>54512805
i don't think those were designed by a single man, they usually were small teams.

today, it takes way more than that, to get a modern CPU you'll need few thousand people and years of R&D
>>
>>54503017
http://baltissen.org/newhtm/ttl6502.htm
>>
>>54502779
What software you use to that pic? Or some mobile native camera app?
>>
>>54513504
For OP it seems to be an intended one man hobby project. I was referring to that.
>>
>>54502613

Why not get an FPGA and design your processor on it ?
>>
>>54514035

That would be the logical answer
>>54509741
>>
>>54513504
6501/6502 was a couple of people but they designed the layers by hand with colored pencils and paper.
>>
>>54502613
5000-8000 discrete transistors would be the worst thing you can do to yourself even as a long term hobby. They will burn a lot of power and debugging will be hellish and most of the time you are going to be doing the same thing over and over without even thinking about the computer organization.

Try doing it with 74-- logic and I may even design your logo.
>>
File: P5150118[1].jpg (985 KB, 2592x1944) Image search: [Google]
P5150118[1].jpg
985 KB, 2592x1944
>>54504200
>>54509741
see >>54508986
you're all totally missing the fucking point, any mediocre chucklefuck can design a useless shitty CPU with an FPGA, a wiki page and some code monkeying, it's not really that hard, it's making something actually cool out of the endeavor that OP wants to do
Thread replies: 60
Thread images: 13

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.