Chips Challenge 2 Wiki
Advertisement

                                                                      Logic circuits



     

Wire

Using the wire tool circuit wires can be laid on normal floor and through steel walls.


Wires can control many of the map elements, like the toggle doors, and the traps. The purple button is used as a circuit input, although on off switches can be used as well. Here is a video of Chip's Challenge 2 lesson 6 showing how various objects can be wired up:

Chip's_Challenge_2_-_Lesson_6

Chip's Challenge 2 - Lesson 6

Each wire is called a node, no matter how long the wire is, or how many times it branches. If it is continuous, it is one node. In the example video above at 20 sec, there is one wire node between the on off switch and the purple toggle door and bear trap. Each node is either on or off at any given time. When it is on, it looks purple, and we call it a logical TRUE. When it is off, is looks dark blue and we call it a logical FALSE. This leads us into our discussion on logic gates.

Logic gates

Each of these gates has either one or two inputs, and one output. To use an input or output, attach a wire to it. The gate will read the states of the inputs and use them to determine the state of the output. Each time this is done is called a clock cycle. All logic gates except the counter can be rotated.

Inverter

inverter

And

and gate

Or

or gate

Nand

nand gate

Xor

xor gate

Latch

latch gate

Counter

counter gate

Advertisement