Nets

Keywords: wire, supply0, supply1
default value: z
default size: 1 bit

Nets represent the continuous updating of outputs with respect to their changing inputs. For example in the figure below, c is connected to a by a not gate. if c is declared and initialised as shown, it will continuously be driven by the changing value of a, its new value will not have to be explicitly assigned to it.

If the drivers of a wire have the same value, the wire assumes this value. If the drivers have different values it chooses the strongest, if the strengths are the same the wire assumes the value of unknown, x.

The most frequently used net is the wire, two others which may be useful are supply0, and supply1, these model power supplies in a circuit.


next contents