FLIPFLOP

Purpose:

Combines two binary series into a "flipflop" output, where each output point is a function of two input points and the last output point.

Syntax:

FLIPFLOP(onseries, offseries)

onseries

-

A binary series that flips the output to "on."

offseries

-

A binary series that flips the output to "off."

Returns:

A series.

Example:

flipflop({1, 1, 1, 0}, {0, 0, 1, 0})

 

returns a series {1, 1, 0, 0}.

Remarks:

When an "off" and "on" signal occur simultaneously, the output state will switch.

 

This function implements a "dual pad flipflop."

See Also:

&& || ! AND OR NOT XOR (Logical Operators)

>> << & ~ |+ |^ (Bit Operators)

AND

NOT

OR

XOR