3. Options
The PLA description is a file that contains the following options. Most of them are similar to Mayo's module generator description. Here is an example.
TileSet ← "/Ivy/Monier/PLA/SelfTimePLATileSet.dale";
-- Required
Says where to get the tiles for the PLA.
TruthTableFile ← "///MyFavoritePLA.tt";
-- Required if no equations
Get the PLA description from a truth table in this file, instead of looking for boolean equations.
Inputs ← LIST["A", "reset", "in9"]; -- Both Required
Outputs ←
LIST["out1", "busCmd3"];
Names of the input and outputsignals to the PLA.
out1 = (A AND reset AND in9) OR (~reset AND ~in9); -- Required if no truth table
busCmd3 = (reset AND A) OR ~in9;
Optimize ←
TRUE
;
-- Optional
Run the description through a PLA optimizer. Default is FALSE.
Extras ← 4;
-- Optional
How often to place extra ground lines (rows and columns in both planes). Default is a very large number. Equivalent to: ExtraRows ← ExtraColumns ← 4;
ExtraRows ← 12;
-- Optional
Sets the spacing of extra ground rows without affecting the number of extra columns.
ExtraColumns ← 8;
-- Optional
Sets the spacing of extra ground columns without affecting the number of extra rows. Equivalent to: ExtraAndColumns ← ExtraOrColumns ← 8;
ExtraAndColumns ← 12;
-- Optional
Sets the spacing of extra ground columns in the AND plane only.
ExtraOrColumns ← 12;
-- Optional
Sets the spacing of extra ground columns in the OR plane only.
TruthTableDumpFile ← "///Dump.tt";
-- Optional
Write a truth table file representing the PLA exactly as layed out, including optimization. Default is NIL, in which case no write is performed.
PrintRows ← 10;
-- Optional
If the PLA contains more than this many rows then prints the sequence of natural numbers, which in addition of being educative, lets the user know that something is going on. Every number represent one product term (row). Default is a large number.