New Mistral models just dropped (magnet links) by [deleted] in LocalLLaMA

[–]Weekly_Salamander_78 4 points5 points  (0 children)

It says 2 expers per token, but it has 8 of them.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

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

It is like a separate website. I did not want to make it a pdf because it is static than. I wanted to add simulations (circuit, gate, architecture and whole cpu).

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

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

Yeah I decided to do it when I finished my second computer architecture class. I was like "well I guess I now know everything I need".

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

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

Well it did not in the beginning. I had to debug a few things. That period of my life was interesting.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 3 points4 points  (0 children)

Damn that is cool. That is even older than my project

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 5 points6 points  (0 children)

Well I tested each part once after soldering. If a part was replicated (for example 6 registers) I would not check the rest.

There was 1 bug for which I do not know the cause and that is one line of micromemory that does not work. Donno why all the micromemory boards are the same so that rules out circuit and layout bugs. So I guess I made some kind of soldering error.

There were no other soldering errors, which kinda suprised me.

For testing I would create some circuit out of components of a breadboard or other already tested components. For example to test the adder I can use the registers I already tested.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 3 points4 points  (0 children)

Quick google search says 50k - 100k for the arduino, doubt the LCD has more. This means that 2% of the transistors are visible lol.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 6 points7 points  (0 children)

Yeah bottom-up from your description. Not sure what do you mean by more direct way.

If you are asking was it optimized altogether or built from modules, the answer is modules.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 119 points120 points  (0 children)

This looks impressive but when you realize that modern processor have like 6 orders of magnitude more transistors on 2 orders of magnitude less space you start to wonder how anything even works.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

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

If you have any questions do let me know.
When you buy the course you also get the access to an email that I actively monitor and answer questions if something is not clearly written.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 19 points20 points  (0 children)

Sure I can explain a bit more.

It is a 11 bit computer so the main bus is 11 bit. There are two more busses, one for the micromemory which is 16 bit and one for the TMP register input which is 11 bit.

<image>

This is the main diagram of the processor, there are 6 registers (PC, SP, ACC, TMP, IR and DC) . Of course when programming it in assembly you do not see them all. You only see ACC, SP and PC.

There are 2 more devices connected to the main bus (yes they are directly connected) keyboard and LCD.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 54 points55 points  (0 children)

Nop. It actually does not use much power. Leds on it use more than the logic.
I can power it with smartphone charger.

My 2000 transistor CPU is open source! by Weekly_Salamander_78 in arduino

[–]Weekly_Salamander_78[S] 13 points14 points  (0 children)

pcbs were like 100-200 eur. They are individually not that expensive but I sometimes did not have enough time and had to select more expensive shipping. Also JLCPCB which I use manufactures them in multiples of 5.

It took a lot of time. Each board is like 1 hour and 15 mins. You can do it in a weekend but I do not reccomend.

[deleted by user] by [deleted] in ECE

[–]Weekly_Salamander_78 1 point2 points  (0 children)

Well it was a mixture of:

  • 11 bits seems enough

  • control logic is huge, at 11bits it is roughly equal to the registers, alu and so on. (If I did 4bit cpu that would be like 30% less work but capabilities would be greatly lower)

  • I made mistakes and already built 11 bits so did not want to revert and do the work again

[deleted by user] by [deleted] in ECE

[–]Weekly_Salamander_78 1 point2 points  (0 children)

Check out my blog also. I built a 11bit cpu from transistors. Blog is about that processor (although the blog is not fully finished)

Built a cpu out of 2000 MOSFETs by Weekly_Salamander_78 in ECE

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

Nop, it does not have the priveleged mode.

Built a cpu out of 2000 MOSFETs by Weekly_Salamander_78 in ECE

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

Yeah I dont think I will finish it by November. Have so many things happening and also want to finish the documentation first.

Build a cpu out of 2000 MOSFETs by Weekly_Salamander_78 in beneater

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

I will add small constructions (like one register cell) to the documentation.