Software Overview  |  Sitemap  |  Downloads  |  Developers  |  Forums
Small_clear_logo_llc

Combinational Logic Devices

Combinational Devices are generally simple Devices, performing a simple function using only their inputs. Functions include: "anding" inputs, "oring" inputs, and "inverting" an input.

If you are trying to create a complex combinational function (perhaps an Anding of Ors), the Programmable Device will be of interest. The Programmable Device lets you create arbitrarily complex combinational logic functions in a single Device.

The supported combinational Devices are listed below.

And Device
Buffer Device
Inverter Device
Nand Device
Nor Device
Not Device
Or Device
Programmable Device
Xnor Device
Xor Device

And Device

The And Device performs a logical And function. If all its inputs are on, then its output will be on; otherwise its output will be off. If any inputs are neither on, nor off, the And will never be on, but may possibly be off, if any input is off; otherwise the And will not change its output.

The And Device has a single output called "out", and a user defined set of inputs with user defined names.

And Devices are created by running the And Script with the following parameter:

  • inputs : a set of input names for the And Device

Running the And Script with the parameters listed below will create an And Device with two inputs named "1" and "2".

id: "my_and_device"
inputs: "1,2"

Buffer Device

The Buffer function repeats on its output whatever it sees on its input. If a buffer input is on, its output will be on. Buffers provide a way of isolating one set of wires from another. Input values which are neither on nor off will be ignored.

The Buffer Device has one or more inputs, matched with one or more outputs, with each input/output pair providing a buffer function.

Buffer Devices are created by running the Buffer Script with the following parameters:

  • inputs : a set of names for the Buffer's input terminals
  • outputs : a set of names for the Buffer's output terminals

Running the Buffer Script with the parameters listed below creates a Buffer Device with two buffering functions, one with input "1" and output "1S", and the other with input "2" and output "2S".

id: "my_buffer"
inputs: "1,2"
outputs: "1S, 2S"

Inverter Device

The Inverter function inverts whatever is on its input and places the inverted value on its output. An on value will become an off value, and an off value will become an on value. Input values which are neither on nor off will be ignored.

The Inverter Device is similar to the Buffer Device as it can have one or more inputs and matches them up with one or more outputs. Each input/output pair will perform the inverting function.

Inverter Devices are created by running the Inverter Script with the following parameters:

  • inputs : a set of names for the Inverter's input terminals
  • outputs : a set of names for the Inverter's output terminals

Running the Inverter Script with the parameters listed below creates an Inverter Device with 3 inverting functions, one with input "1" and output "1S", another with input "2" and output "2S", and the last with input "3" and output "3S".

id: "my_inverter"
inputs: "1,2,3"
outputs: "1S, 2S, 3S"

Nand Device

The Nand Device performs a logical Nand function. If all its inputs are on, then its output will be off; otherwise its output will be on. If any inputs are neither on, nor off, the And will never be off, but may possibly be on, if any input is off; otherwise the Nand will not change its output. A Nand function is equivalent to an And function followed by an inverting function.

The Nand Device has a single output called "out", and a user defined set of inputs with user defined names.

Nand Devices are created by running the Nand Script with the following parameter:

  • inputs : a set of input names for the Nand Device

Running the Nand Script with the parameters listed below will create an Nand Device with 3 inputs named "in1", "in2", and "in3".

id: "my_nand_device"
inputs: "in1,in2,in3"

Nor Device

The Nor Device performs a logical Nor function. If any of its inputs are on, then its output will be off; if all its inputs are off its output will be on. If an input is on and any other inputs are neither on, nor off, the Nor will still be off; if some of its inputs are neither off nor on, and none are on, the Nor will not change its output. A Nor function is equivalent to an Or function followed by an inverting function.

The Nor Device has a single output called "out", and a user defined set of inputs with user defined names.

Nor Devices are created by running the Nor Script with the following parameter:

  • inputs : a set of input names for the Nor Device

Running the Nor Script with the parameters listed below will create an Nor Device with two inputs named "left" and "right".

id: "my_nor_device"
inputs: "left, right"

Not Device

The Not Device inverts whatever is on its input and places the inverted value on its output. An on input value will become an off output value, and an off input value will become an on output value. Input values which are neither on nor off will be ignored. The Not Device is equivalent to an Inverter Device with only one inverting function.

Not Devices are created by running the Not Script with the following parameter:

  • input : the name for the Not Device's input terminal

Running the Not Script with the parameters listed below creates a Not Device with an input called "in".

id: "my_not"
input: "in"

Or Device

The Or Device performs a logical Or function. If any of its inputs are on, then its output will be on; if all its inputs are off its output will be off. If an input is on and any other inputs are neither on, nor off, the Or will still be on; if some of its inputs are neither off nor on, and none are on, the Or will not change its output.

The Or Device has a single output called "out", and a user defined set of inputs with user defined names.

Or Devices are created by running the Or Script with the following parameter:

  • inputs : a set of input names for the Or Device

Running the Or Script with the parameters listed below will create an Or Device with 4 inputs named "top", "bottom", "left", "right".

id: "my_or_device"
inputs: "top, bottom, left, right"

Xnor Device

The Xnor Device performs a logical Xnor function. If an odd number of its inputs are on, then its output will be off; if an even number its inputs are on, then its output will be on. If any input is neither on nor off, the Xnor will not change its output. An Xnor function is equivalent to an Xor function followed by an inverting function.

The Xnor Device has a single output called "out", and a user defined set of inputs with user defined names.

Xnor Devices are created by running the Xnor Script with the following parameter:

  • inputs : a set of input names for the Xnor Device

Running the Xnor Script with the parameters listed below will create an Xnor Device with two inputs named "1" and "2".

id: "my_xnor_device"
inputs: "1,2"

Xor Device

The Xor Device performs a logical Xor function. If an odd number of its inputs are on, then its output will be on; if an even number its inputs are on, then its output will be off. If any input is neither on nor off, the Xor will not change its output.

The Xor Device has a single output called "out", and a user defined set of inputs with user defined names.

Xor Devices are created by running the Xor Script with the following parameter:

  • inputs : a set of input names for the Xor Device

Running the Xor Script with the parameters listed below will create an Xor Device with three inputs named "3", "4", "5".

id: "my_xor_device"
inputs: "3, 4, 5"

Catalina Computing, LLC.

Copyright © Catalina Computing, LLC. (2013-2017)




Page last updated: Wed Jan 7 16:07:02 2015 (UTC)