User:Munin295/Instant circuit

Transmission
Transmitting signals instantly requires instant diodes and repeaters.

Instant diode
An instant diode transmits signals with no delay, but only in one direction.


 * Transparent Diode


 * 1×2×3 (6 block volume)
 * 1-wide, instant, silent
 * circuit delay: none


 * Some transparent blocks can support redstone dust: glowstone, upside-down slabs, upside-down stairs and hoppers. These blocks have the property that redstone dust on them can propagate signals diagonally upwards, but not diagonally downwards (transparent blocks which cannot support redstone dust cannot be used for this purpose). Thus, simply jumping the signal up one block to one of these transparent blocks creates a diode circuit.


 * Upside-down slabs are the transparent block most commonly used for this purpose, but glowstone is used where light would be useful (to suppress mob spawning, etc.), upside-down stairs can be used where a full-side solid surface is required without light (for example, alongside a water channel transporting items over ice), and hoppers may be used in this way where they are already being used for item transport.


 * To get the output back to the same level as the input, run the line over an opaque block before dropping it.

Instant repeater
An instant repeater is a circuit which repeats a redstone signal change with no delay. A sequence of instant repeaters and redstone dust lines is known as instawire (or "instant wire").


 * Insta-Drop Instant Repeater


 * 1&times;3&times;2 (6 block volume)
 * 1-wide, instant
 * circuit delay: none


 * This circuit is small and relatively resource-efficient, but it depends on some unintuitive piston behavior which might be changed in future releases.


 * Behavior (Rising-Edge): While the input is off, the block of redstone keeps the lower sticky piston activated by connectivity. When the input turns on, the upper sticky piston begins to extend the block of redstone. The instant the block of redstone starts moving, the lower sticky piston deactivates and begins to retract block A, the reason the upper piston is extending -- this turns the upper sticky piston's extension into a 0-tick extension/retraction (the "insta-drop": the sticky piston "drops" its grip on the block and leaves it behind when it retracts), leaving the block of redstone above the lower sticky piston and powering the output. All of this happens instantly (in the same redstone tick), effectively allowing a rising edge to pass through the circuit with no delay. Now that the block of redstone is above the lower sticky piston, the lower sticky piston extends again, and two ticks later block A is back in position causing the upper sticky piston to extend again, ready to retract block A when the signal turns off.


 * Behavior (Falling-Edge): When the input turns off, the upper sticky piston begins to retract the block of redstone, immediately cutting off power to the output, effectively allowing the falling edge to pass through the circuit with no delay. While the block of redstone is moving, the lower sticky piston deactivates, but then activates again when the block of redstone stops moving and can activate the lower sticky piston by connectivity again.


 * Earliest Known Publication: 14 February 2013.


 * Dust-Cut Instant Repeater


 * 1&times;5&times;4 (20 block volume)
 * 1-wide, instant
 * circuit delay: none


 * This circuit is a little larger than the Insta-Drop Instant Repeater, but it uses mechanics which are well understood and likely to remain intact in the game.


 * Behavior (Rising-Edge): When the input turns on, the lower sticky piston begins to extend, causing the upper sticky piston to retract, allowing the powered redstone dust below block A to connect to the output. All of this happens instantly (in the same redstone tick), effectively allowing a rising edge to pass through the circuit with no delay. The moving block of redstone also instantly depowers the dust below it, but by the time that turns off the repeater's output, the block of redstone has arrived to continue powering the output.


 * Behavior (Falling-Edge): When the input turns off, the lower sticky piston begins retracting the block of redstone, immediately cutting off power to the output, effectively allowing the falling edge to pass through the circuit with no delay. The block of redstone then arrives at its retracted state and tries to power the output dust again, but it also powers the piston above it and block A arrives to cut the output before the repeater can output the signal from the block of redstone.


 * Variation (2-Wide): The two upper levels (including the dust on top of the block the repeater is facing) can be moved one block over and down, and the last block on the lower level and its dust removed, to make a 2-wide version which is shorter in height and length (but larger in volume: 2&times;4&times;3, 24 block volume). In this version, to reduce the amount of redstone used, the block of redstone can be replaced with a regular block if redstone torches are placed under both its extended and retracted position.


 * Earliest Known Publication: 3 January 2013.

Logic
…

Instant inverter

 * Instant Inverter


 * features vary (see schematics)


 * The instant inverter is a basic building block of larger instant circuits.


 * The "ground" version has the largest volume, but is shorter and fits easily with flatter circuits. The "tall" version (not actually tallest) is the smallest in volume and resources, but has an input and output at inconvenient locations (though not necessarily for "in-the-sky" builds). The "long" version is larger but has input and output at a convenient ground level.


 * With the "tall" version, it can be tempting to take the output from the lower block below the slabs, but that output is only instant on the input's rising edge.


 * Behavior (i.e., how it works): An instant inverter has two sticky pistons -- one to move a block to cut off the output, and one to move a block of redstone power source.


 * When the output is off, the block of redstone powers the output. When the input turns on, the block of redstone is immediately moved, cutting off the output's power (instantly inverting the input). At the same time, the redstone repeater gets powered, but before it can power the output, the other block has moved into place to cut off the output.


 * While the input is on, the redstone repeater is trying to power the output, but the output is cut off by the moving block. As soon as the output turns off, the block starts to retract, immediately allowing the power through (instantly inverting the input). The repeater will only continue to power the output for 2 tick before it turns off, but by that time the block of redstone has arrived back in its original position to continue powering the output.


 * Variations: When fitting an instant inverter into a larger build which may require the inputs or outputs to be moved around, there are three components that need to be powered simultaneously: the two sticky pistons and the redstone repeater. Getting the input line to all three can be tricky. The "tall" version solves this problem by placing all three components next to a single input block, while the other versions need to split the input line to reach all components.


 * In addition, the block of redstone and its sticky piston can be moved around, as long as it is powered without delay by the input, and powers the output wire after the repeater and before the dust-cut in its retracted state only (it shouldn't power anything in the circuit when extended). The three circuits shown below illustrate ways of powering the output line from above, below, and from the side.

Edge detector

 * Dust-Cut Rising Edge Detector
 * 1×5×3 (15 block volume)
 * 1-wide, instant
 * circuit delay: 0 ticks
 * output pulse: 1.5 ticks


 * A dust-cut rising edge detector works by moving a block so that it cuts the output dust line after 1.5 ticks.


 * Dust-Cut Falling Edge Detector
 * 1&times;4&times;3 (12 block volume)
 * 1-wide, instant
 * circuit delay: 0 ticks
 * output pulse: 2 ticks


 * When the input turns off, the piston immediately retracts the block, allowing the still-powered repeater to output a signal for 2 ticks. When the input turns on again, the piston cuts the connection before the signal can get through the repeater.


 * Dust-Cut Dual Edge Detector


 * features vary (see schematics)


 * The simple version splits the difference between a rising edge detector and a falling edge detector to produce an output of 1 tick on each edge. The instant version adds an unrepeated rising edge detector to reduce the rising edge circuit delay to 0 ticks.

Memory

 * Instant SR Latch


 * 1×5×5 (25 block volume)
 * 1-wide, instant
 * circuit delay: 0 ticks


 * Earliest Known Publication: 20 January 2013


 * Instant RS NOR Latch


 * 4&times;7&times;3 (84 block volume)
 * instant
 * circuit delay: 0 ticks