M
Mark (UK)
Guest
Hi all!
This may be slightly OT for this group, but as it's to do with
programmable logic devices, I thought I'd ask - you all seem like a
clever bunch!
I'm working on a software algorithm to reduce the number of product
terms in a PALs equations. I've almost got it, but I've been staring at
one set of equations for ages, and i'm not sure if they're the same.
Basically, the original Equation from pin 12 of this device (a 10L8) is:
!o12 = !i2 & !i3 & !i4 & !i5 & i6 & !i11
# !i1 & !i2 & !i3 & !i4 & !i5 & i6 & i11
If we disregard the pins that are common across the logic terms, because
I know about those, and I just keep the two pins inputs that are
worrying me, we're left with
!o12 = !i11
# !i1 & i11
Now, my algorithm seems to get every other pin right in the device, but
for this pin, it gives me (again, excluding the other pins)
!o12 = !i11
# !i1
and misses out the last "& i11". Is this correct? I've drawn logic
tables by the dozen, and as far as I can see I'm 90% sure it is.
Both equations seem to satisfy the truth table:
P1 P11 !o12
L L L
L H L
H L L
H H H
(looks like a simple AND device!)
but I would like someone else to just look at it and tell me either to
stop worrying, or my algorithm is up the spout.
All help appreciated.
Yours, Mark.
This may be slightly OT for this group, but as it's to do with
programmable logic devices, I thought I'd ask - you all seem like a
clever bunch!
I'm working on a software algorithm to reduce the number of product
terms in a PALs equations. I've almost got it, but I've been staring at
one set of equations for ages, and i'm not sure if they're the same.
Basically, the original Equation from pin 12 of this device (a 10L8) is:
!o12 = !i2 & !i3 & !i4 & !i5 & i6 & !i11
# !i1 & !i2 & !i3 & !i4 & !i5 & i6 & i11
If we disregard the pins that are common across the logic terms, because
I know about those, and I just keep the two pins inputs that are
worrying me, we're left with
!o12 = !i11
# !i1 & i11
Now, my algorithm seems to get every other pin right in the device, but
for this pin, it gives me (again, excluding the other pins)
!o12 = !i11
# !i1
and misses out the last "& i11". Is this correct? I've drawn logic
tables by the dozen, and as far as I can see I'm 90% sure it is.
Both equations seem to satisfy the truth table:
P1 P11 !o12
L L L
L H L
H L L
H H H
(looks like a simple AND device!)
but I would like someone else to just look at it and tell me either to
stop worrying, or my algorithm is up the spout.
All help appreciated.
Yours, Mark.