XPAL(10.1) XPAL(10.1) NAME xpal - data preparation program for PAL's and PLA's SYNOPSIS cda/xpal [-option] [type[filename]] DESCRIPTION Xpal reads data from the standard input or filename in the form of minterm(10.6) and writes on the standard output in a form suitable for any of the pal/prom burners. The options are: -m manufacturer Specifies a manufacturer that will be output as a com- ment -t type Specifies a PAL type if not given by a .x line -l library Tells xpal where to look for library definitions. Defaults to /usr/ucds/lib/library.paddle. -v Produce slightly verbose output (not harmful) -d Produce debugging output -i echoes the input -z produces a zero checksum for SPRINT programmers -p demands parsing; used in conjunction with -t, this can be used to debug new pal definitions. The output is JEDEC suitable for any number of JEDEC compat- ible programmers. Xpal's principal advantage over pal is that the tables are now read in. The type flag on the com- mand line or as given by the .x line in the lde file is used to address the correct tables. The numeric symbol of a term that corresponds to the output enable of a pin is 100 + pin_number by convention. Just to be strange, the convention for the 22V10 is: 200 + pin_number for polarity, 300 + pin_number for architecture fuses and pins 25 and 26 are asynchronous reset and syn- chronous preset respectively. Each programmable device has its own mapping as defined by the pal definition. The pals with X in their name use an additional convention. Page 1 Plan 9 (printed 12/21/24) XPAL(10.1) XPAL(10.1) Since quine can only handle and-or logic, and the X pals have two different sets of and-or logic driving the two inputs of an xor gate, those two terms are number 20 + out- put pin number and 70 + ditto. SEE ALSO minterm(10.6), paddle(10.6) FILES /sys/lib/ucds/library.paddle BUGS The pin naming convention is peculiar at best. Page 2 Plan 9 (printed 12/21/24)