Representing Logical Values as Signals

A digital circuit interprets ranges of physical signal values as logic levels so gates can compose reliably.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Name the abstraction
  2. Check compatibility at a boundary
  3. Separate the logical label from the electrical level
  4. Draw the intended value at the receiving input

Name the abstraction

For a common positive logic convention, a low valid level represents zero and a high valid level represents one. The accepted voltage ranges depend on the hardware. An abstract truth table can use bits without describing those voltages.

Check compatibility at a boundary

A circuit output high has to satisfy the next device's input requirements. Two devices may both use Boolean logic and have different electrical limits. The interface contract idea applies to hardware boundaries too.[1]

Separate the logical label from the electrical level

In an active-low control signal, a valid low voltage means the control is asserted. A valid high level means it is deasserted. The same voltages on an active-high control have the opposite meanings. Check the logic family's input thresholds and active convention before tracing state. See gate truth tables.

Active-high: low→inactive, high→asserted
Active-low:  low→asserted, high→inactive
A voltage between guaranteed levels has no promised digital interpretation

Draw the intended value at the receiving input

Thresholds for an output driver and its receiver matter together. A schematic bubble or suffix can show inversion but does not replace checking the receiver's specification. Test reset and idle levels as well as an ordinary assertion.

References

  1. Noam Nisan and Shimon Schocken, From Nand to Tetris: Course Projects ↩