Programmable DeviceThe Programmable Device is a general purpose logic Device. It can function as any combinational logic Device or any combination of combinational logic Devices. It has this capability because it is programmable. The Programmable Device has a single output terminal, "out", and takes either a "logic_function" or "file_name" input parameter which determines its function. Here are some examples of "logic_function" parameter values:
The names within a logic_function (here the names are "a", "b", and "c") are treated as inputs to the function and will become input terminals when you create the Programmable Device. Sometimes, your logic functions will be complex enough that you won't want to squeeze them into a "logic_function" parameter. Instead, you can use a "file_name" parameter, and the function will be read from a Script file. When using a Script file, you can spread your functions across lines and add optional comments. Here is a file which Ands 3 Ors:
Programmable logic Devices are created by running the Programmable Script. The Script takes the following parameters (you need either a file_name or logic_function parameter, but not both):
"logic_function" understands the following operations (highest precedence operation to lowest):
Running the Programmable Script with the parameters listed below will create a Programmable Device which turns its "alarm" output
Running the Programmable Script with the parameters listed below will create a Programmable Device which turns its "alarm" output
Note that the |