"First I'm gonna show you some basic gates"... proceeds to show the AND gate... "Now, we're going to make an ALU" aaaand that went 0-100 real quick
@GregPotts967 жыл бұрын
Hi Will
@laura_225 ай бұрын
It was not so bad, if you follow every step carefull it all makes sense, kind of, a little bit
@prmos099 жыл бұрын
Excellent tutorial! I have seen a lot of videos explaining how to make a 1-bit adder. This is the first video that explains step by step how to make an entire 8-bit ALU, besides it is also a great tutorial on how to start using Logisim. Congratulations, great work!
@willft5203 күн бұрын
Great tutorial!! So well explained! I should be doing homework right now, but this is definitely more fun!
@yawsokpor3061 Жыл бұрын
Thanks very much for this tutorial a Student at LYIT at Donegal in Ireland in the Field of Applied Computing so this lesson is very helpful to me.
@rock3tcatU2337 жыл бұрын
You're the best logic design teacher I've come across!
@skilz80985 жыл бұрын
Check out Ben Eater's videos here on youtube; he does more than just that he builds an 8bit cpu on a bread board and explains it step by step!
@aleiaknight10 жыл бұрын
Thanks so much! I am a robotics student at UAT and we don't go over it enough in class so this really helps!! :D
@brandonmessenger59899 жыл бұрын
Amazing video. This really helped me out with a project I had for class. You did a great job walking me through the process. Thanks!
@RyanMeuth11 жыл бұрын
They're for using the ALU to do comparisons - we setup the alu to do a subtraction, then if a and b inputs are equal, the zero flag goes high, and we can use it to trigger a branch. The negative flag is for a "less than" style comparison, in the same way.
@shadabshaikh49956 жыл бұрын
Just can't thank u more sir.... U just made my life easy
@PeskyTheWabbit8 жыл бұрын
literally saved me the night before my 3bit ALU project was due
@PeskyTheWabbit3 жыл бұрын
@Astropathix XIII passed the class and have graduated now.
@agfd56593 жыл бұрын
@@PeskyTheWabbit congrats!
@kwakukwabia38055 жыл бұрын
Pls what is the significance of the less and set in the ALU?
@MohammadMahadiHassain7 жыл бұрын
Amazing Video, Very Easy Explanation Thank You From Bangladesh
@drbsr194810 жыл бұрын
I got it built and working just fine. Thanks
@danyang91306 жыл бұрын
It's really useful and so necessary for me !Thanks!
@user-sq5yo8nl7m4 жыл бұрын
I’m working on a project where I’m creating a 12 bit alu based on 2 6 bit alus would you have any time to help me ?
@candilikoglu39993 жыл бұрын
How does changing the sub and Cin to 1 make the operation subtraction?
@manologrhacker9 жыл бұрын
Nice tutorial. Well explained and easy to follow, I enjoyed.
@raulbarriga74165 ай бұрын
How would I add a comparator to this ALU? The comparator only has 3 outputs for greater than, equal to, & less than. How would I add the comparator adjacent to the bitwise gates & adder/subtractor?
@leifcnp10 жыл бұрын
Cool, thanks for the intro to logisim!
@phddgrd11 жыл бұрын
awesome, I haven't tried this software ! it seems so practical... thanks... I'm really into digital design right now !
@kwakukwabia38055 жыл бұрын
Please what's the significance of the Set and less buttons??
@ldiazmdiaz3 жыл бұрын
This brought me back memories from Devry in the 1980's.
@sravanishatdarsanam98478 жыл бұрын
I have a question. We only connected the Set operation of the most significant bit with less than operation in the least significant bit. Y are we not wiring the rest of the SET operations in the 8-Bit ALU?
@DeneuveBrutus11 жыл бұрын
...It was that easy.... *bangs head on computer*
@cory999984 жыл бұрын
Learn binary / binary adding and learn about logic gates before following along here. Best / only way to understand this is from the ground up which this video doesn't do a great job of
@agfd56593 жыл бұрын
@@cory99998 Understanding how it works is one thing. But actually designing and laying out the logic gates in a sensible manner is something else.
@qqqqq942210 жыл бұрын
which books for logic design u learn from?
@muneeraalmarri45145 жыл бұрын
I have project in Simple CPU in LogiSim, so can you please help me
@myyandar2 жыл бұрын
Hi Ryan. This video helped me to complete a class exercise. The pace, steps and language makes it very easy to follow.. Please, do you have other videos that teach how to add multiplication, division and overflow detection? I want to extend what I learnt from this video as I understand it very well. All the videos out there are either too fast, the language not clear (mostly Indian English, even though very good English but with heavy accent). Can you help, please?
@carolina13158 жыл бұрын
Is there project files that I can download?? I want to test your circuit with files. Please, make more tutorials about computer circuits.
@nikolaiholingster546010 жыл бұрын
I can't wait for the next part!
@joeyorofino1012 жыл бұрын
L
@SergDaLife7 жыл бұрын
hey Ryan, could you attach "circ" file of that ALU to me please?
@jbcentral15452 жыл бұрын
I have just followed this video step by step and the bloody thing doesn't work! I must have done something wrong :(
@sabrimevis9 жыл бұрын
Hello. Whats the version of your Logisim? I cant resize my objects. I tried almost every version but still doesnt work for me :(
@kiillme168 жыл бұрын
why the AND operation doesn't work when you are creating the first alu?
@numero7mojeangering7 жыл бұрын
you can also use pull resistor insted of constant
@luminity44083 жыл бұрын
this video was released on my birthday
@Maltebyte210 жыл бұрын
Great Tutorial! My Logisim stoped working keeps freezing? Do you know any alternative logic gate software?
@tcc123410 жыл бұрын
Logicly, Logic Gate Simulator by Steve Kollmansberger are good alternatives.
@phononify8 жыл бұрын
Great -- very nicely explained. Thanks a lot for sharing. Great would be the check on overflow in status with XOR of bit 7 and 6 carrier bit -- Can that software be attached to other programs helping in a hardware layout, as well ?
@freddygonzalez67118 жыл бұрын
Can you give the files of circuit?? I want to test it on my machine. Thanks for try to teach a very interesting field of computational sciences.
@guangxzhu40192 жыл бұрын
very clear for beginners. thanks.
@ShrekPNG4 жыл бұрын
why to create 8 of 1b alu if you can create one 8b alu? logisim implements 8b adders, substracters and logic gates
@eloleelole10 жыл бұрын
Great teaching !
@lilcata3 жыл бұрын
A very good one thanks!
@dasharos17368 жыл бұрын
Do you know how to write HDL code for it? Please answer.. I'm really stuck
@shaysframe14722 жыл бұрын
What about the last Carry out in the last 1bit-ALU
@BannanaOfDoom10 жыл бұрын
Okay so I got trouble, when I try to wire the first bit of the giant NOR it connects to all the wires it crosses. Also how am I going to make it compare numbers? I really need help on that one.
@marshalcraft10 жыл бұрын
can make a 1 bit comparison by first branching two inputs so now there is copy of inputs, one goes into and and, the second pair gets negated and inputed into an and, result of two ands then go into an or the result will be 1 if both 1 or both 0.
@khalilullahakbari20675 жыл бұрын
Thank you Ryan How a nice explanation :)
@nortronics4 жыл бұрын
Great bit of software - thanks for the video. As the software is no longer being updated, does anyone know of a new alternative?
@PrateekJaiswal54 жыл бұрын
Where is the truth table of this ALU circuit???
@ar.teukie38473 жыл бұрын
But how can I add shr and shl in this circuit????
@zhongzhengwang71417 жыл бұрын
Thank you for this video. Could you give me some tip on how to design a 8-bit Program Counter, just as one shown in the video CSE230: Muddiest Points - Datapath and Control Unit Design ? Thank you very much!
@themanyone4 жыл бұрын
Nice job. It works!
@herousall935310 жыл бұрын
That's really cool, Merci!
@ShadyBajary9 жыл бұрын
Is that shortcut you are used to connect all splitter outputs to All "A" input bits by one click "At time 17:27" ?
@HamguyBacon2 жыл бұрын
he skipped the video.
@alejandrohernandez-jj4sk3 жыл бұрын
amazing video, thank you so much
@Jkauppa2 жыл бұрын
try to make a just-in-time minimal logic element (component) operation switching alu, mini-fpga instead of giant asic, to prevent footprint blow-out
@Jkauppa2 жыл бұрын
chip-munks, pun intended, is the best
@mateoslab3 жыл бұрын
What does the less and set do?
@debarjo11 жыл бұрын
Can you please explain why we need the zero or negative flags in the alu for cpu design??
@omarhmedat20645 жыл бұрын
For comparison
@harshanarayan73635 жыл бұрын
Lol, nobody had replied to him for five years
@skilz80985 жыл бұрын
ALU = Arithmetic and Logical Unit. Arithmetic Operations: Unary(single operand) { (-) Negation, (+) unary addition or integer promotion pending on types}; Binary(two operands) { +, -, *, /, % and compound +=, -=, *=, /=, %=}, Increment{++} and Decrement{--} same as {x += 1 or x -= 1}, Logical Bit manipulation: Unary {!, ~} Negation and Complement, Binary{&, |, ^, !|, !&, !^} , compound binary { &=, |=, ^=, etc.} Bit shifting {} shift left and shift right same as divide by 2 and multiply by two in Binary Arithmetic. Logical Comparison. { , !=, &&, || } Not All ALU's support all of these arithmetic and logical operations as some of these can be done in software if the CPU architecture has a small or simplified instruction set, and not all ALU's support Multiplication and Division. However some very sophisticated machines will support All possible operations on binary digits. It's a trade off for capabilities and performance vs size and cost.
@kevinparsley68065 жыл бұрын
@@harshanarayan7363 the publisher of the video replied to him 5 yrs ago outside of the thread, but right above it..
@davidprock9044 жыл бұрын
@@harshanarayan7363 wow, good call
@danimewblitz71604 жыл бұрын
What about the Control Unit?
@manuelavendano21994 жыл бұрын
Hey man, how can I detect overflow in your example?
@agfd56593 жыл бұрын
The most significant 1-bit ALU's carry out bit can be used to determine overflow.
@DaveDugganITPro9 жыл бұрын
What video or screencast editing software allows for the speed up please? that is a cool effect. great job - thank you
@RyanMeuth9 жыл бұрын
Dave Duggan I use windows movie maker. Thanks!
@DaveDugganITPro9 жыл бұрын
Ryan Meuth thank you - I was not aware that movie maker had the capability to speed up audio and video like that - cool . What did you use to capture the screen please? I assume you first did a screen capture then edited the resulting video. Then you did the speed ups in movie maker ? excellent tutorial thank you
@RyanMeuth9 жыл бұрын
Dave Duggan I used CamStudio for the initial screencap. Thanks!
@DaveDugganITPro9 жыл бұрын
awesome tutorial
@luciano81583 жыл бұрын
Why do you need 3 select bits to capture 6 operations?
@luciano81583 жыл бұрын
how many select bits would I need if I wanted to capture 5 operations?
@jettarinpattanajirarutchag99292 жыл бұрын
@@luciano8158 same 3 select bit too. Becoz 3 select bit can do 1-8 operations. And 2 select bit can do 1-4 operations only.
@luciano81582 жыл бұрын
@@jettarinpattanajirarutchag9929 cheers, friend
@gratzup9 жыл бұрын
Why is your last sum (25:25) wrong?
@stewartzayat75266 жыл бұрын
Dan it's correct
@jettarinpattanajirarutchag99292 жыл бұрын
101 + 101 = 01010 Right?
@edreyquerimit88734 жыл бұрын
Can you please send me the schematic diagram? Thank you!
@Nathouuuutheone4 жыл бұрын
"I can AND three bits at a time" doesn't explain the data bit thing at all. It describes an AND gate with three inputs, which is what you had to begin with. I understand that the data bit variable makes every input represent more than one bit, but like... are they ORed? Or is it a specific decoded three-bit state? Or does it AND all three three-bit inputs as if it were nine independant inputs?
@MAhmad-hd6vu4 жыл бұрын
nice lecture
@dark420511 жыл бұрын
The last lalf part of video called 8-bit ALU?
@RyanMeuth11 жыл бұрын
Yes
@dark420511 жыл бұрын
Ryan Meuth Can you tell me why after saving the 1st part 1-bit alu, i want continue but when i make connection with 1-bit alu the wire do not get green remain blue? i tried the same with input output to one gate (NOT) and still the wires blue
@RyanMeuth11 жыл бұрын
dark4205 1. Make sure the wire is being driven by an input object. 2. If so, it could be a simulation problem. Click Simulate->Simulation Enabled (uncheck it), then Simulate-> Reset Simulation, then Simulate->Simulation Enabled. If that doesn't work, just save your work, close the program, then re-open it.
@dark420511 жыл бұрын
Ryan Meuth Thank you, it is working now, it was simulation problem.
@slimysnail6071 Жыл бұрын
Thank you so muchhh Sir
@siesres_10327 жыл бұрын
I have a question. How do I do A+1 or B+1 ?
@numero7mojeangering7 жыл бұрын
Do a addition, set B to 1, you can change A and you got A+1. or set A to 1, you can change B and you got B+1.
@Toulkun3 жыл бұрын
What is Data Bits?
@PrashantArya-prary210 жыл бұрын
Good job :)
@MahmudRahmanMendax477 жыл бұрын
Hey Bro How To Do Shift Left Logical Op In ALU..?
@skilz80985 жыл бұрын
You would need a shift register built into the ALU and that shift Register would need a clock signal and a few other things such as control lines... same for shift right.
@davidprock9044 жыл бұрын
@@skilz8098 i have the design in my head for a clock-less computer, but on that note all my assembly instructions are duplicated, one set uses clock, the other set does not, arch is also wildly different. now i just got to learn how to do all this with logic gates. my design gets rid of the north and south bridge. and my SSD isnt really an SSD but acts as one as a whole, and my SSD becomes the control unit. the "software" tells the (not exactly) cores how to work together to do tasks, like virtually rearranging hardware segments to act like either network output, audio output, video card, cpu, external data storage, all on the same pair of wires/buss if you really wanted to... one at a time with just the same pair of wires.
@beaugarner5906 Жыл бұрын
can you provide a download link
@alamjim61173 жыл бұрын
Amazingggggggggg
@krishamagar1884 жыл бұрын
Can you make a video of 8 bit cpu
@weebsharpie697510 жыл бұрын
sos grosso sabelo, +10 y a favoritos.
@WillplaysFort3 жыл бұрын
it says incompatible widths what do i do
@CasWald3 жыл бұрын
i needed to change my data bits for the AND gate to 1
@WillplaysFort3 жыл бұрын
@@CasWald oh ok
@osmankultur19438 жыл бұрын
good design ;)
@ziadh.mohammed64088 жыл бұрын
i made this alu before , with only AND,OR,XOR,NOT A,NOT B,,but i made it with only AND & OR & NOT gates even the multiplexer i done it with AND & OR gates
@davidprock9044 жыл бұрын
i need to figure out a few ways to do multiplexing, and addressing
@prudhvipothuraju40628 жыл бұрын
sir, i need 32 bit alu
@slap_my_hand7 жыл бұрын
Prudhvi Naidu Just connect 32 1 bit ALUs together.