Digital Logic Formulas
Digital logic formulas quantify logic thresholds, drive strength, and timing margins between gates. These calculators help you verify interfaces and budget propagation delays. They are essential for reliable high-speed and mixed-voltage design.
Digital Logic Formula Calculators
- CMOS Dynamic PowerLoad Capacitance 1 pF, Supply Voltage 0.33 V, Switching Frequency 100 kHz → Power = 0.01089 µW
- Rise Time to BandwidthRise Time 100 ps → Bandwidth = 3.5 GHz
- Setup Time MarginClock Period 0.47 ns, Propagation Delay 0.22 ns, Setup Time 100 ps → Timing Margin = 150 ps
- Static Power DissipationSupply Voltage 0.33 V, Leakage Current 100 nA → Static Power = 0.033 µW
- Clock Skew Timing MarginClock Period 0.47 ns, Clock Skew 0.22 ns, Setup Time 100 ps → Timing Margin = 150 ps
- Logic Noise MarginOutput High (min) 0.726 V, Input High (min) 1.55 V → Noise Margin = -0.824 V
- Digital FanoutDriver Source Current 100 µA, Sink Current per Gate 0.22 mA → Maximum Fanout = 0.4545
- Pull-Up Resistor for LogicSupply Voltage 3.3 V, Max Low-Side Voltage 1.55 V, Sink Current 1 mA → Pull-Up Resistor = 1.75 kΩ
- Resistive Level Shifter RatioInput (Higher) Voltage 0.33 V, Output (Lower) Voltage 0.726 V → R1/R2 Ratio = -0.5455
- Number of States (n bits)Number of Bits 0.055 → Number of States = 1.039
- Counter Frequency DivisionInput Frequency 100 kHz, Counter Stages 0.025 → Output Frequency = 98.28 kHz
Worked result for every Digital Logic formula
| Formula | Worked result |
|---|---|
| CMOS Dynamic Power | Load Capacitance 1 pF, Supply Voltage 0.33 V, Switching Frequency 100 kHz → Power = 0.01089 µW |
| Rise Time to Bandwidth | Rise Time 100 ps → Bandwidth = 3.5 GHz |
| Setup Time Margin | Clock Period 0.47 ns, Propagation Delay 0.22 ns, Setup Time 100 ps → Timing Margin = 150 ps |
| Static Power Dissipation | Supply Voltage 0.33 V, Leakage Current 100 nA → Static Power = 0.033 µW |
| Clock Skew Timing Margin | Clock Period 0.47 ns, Clock Skew 0.22 ns, Setup Time 100 ps → Timing Margin = 150 ps |
| Logic Noise Margin | Output High (min) 0.726 V, Input High (min) 1.55 V → Noise Margin = -0.824 V |
| Digital Fanout | Driver Source Current 100 µA, Sink Current per Gate 0.22 mA → Maximum Fanout = 0.4545 |
| Pull-Up Resistor for Logic | Supply Voltage 3.3 V, Max Low-Side Voltage 1.55 V, Sink Current 1 mA → Pull-Up Resistor = 1.75 kΩ |
| Resistive Level Shifter Ratio | Input (Higher) Voltage 0.33 V, Output (Lower) Voltage 0.726 V → R1/R2 Ratio = -0.5455 |
| Number of States (n bits) | Number of Bits 0.055 → Number of States = 1.039 |
| Counter Frequency Division | Input Frequency 100 kHz, Counter Stages 0.025 → Output Frequency = 98.28 kHz |
Variables used across Digital Logic formulas
| Symbol | Meaning |
|---|---|
| P | Dynamic power dissipation (W) |
| C | Total switched capacitance (F) |
| V | Supply voltage (V) |
| f | Switching frequency (Hz) |
| BW | Approximate bandwidth containing significant spectral content (Hz) |
| tr | Signal rise time, 10% to 90% (s) |
| Tmargin | Available timing slack (s) |
| Tclk | Clock period (s) |
| Tpd | Total propagation delay through logic and routing (s) |
| Tsetup | Flip-flop setup time requirement (s) |
| Vdd | Supply voltage (V) |
| Ileakage | Total leakage current (A) |
| Tskew | Clock skew between source and destination (s) |
| NM | Noise margin voltage (V) |
| V_OH | Minimum output high voltage (V) |
| V_IH | Minimum input high voltage threshold (V) |
| N | Maximum number of gates that can be driven |
| I_source | Maximum current the driver can source/sink (A) |
| I_sink | Input current required by each receiving gate (A) |
| R | Pull-up resistor value (Ω) |
| V_cc | Supply voltage (V) |
| V_OL | Maximum acceptable low output voltage (V) |
| R₁/R₂ | Ratio of upper to lower resistor |
| V_in | Input logic high voltage (V) |
| V_out | Desired output logic high voltage (V) |
| States | Number of distinct values (codes) |
| n | Number of bits |
| fout | Divided output frequency (Hz) |
| fin | Input clock frequency (Hz) |