[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: logic-gates.png (70 KB, 1420x1088)
70 KB
70 KB PNG
It's very difficult! Can anyone recommend me something to learn this?

Yes, my IQ is only 110, but I don't want to give up because of that
>>
>>101566362
just look for books about it. Its really rather simple and useless for 90% of people now. There is no need to create logic circuits when you can just brute force most of the problems with a few microcontrollers and some of the shittiest code you have ever seen.
>>
File: f4xbnm8x5b1yrhh7.jpg (160 KB, 2048x2048)
160 KB
160 KB JPG
>>
File: poo.png (220 KB, 298x419)
220 KB
220 KB PNG
>>101566362
>SAARS, DO THE NEEDFUL AND HELP, SAARS
>>
File: 1720995172865831.gif (599 KB, 224x255)
599 KB
599 KB GIF
>>101566362
Look at your fucking picrel, retard !
>>
File: dma20aryxlt61.png (231 KB, 810x817)
231 KB
231 KB PNG
>>101566362
Just do redstone contraptions. If 8yo kids can get it, you should be able as well.
>>
Try nandgame.com out?
>>
>>101566362
Just look for computer organization that basic logic is very simple.
>>
>>101566362
>It's very difficult!
Dude, basic logic like your picrel is trivial. I explained it in a few minutes to my 13 year old when she how computers knew how to calculate.

One thing I will say is that your image greatly complicates everything. There are only 3: not, and, or. There's a 4th (xor) that can be built with the other 3, but is so important it merits its own name.
>>
>>101566362
There's a videogame called "Turing complete". Give it a try
>>
>>101566515
You and I both know it's actually bald 30 year olds doing boolean logic in redstone.
>>
File: s00006 (1).png (358 KB, 1200x675)
358 KB
358 KB PNG
>>101567669
That's pretty based.
But the reality is that majority of redstone engineers on yt are people around 20yo. I did most of my redstone builds around that age too, but it advanced so much I have literally no idea wtf is even happening anymore. Shit go complex really fast with observers, 0-ticks and exotic blocks.
>>
>>101566628
>>101567639
Thanks!
>>
>>101566515
Actually this is how I first learned binary logic making Minecraft calculators and such as a kid.
I remember getting filtered by division though, grim.
>>
>>101567820
I learned via wiremod in Gmod, but redstone definitely refined my skills.
>>
>>101566362
All of these are just different cocks with or without precum.
>>
>>101566362
Who cares about schematics? Verilog will do it for you. You do shit like
a <= b + c;

Instead of caring how an addition is performed by chaining half-adders, each which contains a couple of logic gates.
>>
>>101566362
Learn boolean algebra. logic gates are useless if you don't understand what they represent if you connect them. Also, the standard us notation for logic gates is straight up cancer. I like the one we use in Germany.
>>
File: 1590404890976.png (206 KB, 968x733)
206 KB
206 KB PNG
>>101566362
>It's very difficult!
No, it's not. It's the easiest logic there is.
>>
>>101566362
take the nand to tetris course and download the accompanying book. you can find it for free via google. think there's a github pdf.

there will be exercises you can do that will help you remember how logic gates work.

afterwards you can experiment with minecraft redstone if you think it'd be fun.
>>
>>101566362
Yeah sure, here you go:
function logicTable(...table){
return (A,B) => !!table[(!!A)|((!!B)<<1)];
}
var AND=logicTable(0,0,0,1),
OR=logicTable(0,1,1,1),
XOR=logicTable(0,1,1,0);
console.log(AND(true,false)); //false
console.log(XOR(1,1)); //false
console.log(OR(0,true)); //true

Hope this helps!
>>
>>101566409
>There is no need to create logic circuits when you can just brute force most of the problems with a few microcontrollers
If you want to be pajeet tier.
>>
>>101566362
>how can I learn this
By using it. Download a logic simulator and make shit, or if that's too clinical, fuck around in a game like Minecraft that has logic as a game-mechanic.
>>
>>101566362
nand2tetris
>>
>>101567747
redstone computers in minecraft are just incredibly simple implementations of legacy processor architecture mostly limited by scale and mechanics and blocks in the game. You could hand draw on paper very large Minecraft circuits.
>>
>CPU design
How do I get started? I'm convinced I could implement a non-pipelined fixed-width instructions CPU with only registersm and code in SRAM separate from data (call it Harvard Architecture). That's a relatively simple exercise in Verilog.
But pipelining breaks my mind. I know how the concept works, but how the fuck do I implement it?
>>
File: hq720.jpg (69 KB, 686x386)
69 KB
69 KB JPG
>>101571267
That's if you only consider torches and dust. When you start to use various properties of blocks, it becomes more akin to actual electronics. Sure, in principle you can find a specific set of logic gates that will effectively perform same computation as any redstone contraption, but it's structure will not really reflect how does the contraption actually work. Things like analogous signal, quasi connectivity, items/entities/storages/physics, delays, sub tick evaluation, wireless shenanigans, etc have no intuitive equivalent in logic gates.
>>
>>101571907
>analogous
Analog*
>>
logistic gate
>>
>>101571267
or do what they do IRL and just write your own VHDL synthesis toolchain and spark "the" VLSI revolution, in minecraft
>>
>>101566362
buy a counterfeit Xilinx FPGA from aliexpress and write verilog or schematics in Xilinx ISE

>>101571984
>baritone
Verilog compiler/generator/builder baritone script questionmark? someone do it
>>
>>101566362
Logic gates were easy for me and my IQ is only 116. The boolean expressions fucked me up though.
>>
>>101572659
>Counterfeit
They're not even that expensive, I got this one for under $200 and it works perfectly
https://digilent.com/shop/basys-3-artix-7-fpga-trainer-board-recommended-for-introductory-users/
>>
Cant all of that be made with and and or?
or do you also need negation? or maybe minus too?
like

x ^ y = -| (x & y)
where x and y are bits
>>
>>101573565
that formula looks wrong retard-sama
>>
File: 9ocrticstar21.jpg (53 KB, 640x360)
53 KB
53 KB JPG
>he didn't grow up with little big planet
ngmi
>>
>>101573565
>>101573612
it gives the wrong answer when both are zero
the real formula is
(x | y) & -(x & y)
>>
>zoomers need more than the NAND gate
if you cant implement OR using only NAND you dont belong here
>>
>>101566362
Learn about boolean algebra and Karnaugh Maps for simplifying circuits. It's actually pretty easy once you wrap your head around that and you start seeing patterns.
>>
>>101573565
You can't make negation with ors and ands.
>>
>>101572659
>counterfeit Xilinx FPGA
What the fuck is that? Actual Xilinx chips which didn't make QA, were stolen from trucks, or maybe even the trash?
>>
File: T64-to.webm (2.71 MB, 1382x846)
2.71 MB
2.71 MB WEBM
>>101566362
Greetings young magician!

Solving this task will take your life.
You will find the binary system and its logic not only in computer science. If you are allowed to recognize this, you will follow this passionate curiosity all by yourself.

By the way, if you are a woman, sorry but this is only intended to be understood by men. So no grlis.
>>
File: 1693563660552232.jpg (67 KB, 1170x647)
67 KB
67 KB JPG
>>101566362
Go look up Stephen Wolfram and A New Kind Of Science if you want to get more of a gut feeling for what's really going on...
>>
File: 1712110734921138.png (211 KB, 709x701)
211 KB
211 KB PNG
>>101567747
Next is implementing the common and simple digit reading perceptron, where you hammer out a pixel drawing of a digit with blocks and 3 days later the minecraft contraption lights up the corresponding neuron on the output side.
>>
>>101573565
Circuits can be built with only nand gates

https://nandgame.com/
>>
>>101571372
>how the fuck do I implement it?
Unironically, draw out your datapath. Once it's on paper, you will then know how to implement it, especially if you know the concept.
>>
>>101566362
What does a computer programmer need to know logic gates for?
>>
>>101566362
I suggest the book Boolean Algebra by Halmos & Givant. It has lots of exercises.
>>
File: 1721986527483.jpg (101 KB, 1280x720)
101 KB
101 KB JPG
Learn how to use Karnaugh Maps
>>
>>101578142
K-maps are surprising useful, especially during a fuck-up situation where you need to do a metal only ECO.
Dont listen to people saying it's not important, you need it very much to save lives after everything is on fire.
>>
>>101575992
https://youtu.be/DQ0lCm0J3PM
It's much faster than 3 days.
>>
File: turing_complete_game.jpg (209 KB, 1280x720)
209 KB
209 KB JPG
>>101566362
Buy this game my dude, it's great for learning logic gates and their combinations
>>
>>101566515
I learned from one of those zanny "edutainment" games in the 90s or early 2000s. I think you were supposed to build a blimp? They had this thing where you could wire up a bunch of electronic widgets and one class of them were all the basic logic gates.
>>
File: capsule_616x353 (2).jpg (93 KB, 616x353)
93 KB
93 KB JPG
>>101579519
Virtual Circuit Board is better
>>
>>101579806
It's also not a game
>>
File: maxresdefault.jpg (129 KB, 1280x720)
129 KB
129 KB JPG
>>101579658
The Incredible Machine?
>>
>>101579806
PREACH
>>
you literally only need to know not, and, or, xor

others are derived from these
>>
>>101578142
The orange one is wrong, right?
>>
This is useless knowledge nobody designs In logic Gate anymore
It's like programme In assembler



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.