[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [N8VEM-S100:3363] Re: GAL's and PALASM



On Apr 28, 2014, at 10:43 PM, John Monahan wrote:

> Not sure I understand what you have there Neil,
> Are you saying that if an equation has 16 terms you must have the outputs on either pins 18 or 19.
> But if the equation has only 8 terms any pin from 14 to 23 is OK.
> Do you mean “term” to be an input pin.
> John

A term is an individual AND term; the outputs of a PAL/GAL are the OR of a bunch of AND terms (e.g. (A & B) | (A & ~C)).  The AND terms can be composed of as many of the input pins or their complements as you wish, but you can only OR a limited number of them together for the output.  You can reuse the AND terms, though.

You might want to familiarize yourself with "sum of products" notation and how to decompose arbitrary boolean expressions into sums of products; that is what PALASM does internally (it's simple enough Boolean algebra that the minicomputers of the late '70s could do it symbolically without much trouble).  It will better inform you of what your equations are actually turning into, which should also let you know what limitations you'll run into per pin.


- Dave