PDA

View Full Version : is this the right truth table for a negative-logic OR? confused!


mr_coffee
Oct16-05, 09:53 AM
Hello everyone, this is the first time programming a digital board without hardwiring. I'm confused on what the truth table of a "negative-logic OR" would look like:

The diagram looks like
Two inputs and 1 output, its an OR gate but both the inputs are sent through an inverter and the output is also inverted so i got the following boolean expression:
_____
'A + 'B = AB
so using Demorgans theroem i get AB,
so if this is the case, the truth table would be
A B Output
0 0 0
0 1 0
1 0 0
1 1 1

is that right?

Grogs
Oct16-05, 10:08 AM
A B Inv A' B' Or O Inv O'
0 0 1 1 1 0
0 1 1 0 1 0
1 0 0 1 1 0
1 1 0 0 0 1

Assuming that I'm following the process correctly (Invert the inputs -> OR -> Invert the output) I agree with you.

mr_coffee
Oct16-05, 11:20 AM
Grogs, thanks for the responce, but what i don't get is, the book says...Since the output of the OR gate is driving the decimal LED signal on the left digit of the two seven-segment display should be off. Which makes sense, since 0 0 is output 0. But then it says Sinc ethe buttons are active low, and the BNOR2 gate also has active low inputs and output, hitting either button should turn on the LED. This makes no sense becuase 1 0 should be 0, 0 1 should be 0, meaning the light shouldn't turn on if just 1 Pushbutton is pressed.

Claude Bile
Oct16-05, 09:47 PM
An OR gate with active low inputs still functions as an OR gate (i.e. it has the same truth table).

Claude.

mr_coffee
Oct17-05, 02:39 PM
Thank you!:biggrin: