18.08.2013 Views

Anthony Catalano - EEWeb

Anthony Catalano - EEWeb

Anthony Catalano - EEWeb

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Illogical Logic<br />

Part 1 - Boolean Algebra<br />

Paul Clarke<br />

Electronics Design Engineer<br />

When it comes to logic, we know it’s all supposed to<br />

make sense. For newcomers, it can also be very confusing<br />

to wrap your head around these concepts. This is why I<br />

have decided to do a short series on understanding the<br />

illogical world of logic!<br />

For the most part, understanding basic logic gates is easy<br />

enough. They explain what they are clearly; an AND gate<br />

just says the output is: logic ‘1,’ then input ‘x’ AND ‘y’ are<br />

logic ‘1.’ If you’re not 100% on this and other logic gates,<br />

then a quick read on Wikipedia will help set you straight.<br />

What becomes confusing is that we use lots of logic gates<br />

together, like in an FPGA. So, how do you work out what<br />

you need and why do some people seem to use so few<br />

gates for such complex tasks?<br />

Boolean algebra is a way of explaining logic in a written<br />

form without having to draw out all the logic gates. In<br />

place of an AND gate, you simply write A.B (note the full<br />

stop), and for the OR function you use the plus symbol (for<br />

example: A+B). This means you can turn complex logic<br />

into one written line of Boolean (Figure 1).<br />

What’s shown in Figure 1 quickly becomes…<br />

However, Boolean allows you to do things you cannot see<br />

or work out from a logic circuit. Boolean allows you to<br />

apply simple rules that will enable you to break down the<br />

logic to simply the elements that matter.<br />

<strong>EEWeb</strong> | Electrical Engineering Community Visit www.eeweb.com 17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!